BigW Consortium Gitlab

Commit 4fd87421 by Regis

fix failing slash command specs

parent 0a725c80
......@@ -3,7 +3,6 @@
shared_examples 'issuable record that supports slash commands in its description and notes' do |issuable_type|
include SlashCommandsHelpers
include WaitForVueResource
let(:master) { create(:user) }
let(:assignee) { create(:user, username: 'bob') }
......@@ -19,7 +18,6 @@ shared_examples 'issuable record that supports slash commands in its description
project.team << [assignee, :developer]
project.team << [guest, :guest]
login_with(master)
wait_for_vue_resource
end
after do
......@@ -46,7 +44,7 @@ shared_examples 'issuable record that supports slash commands in its description
end
end
describe "note on #{issuable_type}" do
describe "note on #{issuable_type}", js: true do
before do
visit public_send("namespace_project_#{issuable_type}_path", project.namespace, project, issuable)
end
......
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