diff --git a/src/test/javascript/e2e/entities/watch-list-entry/watch-list-entry.spec.ts b/src/test/javascript/e2e/entities/watch-list-entry/watch-list-entry.spec.ts index d682fcb6bcd3bb267bc79a682985534aeb7023ca..1edf13c0a0a9d751372add2e336d56b8324c5590 100644 --- a/src/test/javascript/e2e/entities/watch-list-entry/watch-list-entry.spec.ts +++ b/src/test/javascript/e2e/entities/watch-list-entry/watch-list-entry.spec.ts @@ -22,7 +22,7 @@ describe('WatchListEntry e2e test', () => { await browser.sleep(3000); navBarPage = new NavBarPage(); signInPage = await navBarPage.getSignInPage(); - signInPage.autoSignInUsing(username, password); + await signInPage.autoSignInUsing(username, password); await browser.wait(ec.visibilityOf(navBarPage.entityMenu), 5000); }); diff --git a/src/test/javascript/protractor.conf.js b/src/test/javascript/protractor.conf.js index b2a010828f01fd329c5ddefdd20883efa019e816..3e0388b02b7119436c66f27dbcf17c3c191a2dfa 100644 --- a/src/test/javascript/protractor.conf.js +++ b/src/test/javascript/protractor.conf.js @@ -10,6 +10,7 @@ exports.config = { capabilities: { browserName: 'chrome', + unexpectedAlertBehaviour: 'accept', chromeOptions: { args: process.env.JHI_E2E_HEADLESS ? ['--headless', '--disable-gpu', '--window-size=1920,1080', '--start-maximized', '--no-sandbox']