Skip to content

Commit 792db96

Browse files
committed
fix(ci): remove .only from a test
1 parent aacc27c commit 792db96

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

starters/e2e/qwikcity/nav.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ test.describe("actions", () => {
522522
await expect(page.locator("#redirected-result")).toHaveText("true");
523523
});
524524

525-
test.only("server plugin q-data redirect from /redirectme to /", async ({
525+
test("server plugin q-data redirect from /redirectme to /", async ({
526526
baseURL,
527527
}) => {
528528
const res = await fetch(

starters/playwright.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const config: PlaywrightTestConfig = {
2424
height: 600,
2525
},
2626
},
27+
/* Fail the build on CI if you accidentally left test.only in the source code. */
28+
forbidOnly: !!process.env.CI,
2729
testIgnore: /.*example.spec.tsx?$/,
2830
retries: inGithubCI ? 0 : 1,
2931
expect: { timeout: inGithubCI ? 120000 : 10000 },

0 commit comments

Comments
 (0)