commit | e533ca8c2f0ae70143906c397900be75254d906a | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Dec 06 07:53:22 2022 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Dec 06 07:53:22 2022 +0100 |
tree | 28b940468320e58e55e98b2c0e4a7221be40f24f | |
parent | 9faa23f56d22bb4a5786106f62d9df98424095ed [diff] |
Fail quickly in login tests if no username field Change-Id: Ice02446e6cc07e3387073fc33d596a373dcc9fcd
diff --git a/lib/korap_rc.js b/lib/korap_rc.js index 409e39e..ce6be0c 100644 --- a/lib/korap_rc.js +++ b/lib/korap_rc.js
@@ -22,6 +22,8 @@ await page.keyboard.press("Tab") await page.keyboard.type(password) await page.keyboard.press("Enter") + } else { + return false } await page.waitForNavigation();