diff --git a/tests/playwright/pages/SignupPage/index.ts b/tests/playwright/pages/SignupPage/index.ts index 356ea306f2..bfbc35c087 100644 --- a/tests/playwright/pages/SignupPage/index.ts +++ b/tests/playwright/pages/SignupPage/index.ts @@ -17,7 +17,7 @@ export class SignupPage extends BasePage { } async goto() { - return this.rootPage.goto('/#/signup/'); + await this.rootPage.locator('[href="#/signup"]').click(); } get() { diff --git a/tests/playwright/setup/index.ts b/tests/playwright/setup/index.ts index 6ecb42edd3..fac1823321 100644 --- a/tests/playwright/setup/index.ts +++ b/tests/playwright/setup/index.ts @@ -81,9 +81,10 @@ const setup = async ({ page, isEmptyProject }: { page: Page; isEmptyProject?: bo await page.goto(`/#/nc/${project.id}/auth`); - await page.waitForResponse( - resp => resp.url().includes(`api/v1/db/meta/projects/${project.id}/users`) && resp.status() === 200 - ); + // await page.waitForResponse( + // resp => resp.url().includes(`api/v1/db/meta/projects/${project.id}/users`) && resp.status() === 200 + // ); + await page.waitForTimeout(500); return { project, token, dbType, workerId } as NcContext; };