slightly less failing test suite but removing the annoying 404 failures
This commit is contained in:
@@ -58,7 +58,7 @@ module Features
|
||||
end
|
||||
super(*args)
|
||||
if Capybara.current_driver == Capybara.javascript_driver
|
||||
if page.current_path != "/admin/employees/test_login"
|
||||
if %w[/user /supplier].any? { |path_prefix| page.current_path.starts_with? path_prefix }
|
||||
when_ember_is_ready { }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user