Skip to content
Snippets Groups Projects
Commit d920f705 authored by Sanad Liaquat's avatar Sanad Liaquat
Browse files

Use retry on exception

parent e16f224e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -53,7 +53,7 @@ module QA
 
def sign_out
within_user_menu do
click_link 'Sign out'
click_element :user_sign_out_link, Page::Main::Login
end
end
 
Loading
Loading
Loading
Loading
@@ -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|
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment