Skip to content

Cypress tests for Purpose overrides in Consent Settings#6039

Merged
gilluminate merged 4 commits intomainfrom
gill/LJ-668/cypress-tests
Apr 14, 2025
Merged

Cypress tests for Purpose overrides in Consent Settings#6039
gilluminate merged 4 commits intomainfrom
gill/LJ-668/cypress-tests

Conversation

@gilluminate
Copy link
Copy Markdown
Contributor

@gilluminate gilluminate commented Apr 11, 2025

Closes LJ-668

Description Of Changes

Changes primarily focus on expanding test coverage for Purpose overrides in Consent Settings

Code Changes

  • Added new test cases for TCF configuration management including:
    • Creating, selecting, and managing TCF configurations
    • Handling publisher restrictions table display and interactions
    • Validating vendor ID input formats
    • Testing restriction type management (require consent, legitimate interest)
  • Added new test fixtures for TCF configurations and publisher restrictions
  • Improved test organization by consolidating TCF-related tests
  • Refactored publisher settings tests to be more focused and reduce code duplication
  • Fixed validation for vendor ID input format in the UI
  • Removed redundant GPP configuration tests that were moved to TCF-specific sections

Steps to Confirm

Passing Admin UI Cypress tests is all that's needed here

Pre-Merge Checklist

  • Issue requirements met
  • All CI pipelines succeeded
  • CHANGELOG.md update not necessary
  • Followup issues:
    • Followup issues created (include link)
    • No followup issues
  • Database migrations:
    • Ensure that your downrev is up to date with the latest revision on main
    • Ensure that your downgrade() migration is correct and works
      • If a downgrade migration is not possible for this change, please call this out in the PR description!
    • No migrations
  • Documentation:
    • Documentation complete, PR opened in fidesdocs
    • Documentation issue created in fidesdocs
    • If there are any new client scopes created as part of the pull request, remember to update public-facing documentation that references our scope registry
    • No documentation updates required

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 11, 2025

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

Name Status Preview Comments Updated (UTC)
fides-plus-nightly ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 10:17pm
fides-privacy-center ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 10:17pm

@gilluminate gilluminate merged commit 44be260 into main Apr 14, 2025
17 checks passed
@gilluminate gilluminate deleted the gill/LJ-668/cypress-tests branch April 14, 2025 14:50
@cypress
Copy link
Copy Markdown

cypress Bot commented Apr 14, 2025

fides    Run #12813

Run Properties:  status check passed Passed #12813  •  git commit 44be260939: Cypress tests for Purpose overrides in Consent Settings (#6039)
Project fides
Branch Review main
Run status status check passed Passed #12813
Run duration 00m 51s
Commit git commit 44be260939: Cypress tests for Purpose overrides in Consent Settings (#6039)
Committer Jason Gill
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 5
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants