-
Epic
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
Migration of Existing Tests
-
L
-
False
-
-
False
-
-
To Do
-
RHDHPLAN-525 - Begin Plugin Integration Tests Extraction
-
QE Needed, Docs Needed, TE Needed, Customer Facing, PX Needed
-
100% To Do, 0% In Progress, 0% Done
-
-
Epic Goal
To streamline ownership and management of plugin-related tests, all existing Playwright tests for plugins must be migrated from the rhdh repository to the rhdh-plugin-export-overlays repository. This epic covers migrating the tests, associated dependencies, and updating CI pipelines to ensure a smooth transition without breaking existing validation workflows. Centralizing tests in the overlay repo will improve maintainability and align test ownership with plugin development.
Demo Videos
The following demos provide guidance on the E2E test framework setup and migration approach:
| Demo | Description | Link |
|---|---|---|
| Playwright E2E test framework setup in Overlay repo | Watch Demo | |
| Unified RHDH Deployment for Plugins using rhdh-e2e-test-utils | Watch Demo | |
| Keycloak as auth and helpers | Watch Demo |
Documentation & References
| Resource | Description | Link |
|---|---|---|
| rhdh-e2e-test-utils | Test utilities package documentation | README.md |
| Reference Implementation | Tech Radar E2E tests in Overlay | workspaces/tech-radar/e2e-tests |
| RHDH Core Tests | Original test location (for reference) | e2e-tests/playwright |
Workspace Structure
workspaces/[plugin-name]/
├── plugins/
│ └── [plugin-package]/
└── e2e-tests/
├── package.json
├── playwright.config.ts
├── tsconfig.json
├── eslint.config.js
├── .yarnrc.yml
└── tests/
├── config/
│ ├── dynamic-plugins.yaml
│ ├── app-config-rhdh.yaml
│ └── rhdh-secrets.yaml
├── specs/
│ └── [plugin].spec.ts
└── pages/
└── [plugin].page.ts