-
Task
-
Resolution: Unresolved
-
Blocker
-
None
-
None
-
2
-
False
-
-
False
-
-
Description
Migrate Roadie plugins E2E tests to workspaces/roadie-backstage-plugins/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.
DOCUMENTATION
Follow the RHDH E2E Test Utils - Overlay Documentation for implementation guidance.
Setup Prerequisites
GitHub App Integration: Same as GitHub Actions/Issues plugins
- GITHUB_APP_APP_ID, GITHUB_APP_CLIENT_ID, GITHUB_APP_CLIENT_SECRET
- GITHUB_APP_PRIVATE_KEY, GITHUB_APP_WEBHOOK_URL, GITHUB_APP_WEBHOOK_SECRET
Test Repository: GitHub repository for pull requests, insights, security tests
- Catalog entity with annotation github.com/project-slug
Source Files (RHDH Core)
| File | Path |
|---|---|
| Test spec | e2e-tests/playwright/e2e/github-happy-path.spec.ts (shared) |
| Test spec | e2e-tests/playwright/e2e/plugins/http-request.spec.ts |
Plugin Packages
| Package | Type |
|---|---|
| roadiehq-backstage-plugin-github-pull-requests | Frontend |
| roadiehq-scaffolder-backend-module-http-request-dynamic | Backend |
| roadiehq-backstage-plugin-github-insights | Frontend |
| roadiehq-backstage-plugin-security-insights | Frontend |
Acceptance Criteria
1. Create Workspace Structure
- [ ] Create workspaces/roadie-backstage-plugins/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/http-request.spec.ts
- [ ] Extract relevant tests from github-happy-path.spec.ts
4. Verify All Tests Pass
- [ ] All relevant test cases pass
Test Cases
- HTTP request scaffolder action tests
- GitHub pull requests, insights, security insights tests
Reference
- Template: workspaces/tech-radar/e2e-tests