mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix test for picktime
Fix tests for https://github.com/openSUSE/osem/pull/2391
This commit is contained in:
parent
9959b1853b
commit
51b6606279
1 changed files with 8 additions and 0 deletions
|
|
@ -50,6 +50,14 @@ feature Conference do
|
|||
fill_in 'conference_title', with: 'New Con'
|
||||
fill_in 'conference_short_title', with: ''
|
||||
|
||||
day = Time.zone.today + 10
|
||||
page
|
||||
.execute_script("$('#conference-start-datepicker').val('" +
|
||||
"#{day.strftime('%d/%m/%Y')}')")
|
||||
page
|
||||
.execute_script("$('#conference-end-datepicker').val('" +
|
||||
"#{(day + 7).strftime('%d/%m/%Y')}')")
|
||||
|
||||
page.accept_alert do
|
||||
click_button 'Update Conference'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue