update specs
This commit is contained in:
@@ -324,18 +324,6 @@ feature 'User managing appearance releases' do
|
||||
expect(page).to have_content no_appearance_releases
|
||||
end
|
||||
|
||||
scenario 'Message is shown when matching job is completed', js: true do
|
||||
visit project_appearance_releases_path(project)
|
||||
|
||||
attach_file import_appearance_release_field, Rails.root.join(file_fixture('person_photo.png')), visible: false
|
||||
allow(MatchAppearanceReleasesJob).to receive(:perform_later).with(project, anything)
|
||||
click_button submit_create_button
|
||||
expect(page).to have_content matching_started
|
||||
expect(page).to have_content no_appearance_releases
|
||||
expect(page).not_to have_content matching_started
|
||||
expect(page).to have_content matching_completed
|
||||
end
|
||||
|
||||
scenario 'user leaving the page is presented with the warning if file upload is in progress', js: true do
|
||||
skip "Test is inconsistently failing in CI"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user