test(playwright): improve test server reliability (#25079)

This commit is contained in:
Liam DeBeasi
2022-04-08 11:58:34 -04:00
committed by GitHub
parent 3853e10f01
commit c58033fb4b
3 changed files with 969 additions and 14 deletions

980
core/package-lock.json generated
View File

File diff suppressed because it is too large Load Diff

View File

@@ -67,6 +67,7 @@
"puppeteer": "^10.4.0",
"rollup": "^2.26.4",
"sass": "^1.26.10",
"serve": "^13.0.2",
"stylelint": "^13.6.1",
"stylelint-order": "^4.1.0",
"swiper": "5.4.1",

View File

@@ -101,7 +101,7 @@ const config: PlaywrightTestConfig = {
/* Configure projects for major browsers */
projects: generateProjects(),
webServer: {
command: 'python3 -m http.server 3333',
command: 'serve -p 3333',
port: 3333
}
};