Commit 5bd8ed4a authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Add wait_for_vue_resource after clicking Approve

parent 46906ac3
......@@ -638,12 +638,16 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
page.within '.mr-state-widget' do
expect(page).not_to have_button("Approve")
end
wait_for_vue_resource
end
step 'I should see approved merge request "Bug NS-04"' do
page.within '.mr-state-widget' do
expect(page).to have_button('Merge', disabled: false)
end
wait_for_vue_resource
end
step 'I should see message that merge request can be merged' 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