Tags: quay/quay
Tags
[redhat-3.17] NO-ISSUE: chore(testing): Adding additional e2e tests (#… …6000) (#6047) * NO-ISSUE: chore(testing): Adding additional e2e tests (#6000) * PROJQUAY-11236: test(web): isolate search state in robot account wizard (3dd450c) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * PROJQUAY-10982: test(web): exclude deleted repos from org mirror validation (1eaaa98) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * adding tests for commit 3023784 PROJQUAY-11333: fix: invalid detection of artifacts and OCI images * 9234dd7 PROJQUAY-11382: fix(org-mirror): reset repository state when deleting org mirror config * 64dfb63 │ PROJQUAY-11175: fix: prevent infinite loop when cancelling org mirror sync * b3d00cb PROJQUAY-11414: fix(mirror): schedule cancelled repos as SYNC_NOW on next cycle Add Playwright E2E tests verifying the cancel sync behavior preserves future scheduled syncs: - Cancel modal text confirms future syncs will continue as normal - sync_start_date is preserved after cancelling (not cleared to null) - Sync start date remains populated in the UI form after cancel Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * 4c35d04 PROJQUAY-11205: fix(auth): accept RFC 9068 at+jwt tokens in is_jwt routing Add Playwright E2E tests verifying OIDC Bearer token authentication: - access_token from Keycloak ROPC grant authenticates Quay API - id_token (typ: JWT) also works as Bearer token - invalid Bearer token is correctly rejected Tests are tagged @auth:OIDC and auto-skip when OIDC is not configured. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * NO-ISSUE: test(tags): add manifest track visualization e2e tests and fix uniqueName crypto bug Add Playwright tests for the manifest track visualization feature (PROJQUAY-9592, PROJQUAY-11442) covering track column visibility, dot buttons, click-to-select, keyboard activation, and cross-page pagination. Fix uniqueName() in test-utils.ts to use Node's crypto module instead of the Web Crypto API global, which is unavailable in Node 18's Playwright runner. Use .first() on pagination buttons to resolve strict-mode violations from duplicate top/bottom controls. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * NO-ISSUE: test(mirror): add e2e tests for mirror sync log null-guard fix e4efc94 Add 5 Playwright e2e tests verifying that mirror sync log descriptions render cleanly when optional metadata fields (tags, stdout, stderr) are missing — no "null", "undefined", or "Not applicable" text in the UI. Tests cover repo_mirror_sync_success, repo_mirror_sync_failed, repo_mirror_sync_tag_success, and repo_mirror_sync_tag_failed log kinds with both present and absent optional fields. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * NO-ISSUE: test(nginx): add e2e tests for 502 error page fix b9981e5 Add 3 Playwright e2e tests verifying nginx returns a proper 502 status code with the "Quay is currently loading" error page when the backend is unreachable, instead of a 404. Tests stop the gunicorn-web process via supervisorctl, verify both the UI page and API endpoints return 502, then confirm recovery after restart. Uses test.describe.serial to avoid interfering with parallel tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Adding e2e test for commit eb67926 * fixing tests * fixing playwright e2e tests * removing mirror api mocks --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> * NO-ISSUE: fix(testing): align cherry-picked e2e tests with redhat-3.17 components (#39) The cherry-pick of #6000 brought tests from master that depend on component changes not yet backported to redhat-3.17. This adjusts the four failing tests to match the current component behavior: - org-mirroring: match current cancel-sync modal text - usage-logs: expect namespace/repo format in superuser Repository column - api-v1-advanced-features: accept size_bytes == 0 (CI has no pushed blobs) - repo-tag-actions: add waitFor/toBeEnabled guards to prevent timeouts Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> * NO-ISSUE: fix(testing): resolve pre-commit lint failures in e2e tests Fix eslint warnings: remove unused variables (serverHostname, execSync, robot), replace non-null assertions with optional chaining, and apply eslint auto-format to usage-logs chained call. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: quay-devel <100235670+quay-devel@users.noreply.github.com> Co-authored-by: Quay Robot <quay-devel@redhat.com>
PROJQUAY-11216: fix(mirror): strip skopeo_timeout_interval without re… …jecting request [redhat-3.14] (#6039) PROJQUAY-11216: fix(mirror): strip skopeo_timeout_interval without rejecting request The previous fix (PR #5683) added additionalProperties:false to the CreateMirrorConfig JSON schema to block unknown fields at validation time. However, jsonschema enforces this rule before the handler runs, so any POST body containing skopeo_timeout_interval receives a 400 instead of succeeding - the data.pop() guard in the handler was therefore never reached. Remove additionalProperties:false so that schema validation passes, allowing the data.pop() to strip the unsupported field before it reaches enable_mirroring_for_repository(). Mirroring now succeeds on 3.14 when clients (running a newer UI) include skopeo_timeout_interval. Add a regression test covering the skopeo_timeout_interval case. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Revert "[redhat-3.16] PROJQUAY-10845: secscan: Skip sending artifact … …images for scanning" (#6018) Revert "[redhat-3.16] PROJQUAY-10845: secscan: Skip sending artifact images f…" This reverts commit 4f692e3.
PreviousNext