Transient failures in spec/features/profiles/preferences_spec.rb
As seen in https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/28661176:
Failures:
1) Profile > Preferences User changes their default dashboard updates their preference
Failure/Error: expect(page).to have_content("You don't have starred projects yet")
expected to find text "You don't have starred projects yet" in "Skip to content Toggle navigation Projects Go Customize your experience Change syntax themes, default project pages, and more in preferences. Check it out Welcome to GitLab Code, test, and deploy together Create a group for several dependent projects. Groups are the best way to manage projects and members. New group Create a project You don't have access to any projects right now. You can create up to 42 projects. New project"
# ./spec/features/profiles/preferences_spec.rb:43:in `block (4 levels) in <top (required)>'
# ./spec/support/capybara_helpers.rb:19:in `allowing_for_delay'
# ./spec/features/profiles/preferences_spec.rb:40:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:102:in `block (2 levels) in <top (required)>'
Finished in 22 minutes 14 seconds (files took 26.15 seconds to load)
1484 examples, 1 failure
Failed examples:
rspec ./spec/features/profiles/preferences_spec.rb:36 # Profile > Preferences User changes their default dashboard updates their preference
and as seen in https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/28665321:
1) Profile > Preferences User changes their default dashboard creates a flash message
Failure/Error: expect(page).to have_content('Preferences saved.')
expected to find text "Preferences saved." in ""
# ./spec/features/profiles/preferences_spec.rb:56:in `block in expect_preferences_saved_message'
# ./spec/features/profiles/preferences_spec.rb:55:in `expect_preferences_saved_message'
# ./spec/features/profiles/preferences_spec.rb:33:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:102:in `block (2 levels) in <top (required)>'
Finished in 31 minutes 40 seconds (files took 33.36 seconds to load)
1116 examples, 1 failure
Failed examples:
rspec ./spec/features/profiles/preferences_spec.rb:29 # Profile > Preferences User changes their default dashboard creates a flash message