-
Task
-
Resolution: Unresolved
-
Blocker
-
None
-
None
-
2
-
False
-
-
False
-
-
Description
Migrate GitLab E2E tests to workspaces/gitlab/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
GitLab Token: Personal access token or group token with API access
- GITLAB_TOKEN: Token with read access to GitLab groups and projects
Based on RHDH core config (.ibm/pipelines/resources/config_map/app-config-rhdh.yaml):
integrations:
gitlab:
‑ host: gitlab.com
token: ${GITLAB_TOKEN}
catalog:
providers:
gitlab:
my-test-provider:
group: rhdh-qe-test
host: gitlab.com
schedule:
frequency: { hours: 24 }
initialDelay: { seconds: 15 }
timeout: { minutes: 1 }
Test GitLab Group: GitLab group with test projects (e.g., rhdh-qe-test)
Source Files (RHDH Core)
| File | Path |
|---|---|
| Test spec | e2e-tests/playwright/e2e/plugins/gitlab/gitlab-discovery.spec.ts |
Plugin Packages
| Package | Type |
|---|---|
| immobiliarelabs-backstage-plugin-gitlab | Frontend |
| immobiliarelabs-backstage-plugin-gitlab-backend-dynamic | Backend |
Acceptance Criteria
1. Create Workspace Structure
- [ ] Create workspaces/gitlab/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
- [ ] Create rhdh-secrets.yaml based on RHDH core .ibm/pipelines/auth/secrets-rhdh-secrets.yaml
3. Migrate Test Files
- [ ] Create tests/specs/gitlab-discovery.spec.ts
4. Verify All Tests Pass
- [ ] All 1 test case passes
Test Cases (1 total)
GitLab discovery verification
Reference
- Template: workspaces/tech-radar/e2e-tests