From 8c3711d903d2024c1863d5d7806f251ac788fa9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Fri, 13 Sep 2024 10:57:52 +0200 Subject: [PATCH] Fix superfluous expect --- .../features/backup_codes/login_with_backup_code_spec.rb | 5 ----- 1 file changed, 5 deletions(-) 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