Upstream sync
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user