diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-07-09 10:30:32 +0500 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2019-07-09 10:30:32 +0500 |
commit | d920f705b43b6d25449f911a9344b6520d3acfe7 (patch) | |
tree | e8834978dfb236c14d8693b44c8f5e65fa09d944 /qa/qa/specs/features/browser_ui/1_manage/login | |
parent | e16f224ee9628e91425c6fa9bb19bfaeb5aa1af0 (diff) | |
download | gitlab-ce-d920f705b43b6d25449f911a9344b6520d3acfe7.tar.gz |
Use retry on exception
Diffstat (limited to 'qa/qa/specs/features/browser_ui/1_manage/login')
-rw-r--r-- | qa/qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qa/qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb b/qa/qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb index a6bc6d2077c..c4a6f8dbb04 100644 --- a/qa/qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb +++ b/qa/qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb @@ -11,10 +11,8 @@ module QA expect(menu).to have_personal_area end - Support::Retrier.retry_until(reload: false, sleep_interval: 1.0) do + Support::Retrier.retry_on_exception do Page::Main::Menu.perform(&:sign_out) - - Page::Main::Login.perform(&:has_sign_in_tab?) end Page::Main::Login.perform do |form| |