Wait for the selected template to appear in dropdown

parent 97811a03
...@@ -73,7 +73,7 @@ module QA ...@@ -73,7 +73,7 @@ module QA
before do before do
Flow::Login.sign_in_as_admin Flow::Login.sign_in_as_admin
Support::Retrier.retry_until do Support::Retrier.retry_until(retry_on_exception: true) do
Page::Main::Menu.perform(&:go_to_admin_area) Page::Main::Menu.perform(&:go_to_admin_area)
Page::Admin::Menu.perform(&:go_to_template_settings) Page::Admin::Menu.perform(&:go_to_template_settings)
...@@ -84,7 +84,7 @@ module QA ...@@ -84,7 +84,7 @@ module QA
Page::Admin::Menu.perform(&:go_to_template_settings) Page::Admin::Menu.perform(&:go_to_template_settings)
EE::Page::Admin::Settings::Templates.perform do |templates| EE::Page::Admin::Settings::Templates.perform do |templates|
templates.current_custom_project_template.include? @template_container_group_name Support::Waiter.wait_until(max_duration: 10) { templates.current_custom_project_template.include? @template_container_group_name }
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment