Blob edit spec fails locally but passes on CI
rspec ./spec/features/projects/blobs/edit_spec.rb
in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16693 and passes on https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/49435080 but whenever I run it locally, it fails. This happens both on my branch and on master
.
The failures that show up locally are:
1) Editing file blob as a developer from MR diff returns me to the mr
Failure/Error: find('.js-edit-blob').click
Capybara::ElementNotFound:
Unable to find visible css ".js-edit-blob"
2) Editing file blob as a developer from blob file path updates content
Failure/Error: expect(page).to have_content 'NextFeature'
expected to find text "NextFeature" in "Skip to content Projects Groups Activity Milestones Snippets This project Go P project2 Overview Repository Files Commits Branches Tags Contributors Graph Compare Charts Issues 0 Merge Requests 0 CI / CD Wiki Snippets Members Collapse sidebar John Doe4 project2 Repository Your changes have been successfully committed. master project2 .gitignore Find file History Permalink Update .gitignore John Doe5 authored Jan 25, 2018 1acf8504 .gitignore 0 Bytes EditReplaceDelete"