diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-29 15:33:24 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-03 14:20:52 +0100 |
commit | cc4bf76c13e38e9065d49161b6e0485657424577 (patch) | |
tree | d7ecc6bd58037c41587eb911776b676592985cd1 /client/e2e | |
parent | e2aeb8ad0f3055d54ac416ec5908d26b70aac4be (diff) | |
download | PeerTube-cc4bf76c13e38e9065d49161b6e0485657424577.tar.gz PeerTube-cc4bf76c13e38e9065d49161b6e0485657424577.tar.zst PeerTube-cc4bf76c13e38e9065d49161b6e0485657424577.zip |
Handle async validators
Diffstat (limited to 'client/e2e')
-rw-r--r-- | client/e2e/src/suites-local/plugins.e2e-spec.ts | 3 |
1 files changed, 1 insertions, 2 deletions
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', () => { | |||
63 | const checkbox = await getPluginCheckbox() | 63 | const checkbox = await getPluginCheckbox() |
64 | await checkbox.click() | 64 | await checkbox.click() |
65 | 65 | ||
66 | await browserSleep(5000) | ||
67 | |||
68 | await expectSubmitState({ disabled: true }) | 66 | await expectSubmitState({ disabled: true }) |
69 | 67 | ||
70 | const error = await $('.form-error*=Should be enabled') | 68 | const error = await $('.form-error*=Should be enabled') |
69 | |||
71 | expect(await error.isDisplayed()).toBeTruthy() | 70 | expect(await error.isDisplayed()).toBeTruthy() |
72 | }) | 71 | }) |
73 | 72 | ||