Commit d920f705 authored by Sanad Liaquat's avatar Sanad Liaquat

Use retry on exception

parent e16f224e
......@@ -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
......
......@@ -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|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment