File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 6868 "test:build" : " yarn ts-node test/buildProcess/runTest.ts" ,
6969 "test:unit" : " jest" ,
7070 "test:integration" : " ./test/run-integration-tests.sh && yarn test:types" ,
71- "test:integration:ci" : " run-s test:integration:clean test:integration:client:ci test:integration:server" ,
7271 "test:integration:prepare" : " (cd test/integration && yarn build && yarn start)" ,
7372 "test:integration:clean" : " (cd test/integration && rimraf .cache node_modules build)" ,
74- "test:integration:client" : " yarn playwright install-deps && yarn playwright test test/integration/test/client/" ,
73+ "test:integration:client" : " yarn playwright test test/integration/test/client/ --project=chromium " ,
7574 "test:integration:client:ci" : " yarn test:integration:client --browser='all' --reporter='line'" ,
7675 "test:integration:server" : " export NODE_OPTIONS='--stack-trace-limit=25' && jest --config=test/integration/jest.config.js test/integration/test/server/" ,
7776 "test:types" : " cd test/types && yarn test" ,
Original file line number Diff line number Diff line change 11import type { PlaywrightTestConfig } from '@playwright/test' ;
2+ import { devices } from '@playwright/test' ;
23
34const config : PlaywrightTestConfig = {
45 retries : 2 ,
@@ -11,6 +12,15 @@ const config: PlaywrightTestConfig = {
1112 command : 'yarn test:integration:prepare' ,
1213 port : 3000 ,
1314 } ,
15+
16+ projects : [
17+ {
18+ name : 'chromium' ,
19+ use : {
20+ ...devices [ 'Desktop Chrome' ] ,
21+ } ,
22+ } ,
23+ ] ,
1424} ;
1525
1626export default config ;
You can’t perform that action at this time.
0 commit comments