This content originally appeared on DEV Community and was authored by Atai Rabbi
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.
This content originally appeared on DEV Community and was authored by Atai Rabbi
Atai Rabbi | Sciencx (2024-08-21T07:07:55+00:00) GitHub Actions : Issues for checking the visibility of locators (Playwright). Retrieved from https://www.scien.cx/2024/08/21/github-actions-issues-for-checking-the-visibility-of-locators-playwright/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.