Skip to content

Commit 7e59a81

Browse files
committed
tweak test for stability
1 parent 1057e04 commit 7e59a81

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

spec/system/publishers/publishers_can_message_multiple_job_candidates_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
end
8585

8686
scenario "updating template", :js do
87+
expect(page).to have_content "Edit template"
8788
click_on "Edit template"
8889
fill_in_trix_editor "message_template_content", with: " "
8990
click_on "Save template"
@@ -96,7 +97,9 @@
9697
end
9798

9899
scenario "creating a new template", :js do
100+
expect(page).to have_content "Create new template"
99101
click_on "Create new template"
102+
expect(page).to have_content "Save template"
100103
click_on "Save template"
101104
expect(page).to have_content "Enter a template name"
102105

0 commit comments

Comments
 (0)