Skip to content

test: remove unnecessary fixture dependency #5723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 8, 2025

Conversation

matthewelwell
Copy link
Contributor

Changes

Removes the unnecessary dependency on the environment fixture in the feature fixture.

There were a few issues that arose from this that needed fixing - some were legitimate bugs that were picked up by this change, but others were just poorly written tests. Note that in resolving some of the resulting issues in the github integration logic, I also resolved a few typing issues that I noticed.

How did you test this code?

Ran the test suite.

@matthewelwell matthewelwell requested a review from a team as a code owner July 8, 2025 11:22
@matthewelwell matthewelwell requested review from gagantrivedi and removed request for a team July 8, 2025 11:22
Copy link

vercel bot commented Jul 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Jul 8, 2025 0:08am
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Visit Preview Jul 8, 2025 0:08am
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Jul 8, 2025 0:08am

@github-actions github-actions bot added api Issue related to the REST API testing labels Jul 8, 2025
Copy link
Contributor

github-actions bot commented Jul 8, 2025

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-e2e:pr-5723 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api-test:pr-5723 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-5723 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api:pr-5723 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-5723 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-5723 Finished ✅ Results

Copy link

codecov bot commented Jul 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.77%. Comparing base (a6a5b06) to head (9698e88).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5723   +/-   ##
=======================================
  Coverage   97.77%   97.77%           
=======================================
  Files        1255     1255           
  Lines       44317    44317           
=======================================
  Hits        43331    43331           
  Misses        986      986           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@matthewelwell matthewelwell requested review from a team and khvn26 and removed request for gagantrivedi and a team July 8, 2025 11:50
Copy link
Member

@khvn26 khvn26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes LGTM, with one extremely minor comment.

@github-actions github-actions bot added testing and removed testing labels Jul 8, 2025
@matthewelwell matthewelwell merged commit 046b1b5 into main Jul 8, 2025
29 checks passed
@matthewelwell matthewelwell deleted the test/remove-unnecessary-fixture-dependency branch July 8, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants