Update application ports to 3050 and enhance Playwright tests with WebGL mock
This commit is contained in:
@@ -8,9 +8,17 @@ export default defineConfig({
|
||||
workers: process.env.CI ? 1 : undefined,
|
||||
reporter: process.env.CI ? 'list' : 'html',
|
||||
use: {
|
||||
baseURL: 'http://localhost:3000',
|
||||
baseURL: 'http://localhost:3050',
|
||||
trace: 'on-first-retry',
|
||||
headless: true,
|
||||
launchOptions: {
|
||||
args: [
|
||||
'--enable-webgl',
|
||||
'--ignore-gpu-blocklist',
|
||||
'--use-gl=angle',
|
||||
'--use-angle=swiftshader-webgl',
|
||||
],
|
||||
},
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
@@ -20,7 +28,7 @@ export default defineConfig({
|
||||
],
|
||||
webServer: {
|
||||
command: 'npm run start',
|
||||
url: 'http://localhost:3000',
|
||||
url: 'http://localhost:3050',
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user