mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
2777ebab3d
Added complete Playwright-based end-to-end test suite for the Agile Testing Days 2025 conference website (https://agiletestingdays.com/). This test suite enables automated functional testing of critical user journeys including registration, payment processing, navigation, and form submissions. Key components: - Comprehensive test plan with 67 BDD scenarios covering navigation, registration, payment, newsletter, FAQ, Call for Papers, speakers, and external integrations - 78+ Playwright test cases organized by priority (P0/P1/P2) with Page Object Model pattern - Complete test infrastructure with fixtures, utilities, and test data factories - Full documentation including setup guide, test execution instructions, and configuration examples - Support for parallel execution, CI/CD integration, and multiple report formats This test suite was created to validate the conference website functionality and can be shared with the Agile Testing Days team. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
85 lines
2.0 KiB
TypeScript
85 lines
2.0 KiB
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
/**
|
|
* Playwright Configuration for Agile Testing Days 2025 E2E Tests
|
|
*
|
|
* Test Plan: 67 BDD scenarios covering navigation, registration, payment, and more
|
|
* Target: https://agiletestingdays.com/
|
|
*/
|
|
export default defineConfig({
|
|
testDir: './tests',
|
|
|
|
// Test execution settings
|
|
fullyParallel: true,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
workers: process.env.CI ? 4 : 2,
|
|
|
|
// Timeouts
|
|
timeout: 60 * 1000, // 60 seconds per test
|
|
expect: {
|
|
timeout: 10 * 1000, // 10 seconds for assertions
|
|
},
|
|
|
|
// Reporting
|
|
reporter: [
|
|
['html', { outputFolder: 'test-results/html-report', open: 'never' }],
|
|
['json', { outputFile: 'test-results/results.json' }],
|
|
['junit', { outputFile: 'test-results/junit.xml' }],
|
|
['list'],
|
|
],
|
|
|
|
// Global test configuration
|
|
use: {
|
|
// Base URL for all tests
|
|
baseURL: 'https://agiletestingdays.com',
|
|
|
|
// Browser settings
|
|
trace: 'retain-on-failure',
|
|
screenshot: 'only-on-failure',
|
|
video: 'retain-on-failure',
|
|
|
|
// Timeouts
|
|
actionTimeout: 15 * 1000,
|
|
navigationTimeout: 30 * 1000,
|
|
|
|
// Locale and timezone
|
|
locale: 'en-US',
|
|
timezoneId: 'Europe/Berlin',
|
|
|
|
// Viewport
|
|
viewport: { width: 1280, height: 720 },
|
|
|
|
// Ignore HTTPS errors (for test environments)
|
|
ignoreHTTPSErrors: false,
|
|
|
|
// User agent
|
|
userAgent: 'Playwright E2E Tests - Agile Testing Days 2025',
|
|
},
|
|
|
|
// Test projects (browsers)
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: {
|
|
...devices['Desktop Chrome'],
|
|
launchOptions: {
|
|
args: ['--disable-web-security', '--disable-features=IsolateOrigins,site-per-process'],
|
|
},
|
|
},
|
|
},
|
|
// Uncomment for multi-browser testing
|
|
// {
|
|
// name: 'firefox',
|
|
// use: { ...devices['Desktop Firefox'] },
|
|
// },
|
|
// {
|
|
// name: 'webkit',
|
|
// use: { ...devices['Desktop Safari'] },
|
|
// },
|
|
],
|
|
|
|
// Output folder
|
|
outputDir: 'test-results/artifacts',
|
|
});
|