@@ -52,37 +52,38 @@ export default defineConfig({
5252 } ,
5353 } ,
5454
55- {
56- name : 'firefox' ,
57- use : {
58- ...devices [ 'Desktop Firefox' ] ,
59- actionTimeout : 10000 ,
60- } ,
61- } ,
55+ /* Other browsers disabled for now to speed up CI */
56+ // {
57+ // name: 'firefox',
58+ // use: {
59+ // ...devices['Desktop Firefox'],
60+ // actionTimeout: 10000,
61+ // },
62+ // },
6263
63- {
64- name : 'webkit' ,
65- use : {
66- ...devices [ 'Desktop Safari' ] ,
67- actionTimeout : 10000 ,
68- } ,
69- } ,
64+ // {
65+ // name: 'webkit',
66+ // use: {
67+ // ...devices['Desktop Safari'],
68+ // actionTimeout: 10000,
69+ // },
70+ // },
7071
7172 /* Test against mobile viewports. */
72- {
73- name : 'Mobile Chrome' ,
74- use : {
75- ...devices [ 'Pixel 5' ] ,
76- actionTimeout : 10000 ,
77- } ,
78- } ,
79- {
80- name : 'Mobile Safari' ,
81- use : {
82- ...devices [ 'iPhone 12' ] ,
83- actionTimeout : 10000 ,
84- } ,
85- } ,
73+ // {
74+ // name: 'Mobile Chrome',
75+ // use: {
76+ // ...devices['Pixel 5'],
77+ // actionTimeout: 10000,
78+ // },
79+ // },
80+ // {
81+ // name: 'Mobile Safari',
82+ // use: {
83+ // ...devices['iPhone 12'],
84+ // actionTimeout: 10000,
85+ // },
86+ // },
8687
8788 /* Test against branded browsers. */
8889 // {
@@ -97,10 +98,10 @@ export default defineConfig({
9798
9899 /* Run your local dev server before starting the tests */
99100 webServer : {
100- command : 'npm run build-css && cargo run -- server ./seed --port 9080' ,
101+ command : 'npm run build-css && cargo build && ./target/debug/cook server ./seed --port 9080' ,
101102 url : 'http://localhost:9080' ,
102103 reuseExistingServer : ! process . env . CI ,
103- timeout : 120 * 1000 ,
104+ timeout : 300 * 1000 , // 5 minutes for CI builds
104105 stdout : 'pipe' ,
105106 stderr : 'pipe' ,
106107 } ,
0 commit comments