Closed bosschaert closed 5 months ago
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed. In case there are problems, just click a checkbox below to rerun the respective action.
Side note: i think .spec.
is a Ruby convention? .test.
is Node's convetion
Side note: i think
.spec.
is a Ruby convention?.test.
is Node's convetion
Yes right, and our unit tests use .test. but the Playwright convention seems to be to use .spec. so that's what I followed, see here https://playwright.dev/docs/writing-tests and a .js specific use-case https://www.lambdatest.com/learning-hub/playwright-javascript
Description
Stabilize the Playwright tests
Motivation and Context
Especially in the context of GH actions the PW tests are sometimes flaky.
The GH actions are run in a single core context which means that the browser runtimes run by PW have less cycles to catch up with any changes that are happening asynchronously. To give the browsers a little more time a few extra wait moments have been added to the tests.
How Has This Been Tested?
These are tests
Types of changes
Checklist: