aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cypress/e2e/search.cy.ts
Commit message (Collapse)AuthorAgeFilesLines
* test(e2e): fix broken Cypress testsArmand Philippot2023-12-141-15/+9
| | | | | | | | Since #93db24b MSW is used in Cypress tests to intercept requests. Some tests relied on WordPress data so it becames broken. Tests are now successful but there are still some issues with hydration because all GraphQL requests are not intercepted and data are mixed between WordPress and fixtures.
* test: fix most of the e2e tests errorsArmand Philippot2023-11-151-10/+12
| | | | | | | | | * back-to-top test is not working: for some reasons, the link only appears when manually scrolling * search test has failure test: it seems the page meta is too long to load Anyway, the pages will be refactored and the e2e should also be refactored. But the back to top test remains problematic...
* refactor(routes): replace hardcoded routes with constantsArmand Philippot2023-10-241-5/+9
| | | | | | | | It makes it easier to change a route if needed and it avoid typo mistakes. I also refactored a bit the concerned files to be complient with the new ESlint config. However, I should rewrite the pages to reduce the number of statements.
* test(e2e): add search feature testArmand Philippot2022-06-021-0/+41