Wait for the first enterprise tab to be loaded

This commit is contained in:
Maikel Linke
2020-01-15 17:34:57 +11:00
parent 42aa15767e
commit 3a9aaf6764

View File

@@ -237,6 +237,7 @@ feature 'Tag Rules', js: true do
def visit_tag_rules
login_to_admin_section
visit main_app.edit_admin_enterprise_path(enterprise)
expect(page).to have_content "PRIMARY DETAILS"
click_link "Tag Rules"
end
end