Skip to content

Commit

Permalink
chore(e2e,repo): Disable turbo cache for e2e tests (#3680)
Browse files Browse the repository at this point in the history
  • Loading branch information
panteliselef authored Jul 10, 2024
1 parent 7ffb4b0 commit 9a9f0a9
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .changeset/five-lies-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ test.describe('Next with ClerkJS V4 <-> Account Portal Core 1 @ap-flows', () =>
await app.teardown();
});

test('sign in', async ({ page, context }) => {
test.skip('sign in', async ({ page, context }) => {
await testSignIn({ app, page, context, fakeUser });
});

test('sign up', async ({ page, context }) => {
test.skip('sign up', async ({ page, context }) => {
await testSignUp({ app, page, context, fakeUser });
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ test.describe('Next with ClerkJS V4 <-> Account Portal Core 2 @ap-flows', () =>
await app.teardown();
});

test('sign in', async ({ page, context }) => {
test.skip('sign in', async ({ page, context }) => {
await testSignIn({ app, page, context, fakeUser });
});

test('sign up', async ({ page, context }) => {
test.skip('sign up', async ({ page, context }) => {
await testSignUp({ app, page, context, fakeUser });
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ test.describe('Next with ClerkJS V5 <-> Account Portal Core 1 @ap-flows', () =>
await app.teardown();
});

test('sign in', async ({ page, context }) => {
test.skip('sign in', async ({ page, context }) => {
await testSignIn({ app, page, context, fakeUser });
});

test('sign up', async ({ page, context }) => {
test.skip('sign up', async ({ page, context }) => {
await testSignUp({ app, page, context, fakeUser });
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ test.describe('Next with ClerkJS V5 <-> Account Portal Core 2 @ap-flows', () =>
await app.teardown();
});

test('sign in', async ({ page, context }) => {
test.skip('sign in', async ({ page, context }) => {
await testSignIn({ app, page, context, fakeUser });
});

test('sign up', async ({ page, context }) => {
test.skip('sign up', async ({ page, context }) => {
await testSignUp({ app, page, context, fakeUser });
});

Expand Down
8 changes: 8 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,21 @@
"outputs": []
},
"//#test:integration:ap-flows": {
"cache": false,
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/nextjs#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:generic": {
"cache": false,
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/clerk-react#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:express": {
"cache": false,
"dependsOn": [
"^@clerk/clerk-js#build",
"^@clerk/backend#build",
Expand All @@ -159,30 +162,35 @@
"outputLogs": "new-only"
},
"//#test:integration:nextjs": {
"cache": false,
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/nextjs#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:nextjs:canary": {
"cache": false,
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/nextjs#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:quickstart": {
"cache": false,
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/nextjs#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:astro": {
"cache": false,
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/astro#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:elements": {
"cache": false,
"dependsOn": [
"^@clerk/clerk-js#build",
"^@clerk/backend#build",
Expand Down

0 comments on commit 9a9f0a9

Please sign in to comment.