Skip to content

Commit

Permalink
fix help test again
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Nov 13, 2023
1 parent 3098f55 commit 823e689
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
28 changes: 22 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"@testing-library/cypress": "^10.0.1",
"@wordpress/env": "^8.10.0",
"@wordpress/scripts": "^26.15.0",
"axe-core": "^4.8.2",
"cypress": "^13.5.0",
"cypress-axe": "^1.5.0",
"tailwindcss": "^3.3.3",
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/integration/help.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ describe('Help Page', () => {

before(() => {
cy.visit(`/wp-admin/admin.php?page=${Cypress.env('pluginId')}#/help`);
cy.injectAxe();
});

it('Is Accessible', () => {
cy.injectAxe();
cy.wait(500);
cy.a11y('.wppm-app-body');
});
Expand Down

0 comments on commit 823e689

Please sign in to comment.