Commit 8dce7880 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Add wait_for_vue_resource where needed

parent ccb6b191
module SharedIssuable
include Spinach::DSL
include WaitForVueResource
def edit_issuable
find('.issuable-edit', visible: true).click
......@@ -57,6 +58,7 @@ module SharedIssuable
step 'I visit merge request page "Enterprise fix"' do
mr = MergeRequest.find_by(title: 'Enterprise fix')
visit namespace_project_merge_request_path(mr.target_project.namespace, mr.target_project, mr)
wait_for_vue_resource
end
step 'I visit issue page "Community issue"' do
......@@ -91,6 +93,7 @@ module SharedIssuable
from_project_name: 'Community',
user_name: 'Mary Jane'
)
wait_for_vue_resource
end
step 'I should see a note linking to "Enterprise issue" issue' do
......
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