Skip to content

Commit ea2a878

Browse files
committed
Iterate
1 parent 53f4829 commit ea2a878

3 files changed

Lines changed: 4 additions & 25 deletions

File tree

apps/desktop/playwright.config.ts

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,9 @@ Please see LICENSE files in the repository root for full details.
88

99
import { defineConfig } from "@playwright/test";
1010

11-
const projects = [
12-
"macos",
13-
"win-x64",
14-
"win-ia32",
15-
"win-arm64",
16-
"linux-amd64-sqlcipher-system",
17-
"linux-amd64-sqlcipher-static",
18-
"linux-arm64-sqlcipher-system",
19-
"linux-arm64-sqlcipher-static",
20-
];
21-
22-
const tag = ["@desktop"];
23-
if (process.env.PW_TAG) {
24-
tag.push(`@${process.env.PW_TAG}`);
25-
}
26-
2711
export default defineConfig({
28-
tag,
29-
// Allows the GitHub action to specify a project name (OS + arch) for the combined report to make sense
30-
// workaround for https://github.com/microsoft/playwright/issues/33521
31-
projects: process.env.CI
32-
? projects.map((name) => ({
33-
name,
34-
}))
35-
: undefined,
12+
projects: [{ name: "Desktop" }],
13+
tag: process.env.PW_TAG ? `@${process.env.PW_TAG}` : undefined,
3614
use: {
3715
viewport: { width: 1280, height: 720 },
3816
video: "retain-on-failure",

apps/web/playwright.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const chromeProject: Project<PlaywrightTestOptions, WorkerOptions & PlaywrightWo
3434
};
3535

3636
export default defineConfig<{}, WorkerOptions>({
37-
tag: "@web",
3837
projects: [
3938
{
4039
name: "Chrome",

playwright-merge.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Please see LICENSE files in the repository root for full details.
88
import { defineConfig } from "@playwright/test";
99

1010
export default defineConfig({
11+
// Specifying this means that desktop results in the report will not be able to resolve paths
12+
testDir: "apps/web/playwright/e2e",
1113
reporter: [
1214
["html", { open: "never" }],
1315
["./playwright/flaky-reporter.ts"],

0 commit comments

Comments
 (0)