diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-17 03:09:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-17 03:09:32 +0300 |
commit | 1b1bd461da768b31adb730f42060b7d6adf548c5 (patch) | |
tree | f0150b942ee4e9f5798418aad6da669de6ace00b /spec/features/projects/files | |
parent | 2c34e41161b78fddbdff9a858086e95558e06ba0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/files')
-rw-r--r-- | spec/features/projects/files/user_browses_files_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/files/user_browses_files_spec.rb b/spec/features/projects/files/user_browses_files_spec.rb index c797fd85555..8082d1bdf63 100644 --- a/spec/features/projects/files/user_browses_files_spec.rb +++ b/spec/features/projects/files/user_browses_files_spec.rb @@ -338,8 +338,8 @@ RSpec.describe "User browses files", :js, feature_category: :projects do .and have_content("Initial commit") .and have_content("Ignore DS files") - previous_commit_anchor = "//a[@title='Ignore DS files']/parent::span/following-sibling::span/a" - find(:xpath, previous_commit_anchor).click + previous_commit_link = find('.tr', text: "Ignore DS files").find("[aria-label='View blame prior to this change']") + previous_commit_link.click expect(page).to have_content("*.rb") .and have_content("Dmitriy Zaporozhets") |