Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Oct 21, 2024
1 parent 9b05884 commit 66a2d6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/students/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<h4>Invitation</h4>
<p>
<% if @student.invitation_sent_at.nil? %>
<%= link_to_if AppSettings.email_welcome_allow, "Send invitation email", send_invite_student_path(@student) %>
<%= link_to_if AppSettings.email_welcome_allow, "Send invitation email", html {id: "#send_invitation_email"}, send_invite_student_path(@student) %>
<% else %>
Sent on <%= @student.invitation_sent_at.strftime("%B %d, %Y")%>
<span class="soft weak">(<%= link_to_if AppSettings.email_welcome_allow, "Send Again", send_invite_student_path(@student), class: "soft weak"%>)</span>
Expand Down
4 changes: 2 additions & 2 deletions test/system/students_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class StudentsTest < ApplicationSystemTestCase
click_link('Create ETD Student Record')
page.accept_alert

sleep 5
page.should have_selector?('send_invitation_email')

save_screenshot

click_link('Send invitation email')
Expand Down

0 comments on commit 66a2d6e

Please sign in to comment.