Skip to content

Commit

Permalink
Merge pull request #732 from DFE-Digital/Auto-Re-enable-all-accessibi…
Browse files Browse the repository at this point in the history
…lity-checks

Auto re enable all accessibility checks
  • Loading branch information
dangood84 authored Nov 28, 2024
2 parents a154b76 + fa54c5a commit 1315102
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,11 @@ describe('Create a FAM application', () => {

application.addSchool()

// COMMENTED OUT - PLEASE SEE WORK ITEM 18999 - BUG: LIVE: Legacy A2B Accessibility Issues On JAM/FAM Name of school Page and JAM Name of Trust page
//cy.executeAccessibilityTests()
cy.executeAccessibilityTests()

whatIsTheNameOfTheSchool.selectSchoolName('Plym')

// COMMENTED OUT - PLEASE SEE WORK ITEM 18999 - BUG: LIVE: Legacy A2B Accessibility Issues On JAM/FAM Name of school Page and JAM Name of Trust page
// cy.executeAccessibilityTests()
cy.executeAccessibilityTests()

application.checkSchoolAdded()
.selectFAMSchool()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,19 @@ describe('Create a JAM application', () => {

application.addTrust()

// COMMENTED OUT - PLEASE SEE WORK ITEM 18999 - BUG: LIVE: Legacy A2B Accessibility Issues On JAM/FAM Name of school Page and JAM Name of Trust page
//cy.executeAccessibilityTests()
cy.executeAccessibilityTests()

whichTrustIsSchoolJoining.selectTrustName('Plym')

// COMMENTED OUT - PLEASE SEE WORK ITEM 18999 - BUG: LIVE: Legacy A2B Accessibility Issues On JAM/FAM Name of school Page and JAM Name of Trust page
//cy.executeAccessibilityTests()
cy.executeAccessibilityTests()

application.addSchool()

// COMMENTED OUT - PLEASE SEE WORK ITEM 18999 - BUG: LIVE: Legacy A2B Accessibility Issues On JAM/FAM Name of school Page and JAM Name of Trust page
//cy.executeAccessibilityTests()
cy.executeAccessibilityTests()

whatIsTheNameOfTheSchool.selectSchoolName('Plym')

//cy.executeAccessibilityTests() - SEE COMMENT ABOVE ON LINE 87
cy.executeAccessibilityTests()

application.selectTrustDetails()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Cypress.Commands.add('executeAccessibilityTests', () => {
cy.checkA11y(
null,
{
retries: 3,
runOnly: {
type: 'tag',
values: wcagStandards,
Expand Down

0 comments on commit 1315102

Please sign in to comment.