Merge pull request #2697 from javierv/2558-fix_flay_spec_supporting_proposals
Fix flaky spec: Proposals Voting Voting proposals on behalf of someone in show view
This commit is contained in:
@@ -159,6 +159,7 @@ feature 'Proposals' do
|
||||
click_link "Support proposals"
|
||||
|
||||
within(".proposals-list") { click_link proposal.title }
|
||||
expect(page).to have_content proposal.code
|
||||
within("#proposal_#{proposal.id}_votes") { click_link('Support') }
|
||||
|
||||
expect(page).to have_content "1 support"
|
||||
|
||||
Reference in New Issue
Block a user