summaryrefslogtreecommitdiff
path: root/qa/qa/page/component/project_selector.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/component/project_selector.rb')
-rw-r--r--qa/qa/page/component/project_selector.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/qa/page/component/project_selector.rb b/qa/qa/page/component/project_selector.rb
index 80ed6b8e53b..54bd95c5422 100644
--- a/qa/qa/page/component/project_selector.rb
+++ b/qa/qa/page/component/project_selector.rb
@@ -20,6 +20,9 @@ module QA
end
def select_project
+ wait_until(sleep_interval: 2, reload: false) do
+ has_element? :project_list_item
+ end
click_element :project_list_item
end
end