[Rails5] expected: "/bar" got: "/foo"
Note: add
rails5
to a branch name to trigger rails5 specific CI jobs.
https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/76051161
Failures:
1) Profile > Account Change username the user is accessible via the new path
Got 0 failures and 2 other errors:
1.1) Failure/Error: expect(find('.user-info')).to have_content(new_username)
Capybara::ElementNotFound:
Unable to find visible css ".user-info"
# ./spec/features/profiles/account_spec.rb:19:in `block (3 levels) in <top (required)>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
http://127.0.0.1:42909/bar - Failed to load resource: the server responded with a status of 404 (Not Found)
# ./spec/support/capybara.rb:92:in `block (2 levels) in <top (required)>'
2) Profile > Account Change username the old user path redirects to the new path
Failure/Error: expect(current_path).to eq(new_user_path)
expected: "/bar"
got: "/foo"
(compared using ==)
# ./spec/features/profiles/account_spec.rb:25:in `block (3 levels) in <top (required)>'
3) Profile > Account Change username with a project the project is accessible via the new path
Got 0 failures and 2 other errors:
3.1) Failure/Error: expect(find('.breadcrumbs-sub-title')).to have_content('Details')
Capybara::ElementNotFound:
Unable to find visible css ".breadcrumbs-sub-title"
# ./spec/features/profiles/account_spec.rb:46:in `block (4 levels) in <top (required)>'
3.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
http://127.0.0.1:42909/bar/project363 - Failed to load resource: the server responded with a status of 404 (Not Found)
# ./spec/support/capybara.rb:92:in `block (2 levels) in <top (required)>'
4) Profile > Account Change username with a project the old project path redirects to the new path
Failure/Error: expect(current_path).to eq(new_project_path)
expected: "/bar/project367"
got: "/foo/project367"
(compared using ==)
# ./spec/features/profiles/account_spec.rb:52:in `block (4 levels) in <top (required)>'
Finished in 16 minutes 46 seconds (files took 17.07 seconds to load)
1369 examples, 4 failures
Failed examples:
rspec ./spec/features/profiles/account_spec.rb:15 # Profile > Account Change username the user is accessible via the new path
rspec ./spec/features/profiles/account_spec.rb:22 # Profile > Account Change username the old user path redirects to the new path
rspec ./spec/features/profiles/account_spec.rb:42 # Profile > Account Change username with a project the project is accessible via the new path
rspec ./spec/features/profiles/account_spec.rb:49 # Profile > Account Change username with a project the old project path redirects to the new path