]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/e2e/src/po/login.po.ts
Fix peertube with google bot
[github/Chocobozzz/PeerTube.git] / client / e2e / src / po / login.po.ts
index ada52cb24d18580d21af8996e880d98b270aa8f8..5a36fd611f4c731f7c076d3c6669e0f28a8819e4 100644 (file)
@@ -4,8 +4,8 @@ export class LoginPage {
   async loginAsRootUser () {
     await browser.get('/login')
 
-    element(by.css('input#username')).sendKeys('root')
-    element(by.css('input#password')).sendKeys('test1')
+    await element(by.css('input#username')).sendKeys('root')
+    await element(by.css('input#password')).sendKeys('test1')
 
     await element(by.css('form input[type=submit]')).click()