Upstream sync

This commit is contained in:
Senad Uka
2020-06-18 16:56:11 +02:00
parent a7b90c223b
commit 1168bcdfdd
11 changed files with 96 additions and 16 deletions

View File

@@ -65,6 +65,8 @@ feature 'User managing appearance releases' do
expect(page).to have_content('Guardian email is not an email')
fill_in guardian_email_field, with: 'valid@email.com'
fill_in guardian_address_field, with: '123 Test Lane, New York, NY 10000'
attach_file guardian_photo_field, file_fixture('hemsworth.jpeg'), visible: :all
draw_signature file_fixture('signature.png'), 'appearance_release_signature_base64'
click_button submit_release_button
@@ -468,6 +470,10 @@ feature 'User managing appearance releases' do
'Guardian email'
end
def guardian_address_field
'Guardian address'
end
def guardian_photo_field
'appearance_release[guardian_photo]'
end