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,8 +57,12 @@ module QA
end
def go_to_profile_settings
within_user_menu do
click_link 'Settings'
with_retry(reload: false) do
within_user_menu do
click_link 'Settings'
end
has_text?('User Settings')
end
end