Automated RHDH Deployment
Deploy RHDH instances via Helm or the RHDH Operator with automatic namespace management and cleanup.
Deploy, test, and validate Red Hat Developer Hub plugins with Playwright
// playwright.config.ts
import { defineConfig } from "rhdh-e2e-test-utils/playwright-config";
export default defineConfig({
projects: [{ name: "my-plugin" }],
});// tests/my-plugin.spec.ts
import { test, expect } from "rhdh-e2e-test-utils/test";
test.beforeAll(async ({ rhdh }) => {
await rhdh.configure({ auth: "keycloak" });
await rhdh.deploy();
});
test.beforeEach(async ({ loginHelper }) => {
await loginHelper.loginAsKeycloakUser();
});
test("verify catalog", async ({ uiHelper }) => {
await uiHelper.openSidebar("Catalog");
await uiHelper.verifyHeading("My Catalog");
});rhdh-e2e-test-utils is a comprehensive test utility package for Red Hat Developer Hub (RHDH) end-to-end testing. It provides a unified framework for: