summaryrefslogtreecommitdiff
path: root/spec/features/projects/files/user_browses_lfs_files_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/files/user_browses_lfs_files_spec.rb')
-rw-r--r--spec/features/projects/files/user_browses_lfs_files_spec.rb19
1 files changed, 1 insertions, 18 deletions
diff --git a/spec/features/projects/files/user_browses_lfs_files_spec.rb b/spec/features/projects/files/user_browses_lfs_files_spec.rb
index 3976df849fa..56e18871810 100644
--- a/spec/features/projects/files/user_browses_lfs_files_spec.rb
+++ b/spec/features/projects/files/user_browses_lfs_files_spec.rb
@@ -72,24 +72,7 @@ RSpec.describe 'Projects > Files > User browses LFS files' do
expect(page).not_to have_content('Blame')
expect(page).not_to have_selector(:link_or_button, text: /^Edit$/)
- expect(page).to have_selector(:link_or_button, 'Edit in Web IDE')
- end
- end
-
- context 'when feature flag :consolidated_edit_button is off' do
- before do
- stub_feature_flags(consolidated_edit_button: false)
-
- click_link('files')
- click_link('lfs')
- click_link('lfs_object.iso')
- end
-
- it 'does not show single file edit link' do
- page.within('.content') do
- expect(page).to have_selector(:link_or_button, 'Web IDE')
- expect(page).not_to have_css('button[data-testid="edit"')
- end
+ expect(page).to have_selector(:link_or_button, 'Open in Web IDE')
end
end
end