Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

wait for network_idle on logout_spec

Oliver Güntherdf2ec4e94113
diff --git a/spec/features/auth/logout_spec.rb b/spec/features/auth/logout_spec.rb
index 6bc25e77ae7..6b32e8f5051 100644
--- a/spec/features/auth/logout_spec.rb
+++ b/spec/features/auth/logout_spec.rb
@@ -28,7 +28,9 @@
require "spec_helper"
-RSpec.describe "Logout", :js do
+RSpec.describe "Logout",
+ :js,
+ :with_cuprite do
let(:user_password) { "b0B" * 4 }
let(:user) do
create(:user,
@@ -38,6 +40,7 @@ RSpec.describe "Logout", :js do
before do
login_with(user.login, user_password)
+ wait_for_network_idle
end
it "prevents the user from making any more changes" do