-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
-
False
-
-
Description
Migrate Quay E2E tests to workspaces/quay/e2e-tests/.
NOTE
This task is based on the existing RHDH core test case and may have missed some details. Please review the original test files in RHDH core before implementation.
Setup Prerequisites
Quay.io Access: Quay namespace with test images
- QUAY_TOKEN: Quay.io API token (for quay-actions tests)
- QUAY_NAMESPACE: Quay namespace (e.g., rhdh-community/rhdh)
Based on RHDH core config (.ibm/pipelines/resources/config_map/app-config-rhdh.yaml):
proxy:
endpoints:
"/quay/api":
target: https://quay.io/
headers:
X-Requested-With: "XMLHttpRequest"
changeOrigin: true
secure: true
Test Repository: Catalog entity with Quay annotation quay.io/repository-slug
Source Files (RHDH Core)
| File | Path |
|---|---|
| Test spec | e2e-tests/playwright/e2e/plugins/quay/quay.spec.ts |
| Test spec | e2e-tests/playwright/e2e/plugins/quay/quay-actions.spec.ts |
Plugin Packages
| Package | Type |
|---|---|
| backstage-community-plugin-quay | Frontend |
| backstage-community-plugin-scaffolder-backend-module-quay-dynamic | Backend |
Acceptance Criteria
1. Create Workspace Structure
- [ ] Create workspaces/quay/e2e-tests/
- [ ] Copy standard config files from tech-radar reference
- [ ] Update package.json name and playwright.config.ts project name
2. Create RHDH Configuration (tests/config/)
- [ ] Create dynamic-plugins.yaml based on RHDH core dynamic-plugins.default.yaml
3. Migrate Test Files
- [ ] Create tests/specs/quay.spec.ts
- [ ] Create tests/specs/quay-actions.spec.ts
4. Verify All Tests Pass
- [ ] All 3 test cases pass
Test Cases (3 total)
1-2. Quay plugin tests
- Quay actions test
Reference
- Template: workspaces/tech-radar/e2e-tests