mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Update Javascript tests
This only updates the JavaScript tests where we don't need to make changes to the actual JavaScript too.
This commit is contained in:
@@ -19,7 +19,7 @@ describe('Prevent duplicate form submissions', () => {
|
|||||||
// set up DOM
|
// set up DOM
|
||||||
document.body.innerHTML = `
|
document.body.innerHTML = `
|
||||||
<form action="/" method="post">
|
<form action="/" method="post">
|
||||||
<button class="button" type="submit">Continue</button>
|
<button class="govuk-button" type="submit">Continue</button>
|
||||||
</form>`;
|
</form>`;
|
||||||
|
|
||||||
form = document.querySelector('form');
|
form = document.querySelector('form');
|
||||||
|
|||||||
@@ -73,11 +73,11 @@ describe('Preview pane', () => {
|
|||||||
<input autocomplete="off" class="form-control form-control-1-1 " id="search" name="search" required="" rows="8" type="search" value="">
|
<input autocomplete="off" class="form-control form-control-1-1 " id="search" name="search" required="" rows="8" type="search" value="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="page-footer">
|
<div class="page-footer">
|
||||||
<button type="submit" class="button">Preview</button>
|
<button type="submit" class="govuk-button">Preview</button>
|
||||||
</div>
|
</div>
|
||||||
</form>`;
|
</form>`;
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ describe("Stick to top/bottom of window when scrolling", () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="page-footer">
|
<div class="page-footer">
|
||||||
<button type="submit" class="button">Continue</button>
|
<button type="submit" class="govuk-button">Continue</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</main>
|
</main>
|
||||||
@@ -701,7 +701,7 @@ describe("Stick to top/bottom of window when scrolling", () => {
|
|||||||
</div>
|
</div>
|
||||||
<div class="page-footer js-stick-at-bottom-when-scrolling">
|
<div class="page-footer js-stick-at-bottom-when-scrolling">
|
||||||
<form method="post" action="">
|
<form method="post" action="">
|
||||||
<button type="submit" class="button">Send 1 email </button>
|
<button type="submit" class="govuk-button">Send 1 email </button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user