PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / playwright.config.ts

playwright.config.ts in GiveWP – Donation Plugin and Fundraising Platform 4.16.9, at playwright.config.ts

36 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import {defineConfig, devices} from '@playwright/test';
2 import {STORAGE_STATE_PATH, WP_BASE_URL} from './tests/e2e/environment';
3
4 export default defineConfig({
5 testDir: './tests/e2e',
6 timeout: 60_000,
7 retries: process.env.CI ? 2 : 0,
8 /*
9 * GiveWP's admin screens share one site's options and database, so parallel workers would see
10 * each other's state. Revisit per-worker isolation when the suite grows enough to need it.
11 */
12 workers: 1,
13 reporter: process.env.CI ? 'github' : 'list',
14 globalSetup: './tests/e2e/global-setup.ts',
15 outputDir: './artifacts/test-results',
16 use: {
17 baseURL: WP_BASE_URL,
18 // Local environments that terminate TLS in front of wp-env use a self-signed certificate.
19 ignoreHTTPSErrors: true,
20 storageState: STORAGE_STATE_PATH,
21 video: 'retain-on-failure',
22 screenshot: 'only-on-failure',
23 trace: 'retain-on-failure',
24 },
25 projects: [
26 {
27 name: 'chromium',
28 use: {...devices['Desktop Chrome']},
29 },
30 {
31 name: 'headed',
32 use: {...devices['Desktop Chrome'], headless: false, launchOptions: {slowMo: 800}},
33 },
34 ],
35 });
36