Merge pull request #2435 from Ana06/flickering_test_2
Fix flickering submit valid proposal test
This commit is contained in:
commit
ea91d28cc0
1 changed files with 3 additions and 2 deletions
|
|
@ -119,10 +119,11 @@ feature Event do
|
||||||
fill_in 'event_title', with: 'Example Proposal'
|
fill_in 'event_title', with: 'Example Proposal'
|
||||||
select('Example Event Type', from: 'event[event_type_id]')
|
select('Example Event Type', from: 'event[event_type_id]')
|
||||||
fill_in 'event_abstract', with: 'Lorem ipsum abstract'
|
fill_in 'event_abstract', with: 'Lorem ipsum abstract'
|
||||||
click_link 'Do you require something special?'
|
expect(page).to have_text('You have used 3 words')
|
||||||
|
|
||||||
page.find('#event_description')
|
click_link 'Do you require something special?'
|
||||||
fill_in 'event_description', with: 'Lorem ipsum description'
|
fill_in 'event_description', with: 'Lorem ipsum description'
|
||||||
|
|
||||||
click_button 'Create Proposal'
|
click_button 'Create Proposal'
|
||||||
|
|
||||||
page.find('#flash')
|
page.find('#flash')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue