Skip to content

Commit

Permalink
Merge pull request #1517 from alphagov/temporarily-disable-test
Browse files Browse the repository at this point in the history
Temporarily skip test
  • Loading branch information
lauraghiorghisor-tw authored Aug 6, 2024
2 parents d7c1fe4 + 9bb325f commit eff7b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/features/preventing_loss_of_changes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
stub_const("PUBLISHING_API", publishing_api)
end

it "asks the user for confirmation when navigating away via 'Request review'", js: true do
xit "asks the user for confirmation when navigating away via 'Request review'", js: true do
guide = create(:guide, :with_draft_edition, slug: "/service-manual/topic-name/test")
visit edit_guide_path(guide)
fill_in "Body", with: "This has changed"
Expand All @@ -28,7 +28,7 @@
visit edit_guide_path(guide)
end

it "does not notify the user when navigating away via 'Save'", js: true do
xit "does not notify the user when navigating away via 'Save'", js: true do
guide = create(:guide, :with_draft_edition, slug: "/service-manual/topic-name/test")
visit edit_guide_path(guide)
fill_in "Body", with: "This has changed"
Expand Down

0 comments on commit eff7b30

Please sign in to comment.