Commit 7d2f3ecc authored by Hussain Kashef's avatar Hussain Kashef

corrected system/volunteers_test.rb to match the datepicker

parent 41485a63
Pipeline #51370 failed with stage
in 36 minutes and 47 seconds
......@@ -21,9 +21,10 @@ class VolunteersTest < ApplicationSystemTestCase
select('Frau', from: 'Anrede')
fill_in 'Vorname', with: 'Volunteer'
fill_in 'Nachname', with: 'aoz'
within '.volunteer_birth_year' do
select('1988', from: 'Jahrgang')
end
#within '.volunteer_birth_year' do
# select('1988', from: 'Jahrgang')
#end
page.execute_script("$('#volunteer_birth_year').val('01/01/1988')")
select('Syrien, Arabische Republik', from: 'Nationalität')
fill_in 'Strasse', with: 'Sihlstrasse 131'
fill_in 'PLZ', with: '8002'
......@@ -525,9 +526,10 @@ class VolunteersTest < ApplicationSystemTestCase
select('Frau', from: 'Anrede')
fill_in 'Vorname', with: 'Volunteer'
fill_in 'Nachname', with: 'aoz'
within '.volunteer_birth_year' do
select('1988', from: 'Jahrgang')
end
#within '.volunteer_birth_year' do
# select('1988', from: 'Jahrgang')
#end
page.execute_script("$('#volunteer_birth_year').val('01/01/1988')")
fill_in 'Strasse', with: 'Sihlstrasse 131'
fill_in 'PLZ', with: '8002'
fill_in 'Ort', with: 'Zürich'
......@@ -552,9 +554,10 @@ class VolunteersTest < ApplicationSystemTestCase
select('Frau', from: 'Anrede')
fill_in 'Vorname', with: 'Volunteer'
fill_in 'Nachname', with: 'aoz'
within '.volunteer_birth_year' do
select('1988', from: 'Jahrgang')
end
#within '.volunteer_birth_year' do
# select('1988', from: 'Jahrgang')
#end
page.execute_script("$('#volunteer_birth_year').val('01/01/1988')")
fill_in 'Strasse', with: 'Sihlstrasse 131'
fill_in 'PLZ', with: '8002'
fill_in 'Ort', with: 'Zürich'
......
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