1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/local-dev/stack
jbpratt 31e8f5ff21 test(web): more playwright migrations (#4775)
* test(web): migrate quota to Playwright

Migrate quota.cy.ts (27 tests) to Playwright, consolidating to 7 focused
tests with real API interactions instead of mocks.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* test(web): add missing method and fix exports

Signed-off-by: Brady Pratt <bpratt@redhat.com>

* test(web): migrate account-settings to Playwright

Migrate 31 Cypress tests from account-settings.cy.ts to Playwright,
consolidating them into 20 well-structured tests.

Changes:
- Create user/account-settings.spec.ts with comprehensive coverage
- Add data-testid attributes to BillingInformation, CLIConfiguration,
  and GeneralSettings components
- Extend QuayConfig interface with external_login and registry_state
- Update MIGRATION.md to mark migration complete

Test coverage includes:
- General settings (email validation, profile fields)
- Tag expiration picker (@feature:CHANGE_TAG_EXPIRATION)
- Billing information (@feature:BILLING)
- CLI token generation with all credential formats
- Password change, account type, desktop notifications
- Application tokens lifecycle (create, view, revoke)
- Email change modal (@feature:MAILING)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* test(web): enable missing features in dev config

Signed-off-by: Brady Pratt <bpratt@redhat.com>

* test(web): migrate org-list to Playwright

Migrate organization list Cypress tests to Playwright, consolidating
22 tests into 10 focused test cases.

Tests cover:
- Search and filtering (basic + regex)
- Pagination
- Organization CRUD lifecycle (PROJQUAY-9948, PROJQUAY-9843)
- Avatar display (PROJQUAY-9749)
- Superuser status labels
- Superuser API fallback and deduplication
- Read-only superuser permissions
- Quota display and registry size (PROJQUAY-9641, PROJQUAY-9886, PROJQUAY-9860, PROJQUAY-9874)

Signed-off-by: Brady Pratt <bpratt@redhat.com>

---------

Signed-off-by: Brady Pratt <bpratt@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-07 10:09:55 -06:00
..