From a3e95297d8141b1395c2490f493ad213a1068e9f Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 16 Jun 2023 17:53:05 +0800 Subject: [PATCH] fix(playwright): unnecessary await --- tests/playwright/pages/Dashboard/common/Toolbar/SearchData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/pages/Dashboard/common/Toolbar/SearchData.ts b/tests/playwright/pages/Dashboard/common/Toolbar/SearchData.ts index f592407728..233f36c18c 100644 --- a/tests/playwright/pages/Dashboard/common/Toolbar/SearchData.ts +++ b/tests/playwright/pages/Dashboard/common/Toolbar/SearchData.ts @@ -15,6 +15,6 @@ export class ToolbarSearchDataPage extends BasePage { } async verify(query: string) { - await expect(await this.get().inputValue()).toBe(query); + expect(await this.get().inputValue()).toBe(query); } }