Commit Graph

47478 Commits

Author SHA1 Message Date
Moon 9e1d11abdf
Merge pull request #32409 from woocommerce/fix/code-coverage
Fix broken code coverage
2022-03-29 22:14:04 -07:00
Chi-Hsuan Huang b85eb94234 Ignore phpcs-report.xml 2022-03-30 11:45:31 +08:00
Chi-Hsuan Huang d04ace17e8 Fix woocommerce tests/bin/phpcs.sh
Fix tests/bin/phpcs.sh
2022-03-30 11:45:31 +08:00
moon 150142c139 Remove duplicated call 2022-03-29 20:29:19 -07:00
moon 8632950ab8 Fix typo 2022-03-29 20:28:36 -07:00
rodelgc b30179f8d2
Added: Command to generate HTML report 2022-03-30 10:57:11 +08:00
Chi-Hsuan Huang 0be52342b7
Merge pull request #32372 from woocommerce/add/test-lint-js-action
Add lint-test JS Github action
2022-03-30 10:23:50 +08:00
moon 6faba12094 Increase code coverage job timeout to 20 mins 2022-03-29 17:27:07 -07:00
moon 11515797a4 Add return type to make tearDownAfterClass compatible with the parent 2022-03-29 17:10:40 -07:00
moon 93bd09ea2d Merge branch 'fix/code-coverage' of github.com:woocommerce/woocommerce into fix/code-coverage 2022-03-29 17:06:40 -07:00
moon fffbf56c1c Call parent tearDownAfterClass 2022-03-29 17:06:32 -07:00
Moon 01a77550d3
Merge branch 'trunk' into fix/code-coverage 2022-03-29 17:03:11 -07:00
moon 21498bd712 Exclude WC_Admin_Tests_Reports_Orders_Stats from code coverage 2022-03-29 16:58:46 -07:00
moon a99c093a69 Remove unnecessary call to regenerate 2022-03-29 16:44:14 -07:00
moon 6f1502d20b Delete wc_installing transient before running tests -- this prevents CategoryLookup::on_create() from running 2022-03-29 15:46:43 -07:00
Fernando Marichal 89f6032cba Add missing e2e tests
This commit adds the tests: `testDifferentStoreCurrenciesWCPay`, `testSubscriptionsInclusion` and `testBusinessDetailsForm`
2022-03-29 19:16:03 -03:00
barryhughes e1a943cdb3 Add shortcode resolution to sync (approved download directories). 2022-03-29 14:13:21 -07:00
barryhughes cdbbca5b1b Support shortcode-based downloadable files (as used by S3 Downloads extension). 2022-03-29 14:13:21 -07:00
barryhughes b46f28f4e2 Improve path resolution, add additional tests, clean-up tests (use data-providers). 2022-03-29 14:09:53 -07:00
Moon c13d126f11
Merge pull request #32390 from woocommerce/update/32177-deprecate-wc-admin-version-number
Deprecate WC_ADMIN_VERSION_NUMBER constant
2022-03-29 13:59:04 -07:00
moon 657819b48f Clean up attributes after the class 2022-03-29 13:31:11 -07:00
Fernando Marichal 0368fd8b43 Move `admin-homescreen` 2022-03-29 14:58:04 -03:00
barryhughes a41ae705dd Rename the is_directory property to give a better sense of its role. 2022-03-29 10:18:31 -07:00
barryhughes 80397d4f73 Improve test description. 2022-03-29 10:18:31 -07:00
barryhughes 114480c23c Tweak commentary. 2022-03-29 10:18:31 -07:00
barryhughes 1aecb64be5 Cover further scenarios relating to relative URLs and traversals. 2022-03-29 10:18:31 -07:00
barryhughes cee42b7264 Enhance directory traversal handling/resolution. 2022-03-29 10:18:31 -07:00
Lourens Schep 3014f0f9f0 Update test readme with additional error for troubleshooting 2022-03-29 13:09:23 -03:00
Barry Hughes a98aa9c910
Merge pull request #32112 from woocommerce/bump-required-php-to-7.2
Bump WooCommerce minimum required PHP version to 7.2
2022-03-29 09:03:42 -07:00
Fernando bd0397285b
Merge pull request #32331 from woocommerce/update/32157_disable_welcome_modals
Experiment: disable welcome modal
2022-03-29 11:46:24 -03:00
Lucas Bustamante c22b56346b
Merge pull request #32004 from woocommerce/e2e/pkg-woocommerce-api-docs
Update docs of @woocommerce/api
2022-03-29 15:21:25 +01:00
Lucas Bustamante d45f7051a4
PR Review 2022-03-29 15:04:37 +01:00
Lucas Bustamante 3e9e76ef7a
Update packages/js/api/README.md
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:02:42 +01:00
Lucas Bustamante 4cfb412a57
PR Review 2022-03-29 15:02:04 +01:00
Lucas Bustamante 1d036a79e7
Update packages/js/api/README.md
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:00:08 +01:00
Lucas Bustamante 922a72ef7e
PR Review 2022-03-29 14:58:42 +01:00
louwie17 59c4bf0831
Merge pull request #32389 from woocommerce/dev/32355_add_screenshot_artifact
Add archive E2E screenshots step for E2E tests task
2022-03-29 08:50:23 -03:00
Nestor Soriano be213eb821
Add return type setUp and tearDown methods in admin unit tests
After the bump to PHP 7.2 all the setUp and tearDown methods
in unit test classes need to have an explicit "void" return type
declaration. This commit adds those for the woocommerce-admin tests.
2022-03-29 12:08:08 +02:00
Chi-Hsuan Huang 4b21e1d913 Remove .vscode since it has been removed to root 2022-03-29 17:48:25 +08:00
Chi-Hsuan Huang ed8c114bdd Add back woocommerce-admin.php uninstall.php 2022-03-29 17:47:18 +08:00
Chi-Hsuan Huang 4c976ebd17 Remove unnecessary wooCommerce admin files
Add back languages/README.md
2022-03-29 17:47:18 +08:00
Chi-Hsuan Huang c57b45881e
Merge pull request #32396 from woocommerce/fix/32353-storybook
Fix woocommerce admin storybook commands
2022-03-29 17:44:12 +08:00
Chi-Hsuan Huang 554d953bdc
Merge pull request #32394 from woocommerce/add/32393-cancel-previous-runs-step
Add "Cancel Previous Runs" step to `pr-*` Github actions
2022-03-29 17:36:12 +08:00
Chi-Hsuan Huang 386d173105 Update storybook webpack config to build stories 2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang 0cc5c6d515 Add expose-loader for storybook webpack config 2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang 6f03e42dd1 Add @babel/runtime to dev dependencies of js packages 2022-03-29 16:46:06 +08:00
Chi-Hsuan Huang b658920898 Fix storybook packages paths 2022-03-29 16:45:39 +08:00
Nestor Soriano 25bf59d5e7
Merge branch 'trunk' into bump-required-php-to-7.2 2022-03-29 10:45:07 +02:00
Chi-Hsuan Huang 9a4138846d Add a empty line between steps for pr-project-label.yml 2022-03-29 16:43:19 +08:00
Chi-Hsuan Huang 71350b4e8b Change script lint:js:packages to lint:js-packages 2022-03-29 16:38:26 +08:00