-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: E2E Tests with Playwright (#3430)
* initial commit for e2e * updated readme * activate only stackable for all tests * add tsconfig * add tests for settings page and editor page * add tests for site editor, global settings * minor change to tests for admin and block editor * use custom test utils * run tests * update playwright workflows * add .wp-env.json * add env * fix env slug * log plugins installed * update steps, slug * install playwright browsers * comment out site editor tests, add reporter * add try catch for newly installed plugin * update admin test * update stackable fixture * comment on PR * fix PR comment * add id for upload artifact, update comment body * update yml file * include site editor tests * minor update in yml file * always update comment * upload traces * test script * update comment content * get failed tests * use $GITHUB_OUTPUT * update to multiline * update output name * fix failed tests content * escape special characters * use markdown to output * run mto even on fail * strip Ansi Escapes * try multiple upload * test multiple upload * use test ids and trace file path * update reporter * test matrix * update .wp-env.json and name * update php version, remove unit tests * continue matrix even if one job fails * use different artifact name based on matrix * try all test env * remove comments, update matrix * update php version * update conditions, log wp and php version * add quotes * update php version * run other tests * test custom reporter * update condition * add report to summary * comment site editor tests temporarily * update report url * update wp version * update block editor test * use custom way to get block attributes * fix missing global settings for older wp versions * add comments, update tests * update tests * test with existing post * update command * use tests-cli * run wp-env first * update file path * check post content * update file path * update file path * update reporter * update locator for global settings block defaults * check if settings are open in editor, correct typo * update readme, global settings test * update failing tests in premium * update test to prevent flakiness * make sure global block default gets updated * update to default block page --------- Co-authored-by: [email protected] <>
- Loading branch information
Showing
4 changed files
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters