Commit Graph

6627 Commits

Author SHA1 Message Date
Barry Hughes e32e410f62
Merge pull request #31292 from robertmassaioli/patch-1
The woocommerce_webhook_options needs webhook
2022-03-31 14:10:14 -07:00
Fernando 610a48185c
Merge pull request #32408 from woocommerce/fix/32407_move_admin_e2e_tests
Add missing Admin e2e tests
2022-03-31 14:37:23 -03:00
Barry Hughes 4646496651
Linting. 2022-03-31 10:19:06 -07:00
louwie17 e59798a336
Merge pull request #32422 from woocommerce/update/woocommerce_admin_build_watch_command
Add build-watch command for woocommerce-admin
2022-03-30 19:41:55 -03:00
Barry Hughes a41bb22c12
Add docblock for revised `woocommerce_webhook_options` hook. 2022-03-30 14:55:30 -07:00
Barry Hughes 9db2c45290
Merge pull request #31798 from Saggre/fix/documentation-typos
Fix typos in phpdocs and comments
2022-03-30 14:46:23 -07:00
Stanislav Mazur d0d2963d90 fix internal meta key getter/setter identification 2022-03-30 09:46:46 -07:00
Barry Hughes 69b6a71ab5
Merge pull request #31354 from gs-nasc/trunk
Remove zeroclipboard.

See https://developer.woocommerce.com/2022/03/30/removal-of-zeroclipboard/ for details.
2022-03-30 09:44:13 -07:00
Lourens Schep 775e7117a1 Add build-watch to most js packages and remove packages watch from woocommerce-admin command 2022-03-30 11:46:12 -03:00
louwie17 dda45f7823
Merge pull request #32404 from woocommerce/docs/update_testing_docs
Update test readme with additional error for troubleshooting
2022-03-30 10:08:23 -03:00
Chi-Hsuan Huang 2a5bc7ea75
Merge pull request #32395 from woocommerce/add/32354-php-lint-action
Fix PHP code sniff Github action
2022-03-30 16:48:01 +08:00
Chi-Hsuan Huang 54bfa1e77c
Merge pull request #32378 from woocommerce/remove/32360-unnecessary-wca-files
Remove unnecessary wooCommerce admin files
2022-03-30 14:26:10 +08:00
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 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 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
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
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
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 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 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 71350b4e8b Change script lint:js:packages to lint:js-packages 2022-03-29 16:38:26 +08:00
Chi-Hsuan Huang ecff6cd680 Remove lint-test-js.yml 2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang f2a6f93684 Update wca test command and ignore api-core-test
Update test:packages cmd
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang 4baad1a6e3 Add pr-lint-test-js.yml and remove package-js-api.yml, js_lint_test.sh 2022-03-29 16:38:06 +08:00
Nestor Soriano 6befc1d62a
Small changes related to the bump of min PHP to 7.2
- Rename wrongly cased variable
- Require higher version of maxmind/dbreader
2022-03-29 10:29:15 +02:00
RJChow e9eac24793 tsconfig modifications
- moved and updated .vscode/tasks.json up to root level, and add exclusion to .gitignore
- added --pretty to ts:check in wca package.json (because otherwise there's no syntax highlighting in the output, not sure why this is needed with nx and not without)
- added references to root tsconfig.base.json
- update development.md with instructions for ts checking
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 99e6f61dc8 Update woocommerce-admin/.eslintrc.js 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang df5b506b97 Add lint command to js packages
Update lint js commands

Update customer-effort-score/package.json
2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang 8b2a97d405 Add lint cmd to project.json 2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang 4592d49cfb Fix tsconfig path 2022-03-29 16:07:09 +08:00