Skip to content

Commit

Permalink
fix(tests): Update heading name in direct access test
Browse files Browse the repository at this point in the history
  • Loading branch information
ccailly committed Jan 14, 2025
1 parent b8a6afa commit 95538e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cypress/e2e/form/access_policies/direct_access.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ describe('Form access policy', () => {
.invoke('val')
.then((direct_access_url) => {
cy.visit(direct_access_url);
cy.findByRole('heading', { 'name': 'Test form for the access policy form suite' }).should('exist');
cy.findByRole('heading', { 'name': 'Form title' }).should('exist');
cy.findByRole('textbox', { 'name': 'Question 1' }).type('My answer');
cy.findByRole('button', { 'name': 'Send form' }).click();
cy.findByRole('alert').should('contain.text', 'Item successfully created');
Expand Down

0 comments on commit 95538e0

Please sign in to comment.