slightly less failing test suite but removing the annoying 404 failures

This commit is contained in:
2016-07-04 08:41:38 +02:00
parent 780332f6de
commit 1d52e78c65
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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