diff --git a/test/features/redirection.feature b/test/features/redirection.feature index eaafa7d0..760f2343 100644 --- a/test/features/redirection.feature +++ b/test/features/redirection.feature @@ -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 diff --git a/test/features/step_definitions/notifications.ts b/test/features/step_definitions/notifications.ts index 91658134..3a068129 100644 --- a/test/features/step_definitions/notifications.ts +++ b/test/features/step_definitions/notifications.ts @@ -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); }); });