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 6f98a0b628cb..06c1530e89b8 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 @@ 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