Test files - on the scaffold.element.ts and helpers.ts files, await page.waitForTimeout(ONE_SECOND) were added as the tests running through github actions require a longer time to take and compare the snapshots. Without waiting before and after taking and comparing a snapshot, the tests fail.
.github/workflows/tests.yml - added github actions workflow file triggering the scaffold map tests when there's a push and pull to both develop and master branches
package.json - the jest test script was changed to consider only the scaffold elements test
package-lock.json - added package-lock.json since it is needed to run and install dependencies in the github actions workflow
What changes with this PR:
await page.waitForTimeout(ONE_SECOND)
were added as the tests running through github actions require a longer time to take and compare the snapshots. Without waiting before and after taking and comparing a snapshot, the tests fail.