Commit aeb8fcb8 authored by Hussain Kashef's avatar Hussain Kashef

corrected test/system/volunteer_application_test.rb to match the datepicker instead of select

parent 7d2f3ecc
Pipeline #51382 passed with stage
in 39 minutes and 27 seconds
......@@ -29,9 +29,10 @@ class VolunteerApplicationsTest < ApplicationSystemTestCase
assert page.has_text? 'Freiwilligen Anmeldung'
fill_in 'Vorname', with: 'Vorname'
fill_in 'Nachname', with: 'Name'
within '.volunteer_birth_year' do
select('1980', from: 'Jahrgang')
end
#within '.volunteer_birth_year' do
# select('1980', from: 'Jahrgang')
#end
page.execute_script("$('#volunteer_birth_year').val('01/01/1988')")
select('Frau', from: 'Anrede')
select('Syrien, Arabische Republik', from: 'Nationalität')
fill_in 'Strasse', with: 'Sihlstrasse 131'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment