Fix flickering submit valid proposal test

The `find` was added to try to fix the flickering test:

ac3337bd1e

The reason why this fail is that the Javascript is not loaded yet.
`find` and `fill_in` have the same `default_max_wait_time`. Because of
that adding `find` doesn't solve the problem. Increase wait time
instead.

Fixes https://github.com/openSUSE/osem/issues/2356
This commit is contained in:
Ana María Martínez Gómez 2019-03-08 15:15:55 +01:00
parent 1e5558660f
commit 859460e7f1
No known key found for this signature in database
GPG key ID: EACB9B4BC80C0347

View file

@ -121,8 +121,7 @@ feature Event do
fill_in 'event_abstract', with: 'Lorem ipsum abstract'
click_link 'Do you require something special?'
page.find('#event_description')
fill_in 'event_description', with: 'Lorem ipsum description'
fill_in 'event_description', with: 'Lorem ipsum description', wait: 60
click_button 'Create Proposal'
page.find('#flash')