diff --git a/spec/features/projects/files/find_files_spec.rb b/spec/features/projects/files/find_files_spec.rb index 06f52bef902..716b7591b95 100644 --- a/spec/features/projects/files/find_files_spec.rb +++ b/spec/features/projects/files/find_files_spec.rb @@ -14,6 +14,7 @@ feature 'Find files button in the tree header', feature: true do project.namespace, project ) + expect(page).to have_selector('.tree-controls .shortcuts-find-file') end @@ -23,6 +24,7 @@ feature 'Find files button in the tree header', feature: true do project, project.default_branch ) + expect(page).to have_selector('.tree-controls .shortcuts-find-file') end end