aboutsummaryrefslogtreecommitdiff
path: root/e2e/lib/JSONOptionPage.ts
diff options
context:
space:
mode:
Diffstat (limited to 'e2e/lib/JSONOptionPage.ts')
-rw-r--r--e2e/lib/JSONOptionPage.ts4
1 files changed, 1 insertions, 3 deletions
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<string> {
- 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();
}
}