Skip to content

Commit

Permalink
Fix test for branch packages in modal
Browse files Browse the repository at this point in the history
  • Loading branch information
vpereira committed Dec 10, 2018
1 parent 0228614 commit 042c9aa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
sleep 1 # Needed to avoid a flickering test.
expect(page).to have_text('Source')

click_button('Accept')
within('#branch-modal .modal-footer') do
click_button('Accept')
end

expect(page).to have_text('Successfully branched package')

# change the package sources so we have a difference
Expand Down

0 comments on commit 042c9aa

Please sign in to comment.