Skip to content

Commit

Permalink
Adapt spec now it's no longer submitting
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Oct 8, 2024
1 parent 5c7edb8 commit f828c30
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/features/work_packages/edit_work_package_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,11 @@ def visit!
subject_field.expect_state_text "My new subject!"
end

it "submits the edit mode when changing the focus" do
it "does not close the edit mode when changing the focus" do
page.find("body").click

wp_page.expect_toast(message: "Successful update")
subject_field.expect_inactive!
subject_field.expect_state_text "My new subject!"
subject_field.expect_active!
wp_page.expect_no_toaster(type: :success, message: "Successful update", wait: 1)
end
end
end

0 comments on commit f828c30

Please sign in to comment.