mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
Migrate web/cypress/e2e/usage-logs.cy.ts to Playwright, converting 13 Cypress tests to 10 consolidated Playwright tests across two files: - playwright/e2e/usage-logs.spec.ts (6 tests): Organization and repository usage logs including chart toggle, log export, email validation, filtering, and Splunk error handling - playwright/e2e/superuser/usage-logs.spec.ts (4 tests): Superuser usage logs page with columns, chart toggle, filtering, and Splunk error handling Key changes: - Add data-testid attributes to UsageLogsExportModal (export button, confirm button, email input), UsageLogsTable (filter input), and both UsageLogs components (chart toggle button) - Use real API data instead of mocking (except Splunk 501 errors) - Use getByPlaceholder for SearchInput since PatternFly wraps the actual input element - Handle duplicate error messages with .first() selector 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Brady Pratt <bpratt@redhat.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>