Skip to content

Commit

Permalink
fix: add the tou-prompts to the CI cypress tests; fix up the tou prom…
Browse files Browse the repository at this point in the history
…pt so it doesnt have duplicate IDs
  • Loading branch information
andrewleith committed Sep 23, 2024
1 parent 1454a26 commit 53a4a57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/components/tou-prompt.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ <h2 class="heading-medium">{{ _('Review your activity') }}</h1>
{{ _('If this is not correct, ') }}<a href="{{ url_for('main.contact') }}" target="_blank">{{ _('contact us') }}</a>.
</p>
</div>
<div id="tou-prompt" data-testid="tou-prompt" class="mt-16">
<h2 class="heading-medium mt-0 mb-6" data-testid="tou-heading">{{ _('Know your responsibilities') }}</h2>
<div class="mt-16">
<h2 class="heading-medium mt-0 mb-6">{{ _('Know your responsibilities') }}</h2>
<div data-testid="tou-terms">
<p>
{{ _('By using GC Notify, you accept our ') }}
Expand Down
1 change: 1 addition & 0 deletions tests_cypress/cypress/e2e/admin/ci.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "./menu/disclosure_menu.cy";
import "./sitemap/sitemap.cy";
import "./branding/all.cy";
import "./tou_dialog.cy";
import "./tou_prompt.cy";
import "./template-filters.cy";
import "./template-categories.cy";
import "./template/create-template.cy";
Expand Down

0 comments on commit 53a4a57

Please sign in to comment.