Capybara Timeout Logger: Make message more distinguishable from the original error
See https://gitlab.com/gitlab-org/gitlab/-/jobs/3129891319
Identity Verification
# order random
Starting the Capybara driver server...
signing up
verifying the code
Capybara starting Puma...
* Version 5.6.5 , codename: Birdie's Version
* Min threads: 0, max threads: 4
* Listening on unix:///tmp/20221005-4049-w9xm2v
successfully confirms the user and shows the verification successful page (FAILED - 1)
1st Try error in ./ee/spec/features/users/identity_verification_spec.rb:28:
expected to find css "meta[http-equiv='refresh'][content='3; url=/']" but there were no matchesTimeout reached while running a waiting Capybara finder. Consider using a non-waiting finder.
See https://www.cloudbees.com/blog/faster-rails-tests
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
RSpec::Retry: 2nd try ./ee/spec/features/users/identity_verification_spec.rb:28
HTML screenshot: /builds/gitlab-org/gitlab/tmp/capybara/identity_verification_signing_up_verifying_the_code_successfully_confirms_the_user_and_shows_the_verification_successful_page.html
Image screenshot: /tmp/capybara/identity_verification_signing_up_verifying_the_code_successfully_confirms_the_user_and_shows_the_verification_successful_page.png
Failures:
1) Identity Verification signing up verifying the code successfully confirms the user and shows the verification successful page
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(page).to have_selector("meta[http-equiv='refresh'][content='3; url=#{root_path}']", visible: :hidden)
expected to find css "meta[http-equiv='refresh'][content='3; url=/']" but there were no matchesTimeout reached while running a waiting Capybara finder. Consider using a non-waiting finder.
See https://www.cloudbees.com/blog/faster-rails-tests
# ./ee/spec/features/users/identity_verification_spec.rb:33:in `block (4 levels) in <main>'
# ./spec/spec_helper.rb:417:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:409:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:58:in `with_raw_context'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/redis.rb:17:in `block (3 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
# ./spec/support/capybara.rb:206:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:417:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:409:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:58:in `with_raw_context'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/redis.rb:17:in `block (3 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
Finished in 1 minute 27.56 seconds (files took 1 minute 1.83 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./ee/spec/features/users/identity_verification_spec.rb:28 # Identity Verification signing up verifying the code successfully confirms the user and shows the verification successful page
Randomized with seed 34358
[TEST PROF INFO] Time spent in factories: 00:00.010 (0.01% of total time)