-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Integration and enable back accessibility tests (#2458)
## What's the purpose of this pull request? - Updates pdp product link for tests and updates tests to adapt to new product <img width="369" alt="image" src="https://github.com/user-attachments/assets/d44ea604-3f02-4902-a709-7b8c670693be"> The product we were testing is OutOfStock and does not have the expected ID. We switched to another product and updated the other tests accordingly." - Puts back `cy.checkA11y` for home page, collection page and product page. (a11y.test.js) - Fix automatic accessibility issues & improves overall ## How it works? This PR, should fix the failing tests below: <img width="1024" alt="image" src="https://github.com/user-attachments/assets/d2c2b4f3-dc63-4290-8bfc-74461c30a377"> <img width="1168" alt="image" src="https://github.com/user-attachments/assets/1c56bd29-7a70-4389-afcd-f7d44b9c0e89"> <img width="1004" alt="image" src="https://github.com/user-attachments/assets/ff61bf08-45b6-4b9a-8f9a-813388cf8e16"> ## How to test it? 1. You can test using this [PR](vtex-sites/starter.store#535), the integration test all should be passing. <img width="718" alt="image" src="https://github.com/user-attachments/assets/f233714c-3fe3-4d98-a924-3cc6ea344ada"> 2. Run the core locally, then run `yarn test`. All the tests should pass. ### Starters Deploy Preview vtex-sites/starter.store#535 ### References https://dequeuniversity.com/rules/axe/4.10/region?application=AxeChrome
- Loading branch information
1 parent
7948467
commit 2d6d89e
Showing
13 changed files
with
84 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
packages/core/src/components/sections/Incentives/Incentives.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters