X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fe2e%2Fsrc%2Fpo%2Flogin.po.ts;h=5a36fd611f4c731f7c076d3c6669e0f28a8819e4;hb=cd4d7a2ca868209fb1e2dbd790c1e5d6cca77e86;hp=ada52cb24d18580d21af8996e880d98b270aa8f8;hpb=5f92c4dc5f08094548be9d23080dd3ca75741c65;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/e2e/src/po/login.po.ts b/client/e2e/src/po/login.po.ts index ada52cb24..5a36fd611 100644 --- a/client/e2e/src/po/login.po.ts +++ b/client/e2e/src/po/login.po.ts @@ -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()