woocommerce/.github/workflows/scripts
rodelgc f8ea46b086
Implement `maxFailures` and warning messages (#33977)
* Add `maxFailures`

* Intentionally fail a test for testing the failure limit

* Add changelog

* Add step to get total number of E2E tests

* Increase max failures

* Add warnings to the test summary.
Also moved some stuff around.

* Update changelog

* Use env var to set `maxFailures` value instead of hard-coding it

* Make sure env var is converted to a number

* Allow maxFailures even if not on CI

* Show incomplete e2e run warning only when E2E_MAX_FAILURES is set

* Safely escape new lines in comment body

* Fix returned stringified summary

* Remove unnecessary newline escaping

* Fix incorrect reference to E2E_MAX_FAILURES

* Minor formatting change

* Shorten warning messages

* Minor change in warning message

* Intentionally fail only 1 test

* Remove intentional failures

* Removed duplicate env declaration

* Correct pnpm command and playwright config file location

* Simplify reference to CI variable

* Remove unnecessary if condition

* Remove references to the old E2E_PLAYWRIGHT flag

* Remove references to the old E2E_PPTR_SUMMARY_PATH variable

* Test for 2 warnings

* Revert to correct locator

* Test for only 1 warning

* Pass all tests
2022-10-05 10:44:20 -07:00
..
add-post-merge-comment.php Update PR template and post-merge comment for changelogger 2022-04-13 10:16:33 -05:00
assign-milestone-to-merged-pr.php Add github workflow to automatically enforce the code freeze. 2022-02-09 13:43:05 -06:00
fetch-asset-id.js Fixed typo 2022-02-10 15:22:03 -05:00
is-community-contributor.js Add workflow to label community PRs and Issues. (#34309) 2022-08-23 14:01:12 -05:00
post-request-shared.php Improve messaging when milestone or release branch already exist 2022-02-25 15:02:15 -06:00
prepare-test-summary.js Implement `maxFailures` and warning messages (#33977) 2022-10-05 10:44:20 -07:00
release-changelog.php Split changelog steps from code-freeze action (#34027) 2022-07-21 17:58:23 -05:00
release-code-freeze.php Release automation: generate changelog during code freeze (#33046) 2022-06-16 14:44:07 -05:00