Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Integration and enable back accessibility tests - Updates @faststore/cli to 3.0.115 #535

Merged
merged 6 commits into from
Oct 1, 2024

Conversation

hellofanny
Copy link
Contributor

@hellofanny hellofanny commented Sep 13, 2024

What's the purpose of this pull request?

Adds the following changes:

1cc987d [no ci] Release: 3.0.115
2d6d89e Fix: Integration and enable back accessibility tests (#2458)

Updates the PDP product path in faststore.config.js

Note:
Unfortunately, these accessibility testes are failing again, although it was passing before. We'll fix it in another version and proceed with this update.

image

Copy link

vercel bot commented Sep 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 1, 2024 6:35pm

@hellofanny hellofanny changed the title chore: Updates version to test fix: Integration and enable back accessibility tests Sep 16, 2024
hellofanny added a commit to vtex/faststore that referenced this pull request Sep 26, 2024
## 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
@hellofanny hellofanny changed the title fix: Integration and enable back accessibility tests Fix: Integration and enable back accessibility tests Sep 27, 2024
@hellofanny hellofanny changed the title Fix: Integration and enable back accessibility tests Fix: Integration and enable back accessibility tests - Updates @faststore/cli to 3.0.115 Sep 27, 2024
@hellofanny hellofanny merged commit b025230 into main Oct 1, 2024
4 of 9 checks passed
@hellofanny hellofanny deleted the fix/integration-tests branch October 1, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant