Skip to content

Commit

Permalink
Fix test typo and formatting (ONSdigital#1466)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar authored Aug 12, 2024
1 parent b24d7ba commit 91d0437
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions templates/confirm-email.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ <h1 class="question__title ons-u-fs-xxl" data-qa="confirm-email-title">{{ conten
"variants": 'timer',
"classes": "ons-u-mt-xl",
"attributes": {
"data-qa": "btn-submit",
"data-ga-category": "Button",
"data-ga-action": "Submit",
"data-ga-label": "Confirm",
"data-ga-page": "Confirmation Email",
"data-ga": "click",
"data-qa": "btn-submit",
"data-ga-category": "Button",
"data-ga-action": "Submit",
"data-ga-label": "Confirm",
"data-ga-page": "Confirmation Email",
"data-ga": "click",
}
})
}}
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/spec/checkbox.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('Checkbox with "other" option', () => {
);
});

it("Given a mandatory checkbox answer, when there is an error on the page for other field and I enter valid value and submit page, then the error is cleared and I navigate to next page.s", async () => {
it("Given a mandatory checkbox answer, when there is an error on the page for other field and I enter valid value and submit page, then the error is cleared and I navigate to next page.", async () => {
await $(MandatoryCheckboxPage.other()).click();
await click(MandatoryCheckboxPage.submit());
await expect(await $(MandatoryCheckboxPage.error()).isDisplayed()).toBe(true);
Expand Down

0 comments on commit 91d0437

Please sign in to comment.