f8ea46b086
* 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 |
||
---|---|---|
.. | ||
ISSUE_TEMPLATE | ||
actions/setup-woocommerce-monorepo | ||
workflows | ||
CONTRIBUTING.md | ||
ISSUE_TEMPLATE.md | ||
PULL_REQUEST_TEMPLATE.md | ||
project-pr-labeler.yml | ||
wiki.png |