Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FireLemons committed Oct 23, 2023
1 parent 1943353 commit 81030da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/system/all_casa_admins/patch_notes/index_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
click_on "Create"
end

expect(page).to have_selector(".warn-indicator", text: "Cannot save an empty patch note")
expect(page).to have_selector(".warning-notification", text: "Cannot save an empty patch note")
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/system/casa_cases/emancipation/show_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
expect(emancipation_category["data-is-open"]).to match(/true/)
find(".check-item").click
find(".emacipation-category-input-label-pair").click
expect(page).to have_css(".success-indicator", text: "Unchecked #{emancipation_option.name}")
expect(page).to have_css(".success-notification", text: "Unchecked #{emancipation_option.name}")
expect(emancipation_category["data-is-open"]).to match(/true/)
end

Expand Down

0 comments on commit 81030da

Please sign in to comment.