@@ -7,32 +7,43 @@ export default defineConfig<PluginOptions>({
77 fullyParallel : false ,
88 forbidOnly : ! ! process . env . CI ,
99 retries : process . env . CI ? 3 : 0 ,
10- workers : 2 ,
10+ workers : 1 ,
1111 /* Reporter to use. See https://playwright.dev/docs/test-reporters */
1212 reporter : 'list' ,
1313 use : {
1414 trace : 'retain-on-failure' ,
1515 video : 'retain-on-failure' ,
1616 screenshot : 'only-on-failure' ,
1717 viewport : { width : 1920 , height : 1080 } ,
18+ baseURL : process . env . PLAYWRIGHT_TO_GRAFANA_URL || 'http://localhost:3003' ,
19+ grafanaAPICredentials : {
20+ user : process . env . GRAFANA_USER || 'admin' ,
21+ password : process . env . GRAFANA_PASSWORD || 'password' ,
22+ } ,
1823 } ,
1924 projects : [
2025 {
2126 name : 'e2e tests' ,
2227 testDir : './tests/e2e/tests' ,
23- testMatch : [ '**/*.test.ts' ] ,
24- dependencies : [ 'setup' ] ,
25- } ,
26- {
27- name : 'setup' ,
28- testDir : './tests/e2e/tests' ,
29- testMatch : 'global.setup.ts' ,
30- teardown : 'tearDown' ,
31- } ,
32- {
33- name : 'tearDown' ,
34- testDir : './tests/e2e/tests' ,
35- testMatch : 'global.teardown.ts' ,
28+ testMatch : [ '**/disabled.test.ts' ] ,
3629 } ,
30+
31+ // {
32+ // name: 'e2e tests',
33+ // testDir: './tests/e2e/tests',
34+ // testMatch: ['**/*.test.ts'],
35+ // dependencies: ['setup'],
36+ // },
37+ // {
38+ // name: 'setup',
39+ // testDir: './tests/e2e/tests',
40+ // testMatch: 'global.setup.ts',
41+ // teardown: 'tearDown',
42+ // },
43+ // {
44+ // name: 'tearDown',
45+ // testDir: './tests/e2e/tests',
46+ // testMatch: 'global.teardown.ts',
47+ // },
3748 ] ,
3849} ) ;
0 commit comments