Retry choose_test_namespace on exception

This commit is contained in:
Sanad Liaquat 2019-03-06 18:42:02 +05:00
parent c9e5ce8dbd
commit de1d53fbd2
1 changed files with 5 additions and 2 deletions

View File

@ -24,9 +24,12 @@ module QA
end
def choose_test_namespace
click_element :project_namespace_select
retry_on_exception do
click_body
click_element :project_namespace_select
search_and_select(Runtime::Namespace.path)
search_and_select(Runtime::Namespace.path)
end
end
def go_to_import_project