Skip to content

test(homepage): add Playwright e2e for dynamic home page#2048

Merged
jrichter1 merged 5 commits intoredhat-developer:mainfrom
HusneShabbir:feat/homepage-e2e-tests
Apr 23, 2026
Merged

test(homepage): add Playwright e2e for dynamic home page#2048
jrichter1 merged 5 commits intoredhat-developer:mainfrom
HusneShabbir:feat/homepage-e2e-tests

Conversation

@HusneShabbir
Copy link
Copy Markdown
Contributor

@HusneShabbir HusneShabbir commented Mar 23, 2026

PR: Homepage workspace e2e tests (Dynamic Home Page)

Adds workspaces/homepage/e2e-tests: Keycloak login, dynamic-plugins aligned with the overlay OCI image, and serial Playwright coverage for home cards (load, resize, delete). The restore defaults / clear-all scenario stays skipped pending RHDHBUGS-2906.

Resolves: RHIDP-11366

How to run locally: cd workspaces/homepage/e2e-testscorepack enable && yarn install --immutableyarn checkyarn test (optional .env with GIT_PR_NUMBER for PR images). Pin the RHDH chart line with RHDH_VERSION (defaults to 1.10, e.g. RHDH_VERSION=1.9 yarn test).

@HusneShabbir HusneShabbir requested review from a team and Eswaraiahsapram as code owners March 23, 2026 07:59
@HusneShabbir HusneShabbir requested review from Lucifergene, jrichter1 and lokanandaprabhu and removed request for a team and Lucifergene March 23, 2026 07:59
@HusneShabbir
Copy link
Copy Markdown
Contributor Author

/publish

@github-actions
Copy link
Copy Markdown
Contributor

Publish workflow has completed with success.

Publishing process

✅ Finished successfully.

  • Published container images:
    • ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-dynamic-home-page:pr_2048__1.10.4

Backstage Compatibility Check

✅ All workspaces are compatible with the target Backstage version (1.45.3).

No action required.

Metadata Validation

✅ All metadata files validated successfully.

Running e2e tests
/test e2e-ocp-helm

@github-actions
Copy link
Copy Markdown
Contributor

Smoke tests workflow passed. All plugins loaded successfully.

@rhdh-test-bot
Copy link
Copy Markdown

❌ Failed E2E Tests - homepage

Platform: ocp 4.18 | RHDH Version: 1.10 | Duration: 3m 15s
Passed: 0 | Failed: 1 | Flaky: 0 | Skipped: 4
Playwright Report | Build Log | Artifacts

@HusneShabbir
Copy link
Copy Markdown
Contributor Author

/test e2e-ocp-helm

@rhdh-test-bot
Copy link
Copy Markdown

❌ Failed E2E Tests - homepage

Platform: ocp 4.18 | RHDH Version: 1.10 | Duration: 4m 35s
Passed: 0 | Failed: 1 | Flaky: 0 | Skipped: 4
Playwright Report | Build Log | Artifacts

@HusneShabbir HusneShabbir force-pushed the feat/homepage-e2e-tests branch from 50236ce to bee2458 Compare March 23, 2026 10:50
@github-actions github-actions Bot added mandatory-workspace PR affects a workspace with required plugins for releases workspace-update PR modifies files in an existing workspace labels Mar 23, 2026
@HusneShabbir
Copy link
Copy Markdown
Contributor Author

/publish

@github-actions
Copy link
Copy Markdown
Contributor

Publish workflow has completed with success.

Publishing process

✅ Finished successfully.

  • Published container images:
    • ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-dynamic-home-page:pr_2048__1.10.4

Backstage Compatibility Check

✅ All workspaces are compatible with the target Backstage version (1.45.3).

No action required.

Metadata Validation

✅ All metadata files validated successfully.

Running e2e tests
/test e2e-ocp-helm

@github-actions
Copy link
Copy Markdown
Contributor

Smoke tests workflow passed. All plugins loaded successfully.

@rhdh-test-bot
Copy link
Copy Markdown

❌ Failed E2E Tests - homepage

Platform: ocp 4.18 | RHDH Version: 1.10 | Duration: 2m 51s
Passed: 0 | Failed: 1 | Flaky: 0 | Skipped: 4
Playwright Report | Build Log | Artifacts

@HusneShabbir
Copy link
Copy Markdown
Contributor Author

/publish

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2026

Publish workflow has completed with success.

Publishing process

✅ Finished successfully.

  • Published container images:
    • ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-dynamic-home-page:pr_2048__1.10.4

Backstage Compatibility Check

✅ All workspaces are compatible with the target Backstage version (1.45.3).

No action required.

Metadata Validation

✅ All metadata files validated successfully.

Running e2e tests
/test e2e-ocp-helm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2026

Smoke tests workflow passed. All plugins loaded successfully.

@github-actions
Copy link
Copy Markdown
Contributor

Smoke tests workflow passed. All plugins loaded successfully.

@rhdh-test-bot
Copy link
Copy Markdown

✅ Passed E2E Tests - homepage

Platform: ocp 4.18 | RHDH Version: 1.10 | Duration: 4m 31s
Passed: 3 | Failed: 0 | Flaky: 0 | Skipped: 1
Playwright Report | Build Log | Artifacts

@HusneShabbir
Copy link
Copy Markdown
Contributor Author

/publish

@github-actions
Copy link
Copy Markdown
Contributor

Publish workflow has completed with success.

Publishing process

✅ Finished successfully.

  • Published container images:
    • ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-dynamic-home-page:pr_2048__1.12.0

Backstage Compatibility Check

✅ All workspaces are compatible with the target Backstage version (1.49.4).

No action required.

Metadata Validation

✅ All metadata files validated successfully.

Running e2e tests
/test e2e-ocp-helm

@github-actions
Copy link
Copy Markdown
Contributor

Smoke tests workflow passed. All plugins loaded successfully.

@rhdh-test-bot
Copy link
Copy Markdown

✅ Passed E2E Tests - homepage

Platform: ocp 4.18 | RHDH Version: 1.10 | Duration: 4m 58s
Passed: 3 | Failed: 0 | Flaky: 0 | Skipped: 1
Playwright Report | Build Log | Artifacts

Comment thread workspaces/homepage/e2e-tests/tests/config/app-config-rhdh.yaml Outdated
Comment thread workspaces/homepage/e2e-tests/tests/config/dynamic-plugins.yaml Outdated
Comment thread workspaces/homepage/e2e-tests/tests/config/rhdh-secrets.yaml Outdated
Comment thread workspaces/homepage/e2e-tests/tests/config/value_file.yaml Outdated
Comment thread workspaces/homepage/e2e-tests/package.json
Comment thread workspaces/homepage/e2e-tests/playwright.config.ts Outdated
- Update package.json (Yarn 4.12, pinned devDeps, test:vault, check script)
- Drop manual dotenv from playwright.config.ts
- Remove redundant tests/config overrides; trim dynamic-plugins.yaml
- Format dynamic-plugins.yaml with Prettier

Made-with: Cursor
@sonarqubecloud
Copy link
Copy Markdown

@HusneShabbir
Copy link
Copy Markdown
Contributor Author

/publish

@github-actions
Copy link
Copy Markdown
Contributor

Publish workflow has completed with success.

Publishing process

✅ Finished successfully.

  • Published container images:
    • ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-dynamic-home-page:pr_2048__1.12.0

Backstage Compatibility Check

✅ All workspaces are compatible with the target Backstage version (1.49.4).

No action required.

Metadata Validation

✅ All metadata files validated successfully.

Running e2e tests
/test e2e-ocp-helm

@github-actions
Copy link
Copy Markdown
Contributor

Smoke tests workflow passed. All plugins loaded successfully.

@rhdh-test-bot
Copy link
Copy Markdown

✅ Passed E2E Tests - homepage

Platform: ocp 4.18 | RHDH Version: 1.10 | Duration: 4m 36s
Passed: 3 | Failed: 0 | Flaky: 0 | Skipped: 1
Playwright Report | Build Log | Artifacts

@HusneShabbir HusneShabbir requested a review from jrichter1 April 23, 2026 11:05
@openshift-ci openshift-ci Bot added the lgtm label Apr 23, 2026
@jrichter1 jrichter1 merged commit 4c4aa0f into redhat-developer:main Apr 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm mandatory-workspace PR affects a workspace with required plugins for releases workspace-update PR modifies files in an existing workspace

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants