Skip to content

Commit a51e5fe

Browse files
committed
run linkry test only once
1 parent 32d0fdb commit a51e5fe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/e2e/linkry.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,17 @@ import { randomUUID } from "crypto";
55

66
describe("Link Shortener tests", () => {
77
test("A user can create shortened links, fetch them, and then delete them", async ({
8+
browserName,
89
page,
910
becomeUser,
1011
request, // Inject the request fixture
1112
}) => {
13+
// This is a slow test - we only need to run it once
14+
// on chromium is probably fine nothing here is browser specific
15+
test.skip(
16+
browserName.toLowerCase() !== "chromium",
17+
`Test only for chromium!`,
18+
);
1219
test.slow();
1320
const uuid = `e2e-${randomUUID()}`;
1421
await becomeUser(page);

0 commit comments

Comments
 (0)