We are using Playwright (tS) POM. our scripts are okay when run from a local machine. But when it's run from GitHub Actions we are encountering Errors.
On the page, we have many dynamic cards. For now, 20 cards and all cards have the same locators
('//*[contains(@class,\'css-scunm\')]')
So, when GitHub actions run in some tests GitHub runs okay but in some tests, the same locator shows Errors.
How can I solve this issue?
I'll be glad if any one help.
Top comments (0)