Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/bundler/actionpack-7.2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bess authored Jan 8, 2025
2 parents 092e0f7 + 033e979 commit 594b499
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/system/work_wizard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@

click_on "Next"
expect(page).to have_css(validate_form_css)
# Force the work to have two files (readme + another file)
stub_s3 data: [FactoryBot.build(:s3_readme, work:), FactoryBot.build(:s3_file, work:)]

click_on "Previous"
expect(page).to have_css(file_upload_form_css)
Expand All @@ -96,7 +98,6 @@
click_on "Grant License and Complete"
page.driver.browser.switch_to.alert.accept
expect(page).to have_content("5-10 business days")
expect(page).to have_content(work.title)
end

context "User submits their work" do
Expand Down

0 comments on commit 594b499

Please sign in to comment.