Installation
Package Installation
Install via npm:
bash
npm install rhdh-e2e-test-utilsOr via yarn:
bash
yarn add rhdh-e2e-test-utilsOr directly from GitHub (for development versions):
bash
npm install github:redhat-developer/rhdh-e2e-test-utils#mainPeer Dependencies
The package requires @playwright/test as a peer dependency:
bash
npm install @playwright/testVerifying Installation
After installation, you can verify by importing the package:
typescript
import { test, expect } from "rhdh-e2e-test-utils/test";
import { defineConfig } from "rhdh-e2e-test-utils/playwright-config";
// If these imports work without errors, installation is successfulProject Setup
For full project scaffolding (config files, folder structure, and first test), follow:
- Quick Start - complete setup walkthrough
- Your First Test - step-by-step with explanations
Next Steps
- Requirements - Check system and cluster requirements
- Quick Start - Create your first test