Skip to content

Conversation

@zachaysan
Copy link
Contributor

@zachaysan zachaysan commented Oct 28, 2024

Changes

This adds a test for the related PR in the Flagsmith commons repo. This PR will not be merged until the related PR has been merged into commons and a new tag is released for it.

How did you test this code?

Test both conditions and rules to match. For sub rules we rely on matching to a parent rule, which itself must match to the segment rule.

@zachaysan zachaysan requested a review from a team as a code owner October 28, 2024 12:53
@zachaysan zachaysan requested review from khvn26 and removed request for a team October 28, 2024 12:53
@vercel
Copy link

vercel bot commented Oct 28, 2024

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 Dec 3, 2024 3:23pm
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Visit Preview Dec 3, 2024 3:23pm
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Visit Preview Dec 3, 2024 3:23pm

@github-actions
Copy link
Contributor

github-actions bot commented Oct 28, 2024

Docker builds report

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 28, 2024

Uffizzi Preview deployment-58764 was deleted.

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.

Looks like the tests are failing in CI — can't approve the PR yet.

@matthewelwell
Copy link
Contributor

Looks like the tests are failing in CI — can't approve the PR yet.

@khvn26 I think that's because this PR needs reviewing and merging first?

@github-actions github-actions bot added testing and removed testing labels Dec 3, 2024
@codecov
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.38%. Comparing base (fbd1a13) to head (591b516).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4776   +/-   ##
=======================================
  Coverage   97.38%   97.38%           
=======================================
  Files        1189     1189           
  Lines       41379    41409   +30     
=======================================
+ Hits        40297    40327   +30     
  Misses       1082     1082           

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

@zachaysan zachaysan requested a review from khvn26 December 3, 2024 15:42
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.

👍

@matthewelwell matthewelwell merged commit 27f50ca into main Dec 4, 2024
34 checks passed
@matthewelwell matthewelwell deleted the test/test_matching_segments branch December 4, 2024 08:48
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.

4 participants