Use retry to stablize go_to_profile_settings

This commit is contained in:
Sanad Liaquat 2019-01-28 11:21:44 +05:00
parent c2b3f64cb4
commit 8ee50d6bfa

View file

@ -57,9 +57,13 @@ module QA
end
def go_to_profile_settings
with_retry(reload: false) do
within_user_menu do
click_link 'Settings'
end
has_text?('User Settings')
end
end
def has_personal_area?(wait: Capybara.default_max_wait_time)