Wait for notifications to fade out before going forward in integration test steps.
parent
98aa23ed5e
commit
85462be268
|
@ -1,4 +1,4 @@
|
|||
Feature: User is correctly redirected correctly
|
||||
Feature: User is correctly redirected
|
||||
|
||||
Scenario: User is redirected to authelia when he is not authenticated
|
||||
Given I'm on https://home.test.local:8080
|
||||
|
|
|
@ -20,7 +20,7 @@ Cucumber.defineSupportCode(function ({ Given, When, Then }) {
|
|||
})
|
||||
.then(function (classes: string) {
|
||||
Assert(classes.indexOf(notificationType) > -1, "Class '" + notificationType + "' not found in notification element.");
|
||||
// return that.driver.wait(seleniumWebdriver.until.elementIsNotVisible(notificationEl), 6000);
|
||||
return that.driver.sleep(500);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue