From 3561e5878b66b6b48c712ec357bb06096ba87a02 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Tue, 25 Oct 2022 15:05:32 +0530 Subject: [PATCH] feat(testing): Disabled password change test and enabled webhook test --- packages/nocodb/src/lib/services/test/TestResetService/index.ts | 2 ++ scripts/playwright/tests/authChangePassword.spec.ts | 2 +- scripts/playwright/tests/webhook.spec.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/nocodb/src/lib/services/test/TestResetService/index.ts b/packages/nocodb/src/lib/services/test/TestResetService/index.ts index 0beb812010..3cb094a75f 100644 --- a/packages/nocodb/src/lib/services/test/TestResetService/index.ts +++ b/packages/nocodb/src/lib/services/test/TestResetService/index.ts @@ -15,6 +15,8 @@ const loginRootUser = async () => { { email: 'user@nocodb.com', password: 'Password123.' } ); + console.log('Login response', response.data); + return response.data.token; }; diff --git a/scripts/playwright/tests/authChangePassword.spec.ts b/scripts/playwright/tests/authChangePassword.spec.ts index 72d8470ea3..eaec225a56 100644 --- a/scripts/playwright/tests/authChangePassword.spec.ts +++ b/scripts/playwright/tests/authChangePassword.spec.ts @@ -15,7 +15,7 @@ test.describe("Auth", () => { toolbar = dashboard.grid.toolbar; }); - test("Change password", async ({ page }) => { + test.skip("Change password", async ({ page }) => { await dashboard.clickHome(); await dashboard.openPasswordChangeModal(); diff --git a/scripts/playwright/tests/webhook.spec.ts b/scripts/playwright/tests/webhook.spec.ts index 1dd7df558b..3796bb9529 100644 --- a/scripts/playwright/tests/webhook.spec.ts +++ b/scripts/playwright/tests/webhook.spec.ts @@ -27,7 +27,7 @@ async function verifyHookTrigger(count: number, value: string, request) { } } -test.describe.skip("Webhook", () => { +test.describe("Webhook", () => { let dashboard: DashboardPage, toolbar: ToolbarPage, webhook: WebhookFormPage; let context: any;