]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/e2e/src/suites-local/plugins.e2e-spec.ts
Handle async validators
[github/Chocobozzz/PeerTube.git] / client / e2e / src / suites-local / plugins.e2e-spec.ts
index 14802c1ca286eef2a7a24e353276fbb5d0817058..55f020c448f14ce8bcdd7a2bafc80dd95434dfeb 100644 (file)
@@ -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()
   })