mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Wait for notifications to fade out before going forward in integration test steps.
This commit is contained in:
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
|
Scenario: User is redirected to authelia when he is not authenticated
|
||||||
Given I'm on https://home.test.local:8080
|
Given I'm on https://home.test.local:8080
|
||||||
|
|
|
@ -20,7 +20,7 @@ Cucumber.defineSupportCode(function ({ Given, When, Then }) {
|
||||||
})
|
})
|
||||||
.then(function (classes: string) {
|
.then(function (classes: string) {
|
||||||
Assert(classes.indexOf(notificationType) > -1, "Class '" + notificationType + "' not found in notification element.");
|
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
Block a user