woocommerce/.github
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
..
ISSUE_TEMPLATE Removed separate WCA entry in issue template contact_link 2022-03-28 15:30:13 +08:00
actions/setup-woocommerce-monorepo Update the pnpm constraint to 7.12.2+ now auto-install is fixed. (#34872) 2022-10-03 10:52:42 +13:00
workflows Implement `maxFailures` and warning messages (#33977) 2022-10-05 10:44:20 -07:00
CONTRIBUTING.md Update .github/CONTRIBUTING.md 2022-04-13 12:37:17 +08:00
ISSUE_TEMPLATE.md Updated GitHub issue templates to include more details of the information we require. 2020-06-14 21:35:05 +01:00
PULL_REQUEST_TEMPLATE.md Update PNPM commands in documentation post PNPM 7 update (#34853) 2022-09-27 13:55:31 -07:00
project-pr-labeler.yml Prefixed Private JS Packages (#33218) 2022-05-31 15:42:00 -07:00
wiki.png wiki 2017-01-27 11:24:16 +00:00