Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-01-28 09:21:44 +0300
committerSanad Liaquat <sliaquat@gitlab.com>2019-01-28 09:21:44 +0300
commit8ee50d6bfa9a37351ab0d73c252f1166b5f21267 (patch)
tree6a05b9f148d54ceed38fe4a5be68dcccc1043084 /qa
parentc2b3f64cb44114e69ddeeb453412ad4dd762baf9 (diff)
Use retry to stablize go_to_profile_settings
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/main/menu.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/qa/qa/page/main/menu.rb b/qa/qa/page/main/menu.rb
index 6804cc8fb20..616d50f47fc 100644
--- a/qa/qa/page/main/menu.rb
+++ b/qa/qa/page/main/menu.rb
@@ -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