Skip to content

Commit

Permalink
Devex 10382: Look for correct selector for the page under test
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelschneiderman committed May 28, 2024
1 parent 7c284cd commit 6ce4333
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Login Page Accessibility', () => {
it('should be free of a11y issues', () => {
cy.visit('/create-account/petitioner');

cy.get('[data-testid="email-input"]');
cy.get('[data-testid="create-petitioner-account-container"]');

cy.injectAxe();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export const CreatePetitionerAccount = connect({}, () => {
</div>
</div>

<div className="grid-row bg-white desktop:padding-x-5 padding-y-4 create-petitioner-account">
<div
className="grid-row bg-white desktop:padding-x-5 padding-y-4 create-petitioner-account"
data-testid="create-petitioner-account-container"
>
<CreatePetitionerAccountForm />
<CreatePetitionerAccountInfo />
</div>
Expand Down

0 comments on commit 6ce4333

Please sign in to comment.