PNI - Fix PNI Playwright tests #9373
Labels
buyer's guide 🛍
Issues related to the buyer's guide
code cleanup
engineering
maintain
Maintain digital systems
purge
Issues with this label will be purged from our backlog unless there is a very good reason.
At the moment, the PNI search test for playwright is failing due to the animations that load in the products. This is causing a random number to be returned in the assert statements, we should figure out a way to get a consistent number to test against.
We should break down the existing test into smaller tests so it will be easier to debug using test hooks https://playwright.dev/docs/writing-tests#using-test-hooks. Right now we have one test with multiple places that can error which makes it hard to know what is causing the issue.
Viewing playwright documentation should be done before attempting this ticket: https://playwright.dev/docs/intro
Dev Tasks:
fixme
PNI search
testPNI search
to its own fileThe text was updated successfully, but these errors were encountered: