Skip to content

Remove email_opt_in_registration_spec.rb from quarantine

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

ee/spec/features/registrations/email_opt_in_registration_spec.rb

Suspect changes to Chrome's security has broken this test:

rspec ee/spec/features/registrations/email_opt_in_registration_spec.rb

https://gitlab.com/gitlab-org/gitlab/-/jobs/11313896680#L3728

     2.2) Failure/Error: raise BrowserConsoleError, message
          BrowserConsoleHelpers::BrowserConsoleError:
            Unexpected browser console output:
            http://127.0.0.1:41065/users/sign_up 119 Refused to load the script 'https://geolocation.onetrust.com/cookieconsentpub/v1/geo/location/geofeed' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' http://localhost:* https://www.google.com/recaptcha/ https://www.recaptcha.net/ https://www.gstatic.com/recaptcha/ https://apis.google.com https://*.arkoselabs.com *.googletagmanager.com 'nonce-sGV78IavpE8kFxzyuTcTLA=='". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
Edited by 🤖 GitLab Bot 🤖