Commit 8e517d10 authored by yo's avatar yo Committed by Yogi

Fix tests

parent 006a2a3f
...@@ -24,6 +24,6 @@ RSpec.describe 'Group labels' do ...@@ -24,6 +24,6 @@ RSpec.describe 'Group labels' do
end end
it 'shows an edit label button', :js do it 'shows an edit label button', :js do
expect(page).to have_selector('.label-action.edit') expect(page).to have_selector('.edit')
end end
end end
...@@ -13,7 +13,7 @@ RSpec.shared_examples 'User views Git access wiki page' do ...@@ -13,7 +13,7 @@ RSpec.shared_examples 'User views Git access wiki page' do
expect(page).to have_text("Clone repository #{wiki.full_path}") expect(page).to have_text("Clone repository #{wiki.full_path}")
within('.git-clone-holder') do within('.js-git-clone-holder') do
expect(page).to have_css('#clone-dropdown', text: 'HTTP') expect(page).to have_css('#clone-dropdown', text: 'HTTP')
expect(page).to have_field('clone_url', with: wiki.http_url_to_repo) expect(page).to have_field('clone_url', with: wiki.http_url_to_repo)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment