From cc4bf76c13e38e9065d49161b6e0485657424577 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 29 Dec 2021 15:33:24 +0100 Subject: Handle async validators --- client/e2e/src/suites-local/plugins.e2e-spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client/e2e/src/suites-local/plugins.e2e-spec.ts') diff --git a/client/e2e/src/suites-local/plugins.e2e-spec.ts b/client/e2e/src/suites-local/plugins.e2e-spec.ts index 14802c1ca..55f020c44 100644 --- a/client/e2e/src/suites-local/plugins.e2e-spec.ts +++ b/client/e2e/src/suites-local/plugins.e2e-spec.ts @@ -63,11 +63,10 @@ describe('Plugins', () => { const checkbox = await getPluginCheckbox() await checkbox.click() - await browserSleep(5000) - await expectSubmitState({ disabled: true }) const error = await $('.form-error*=Should be enabled') + expect(await error.isDisplayed()).toBeTruthy() }) -- cgit v1.2.3