From 16571d46ce02591b72347464c6d8151feee04dc6 Mon Sep 17 00:00:00 2001 From: aehnh Date: Wed, 12 Feb 2025 16:56:46 +0100 Subject: [PATCH 1/3] remove slack alerts --- .../tests-e2e/playwright.config.complete.ts | 30 +++++++++---------- .../tests-e2e/playwright.config.connect.ts | 30 +++++++++---------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/packages/tests-e2e/playwright.config.complete.ts b/packages/tests-e2e/playwright.config.complete.ts index 98c9a61dd..5f3163afa 100644 --- a/packages/tests-e2e/playwright.config.complete.ts +++ b/packages/tests-e2e/playwright.config.complete.ts @@ -28,21 +28,21 @@ export default defineConfig({ : undefined : undefined, reporter: [ - [ - '../../node_modules/playwright-slack-report/dist/src/SlackReporter.js', - { - channels: ['corbado-tests'], - sendResults: 'always', - showInThread: true, - meta: [ - { - key: 'Test Run Info', - value: `https://github.com/corbado/javascript/actions/runs/${process.env.GITHUB_RUN_ID}`, - }, - { key: 'branch', value: `${process.env.GITHUB_BRANCH_NAME}` }, - ], - }, - ], + // [ + // '../../node_modules/playwright-slack-report/dist/src/SlackReporter.js', + // { + // channels: ['corbado-tests'], + // sendResults: 'always', + // showInThread: true, + // meta: [ + // { + // key: 'Test Run Info', + // value: `https://github.com/corbado/javascript/actions/runs/${process.env.GITHUB_RUN_ID}`, + // }, + // { key: 'branch', value: `${process.env.GITHUB_BRANCH_NAME}` }, + // ], + // }, + // ], ['html'], ['junit', { outputFile: 'test-results/results.xml' }], ], diff --git a/packages/tests-e2e/playwright.config.connect.ts b/packages/tests-e2e/playwright.config.connect.ts index 3b634f59f..568c353e5 100644 --- a/packages/tests-e2e/playwright.config.connect.ts +++ b/packages/tests-e2e/playwright.config.connect.ts @@ -21,21 +21,21 @@ export default defineConfig({ : undefined : undefined, reporter: [ - [ - '../../node_modules/playwright-slack-report/dist/src/SlackReporter.js', - { - channels: ['corbado-tests'], - sendResults: 'always', - showInThread: true, - meta: [ - { - key: 'Test Run Info', - value: `https://github.com/corbado/javascript/actions/runs/${process.env.GITHUB_RUN_ID}`, - }, - { key: 'branch', value: `${process.env.GITHUB_BRANCH_NAME}` }, - ], - }, - ], + // [ + // '../../node_modules/playwright-slack-report/dist/src/SlackReporter.js', + // { + // channels: ['corbado-tests'], + // sendResults: 'always', + // showInThread: true, + // meta: [ + // { + // key: 'Test Run Info', + // value: `https://github.com/corbado/javascript/actions/runs/${process.env.GITHUB_RUN_ID}`, + // }, + // { key: 'branch', value: `${process.env.GITHUB_BRANCH_NAME}` }, + // ], + // }, + // ], ['html'], ['junit', { outputFile: 'test-results/results.xml' }], ], From 7bc4d6bd143529a1710afc2773b4eddac4222dae Mon Sep 17 00:00:00 2001 From: aehnh Date: Wed, 12 Feb 2025 19:10:21 +0100 Subject: [PATCH 2/3] fail a test --- .../email-username-verification-at-signup.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tests-e2e/src/complete/scenarios/corbado-auth-component-configs/email-username-verification-at-signup.spec.ts b/packages/tests-e2e/src/complete/scenarios/corbado-auth-component-configs/email-username-verification-at-signup.spec.ts index fe964f40a..c6c43bb94 100644 --- a/packages/tests-e2e/src/complete/scenarios/corbado-auth-component-configs/email-username-verification-at-signup.spec.ts +++ b/packages/tests-e2e/src/complete/scenarios/corbado-auth-component-configs/email-username-verification-at-signup.spec.ts @@ -28,6 +28,7 @@ test.describe('tests that focus on these identifiers: email (verification at sig }); test('signup with passkey (happy path)', async ({ model }) => { + expect(2).toBe(3); await model.load(projectId, true, 'signup-init'); const email = SignupInitBlockModel.generateRandomEmail(); From cb126a7b702e93ba1f187b430ba9d317fc34abfa Mon Sep 17 00:00:00 2001 From: aehnh Date: Wed, 12 Feb 2025 19:52:35 +0100 Subject: [PATCH 3/3] unfail a test --- .../email-username-verification-at-signup.spec.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/tests-e2e/src/complete/scenarios/corbado-auth-component-configs/email-username-verification-at-signup.spec.ts b/packages/tests-e2e/src/complete/scenarios/corbado-auth-component-configs/email-username-verification-at-signup.spec.ts index c6c43bb94..fe964f40a 100644 --- a/packages/tests-e2e/src/complete/scenarios/corbado-auth-component-configs/email-username-verification-at-signup.spec.ts +++ b/packages/tests-e2e/src/complete/scenarios/corbado-auth-component-configs/email-username-verification-at-signup.spec.ts @@ -28,7 +28,6 @@ test.describe('tests that focus on these identifiers: email (verification at sig }); test('signup with passkey (happy path)', async ({ model }) => { - expect(2).toBe(3); await model.load(projectId, true, 'signup-init'); const email = SignupInitBlockModel.generateRandomEmail();