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

Fix superfluous expect

Oliver Günthercaffdc6d2fc8
diff --git a/modules/two_factor_authentication/spec/features/backup_codes/login_with_backup_code_spec.rb b/modules/two_factor_authentication/spec/features/backup_codes/login_with_backup_code_spec.rb
index 72e86cd92ac..a8b1cd7fcef 100644
--- a/modules/two_factor_authentication/spec/features/backup_codes/login_with_backup_code_spec.rb
+++ b/modules/two_factor_authentication/spec/features/backup_codes/login_with_backup_code_spec.rb
@@ -33,13 +33,8 @@ RSpec.describe "Login with 2FA backup code",
expect(valid_backup_codes.length).to eq(10)
first_login_step
-
expect(page).to have_css("#toggle_resend_form", wait: 10)
- # Wait for the frontend to be loaded and initialized
- # On downstream configurations, this might take longer than marionette selecting the element
- expect_angular_frontend_initialized
-
# Open other options
# This may fail on the first request when the assets aren't ready yet
SeleniumHubWaiter.wait