From 738a699259345e47a81cba8d14beb5b9fd2d8b53 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 22 Sep 2020 10:52:13 +0900 Subject: Fix e2e test on option --- e2e/lib/JSONOptionPage.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'e2e/lib/JSONOptionPage.ts') diff --git a/e2e/lib/JSONOptionPage.ts b/e2e/lib/JSONOptionPage.ts index 0f2b0a7..2d8147e 100644 --- a/e2e/lib/JSONOptionPage.ts +++ b/e2e/lib/JSONOptionPage.ts @@ -20,9 +20,7 @@ export default class JSONOptionPage { } async getErrorMessage(): Promise { - const error = await this.webdriver.findElement( - By.css(".settings-ui-input-error") - ); + const error = await this.webdriver.findElement(By.css("p[role=alert]")); return error.getText(); } } -- cgit v1.2.3