From c82f9bf3853910811667c43b0dd83612d0250942 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 5 Dec 2022 19:34:53 +0800 Subject: [PATCH] fix(playwright): lint blocking --- tests/playwright/pages/Dashboard/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/playwright/pages/Dashboard/index.ts b/tests/playwright/pages/Dashboard/index.ts index 847fac607f..bbfab4c6db 100644 --- a/tests/playwright/pages/Dashboard/index.ts +++ b/tests/playwright/pages/Dashboard/index.ts @@ -116,11 +116,9 @@ export class DashboardPage extends BasePage { if (mode === 'standard') { if (title === 'Team & Auth') { - await expect(this.rootPage).toHaveURL( - `/#/nc/${this.project.id}/auth` - ); + await expect(this.rootPage).toHaveURL(`/#/nc/${this.project.id}/auth`); } else { - await expect(this.rootPage).toHaveURL(new RegExp(`#\/nc\/${this.project.id}\/table\/md_.{14}`)); + await expect(this.rootPage).toHaveURL(new RegExp(`#/nc/${this.project.id}/table/md_.{14}`)); } } }