Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 1d89fdc

Browse files
Clean up some common config definitions
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
1 parent 155427e commit 1d89fdc

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

playwright.config.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const testDir = defineBddConfig({
1515

1616
const DESKTOP_CONFIG = {
1717
viewport: { height: 961, width: 1920 },
18-
ignoreHTTPSErrors: true,
1918
};
2019

2120
/**
@@ -40,6 +39,8 @@ export default defineConfig({
4039

4140
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
4241
trace: "on-first-retry",
42+
43+
ignoreHTTPSErrors: true,
4344
},
4445

4546
/* Configure projects for major browsers */
@@ -93,27 +94,18 @@ export default defineConfig({
9394
name: "api",
9495
testDir: "./tests/api/features",
9596
testMatch: /.*\.ts/,
96-
use: {
97-
baseURL: process.env.TRUSTIFY_URL,
98-
},
9997
dependencies: ["setup-api-data"],
10098
},
10199
{
102100
name: "setup-api-data",
103101
testDir: "./tests/api/dependencies",
104102
testMatch: "*.setup.ts",
105103
teardown: "cleanup-api-data",
106-
use: {
107-
...DESKTOP_CONFIG,
108-
},
109104
},
110105
{
111106
name: "cleanup-api-data",
112107
testDir: "./tests/api/dependencies",
113108
testMatch: "*.teardown.ts",
114-
use: {
115-
...DESKTOP_CONFIG,
116-
},
117109
},
118110

119111
/* Test against mobile viewports. */

0 commit comments

Comments
 (0)