Commit Graph

40308 Commits

Author SHA1 Message Date
Rodel cddf617808 Tests around the default shipping zone 2021-12-03 01:38:16 +08:00
Greg 7891d382c4
Merge pull request #31109 from woocommerce/add/api-t-order-search
Added tests for order search
2021-12-02 10:28:34 -07:00
roykho 68fbca56dc
Upgrade node-sass back to latest 2021-12-02 08:23:11 -08:00
roykho b9c3644a84
Downgrade node-sass version 2021-12-02 08:11:56 -08:00
roykho edf5512311
Update node-sass 2021-12-02 07:24:30 -08:00
jamelreid 0d2b20b309 Added jest object setup 2021-12-02 09:41:04 -05:00
jamelreid 35286bbbe6 Added jest-object.config.js file
This file is intended to be used to configure the jest object in a single place.

The setupJestObject method can be imported from @woocommerce/e2e-environment for easy usage.
2021-12-02 09:40:27 -05:00
Rodel c40d12fc50 Simplified test data setup 2021-12-02 21:52:25 +08:00
Rodel d10e40f8fa Merge branch 'trunk' into add/api-tests-add-complex-order 2021-12-02 21:35:16 +08:00
Rodel daa43add85 Improved test readability 2021-12-02 21:33:52 +08:00
Rodel 46d60f9b87 Add api group to test, and other minor changes 2021-12-02 14:06:19 +08:00
jamelreid 3a39d7d9fc Updated check for default category 2021-12-01 15:48:31 -05:00
jamelreid 6fa14b0b6c Set jest.retryTimes wih the E2E_RETRY_TIME env 2021-12-01 14:35:25 -05:00
jamelreid 920c1a7580 Updated testRunner to be jest-circus 2021-12-01 14:35:06 -05:00
jamelreid 69dc645f0e Added the jest-circus package
In jest version before 27, we need to use jest-circus. For 27 and after, jest-circus is the default test runner.
2021-12-01 14:34:28 -05:00
jamelreid f8210cade8 Updated README.md 2021-12-01 14:34:06 -05:00
jamelreid 72cf968bce Updated CHANGELOG.md 2021-12-01 14:33:34 -05:00
Rodel ba87378479 Removed unnecessary property in test data 2021-12-02 00:28:55 +08:00
Rodel dd3b372658 Minor cleanup 2021-12-01 23:44:34 +08:00
Rodel 99f63cb378 Merge branch 'trunk' into add/api-t-order-search 2021-12-01 23:43:23 +08:00
Rodel 3f269b9129 Set test data within the test 2021-12-01 23:40:18 +08:00
Rodel e551881817 Revert unnecessary change 2021-12-01 23:26:02 +08:00
Jamel Noel Reid e0516c475d
Merge pull request #31314 from woocommerce/fix/31305
Update setBrowserViewport to use default dimensions
2021-12-01 09:24:30 -05:00
jamelreid c175284139 Used setBrowserViewport instead of setViewport 2021-12-01 08:34:54 -05:00
Claudio Sanches ac799921a3
Merge pull request #31335 from woocommerce/add/cleanup
Add/cleanup
2021-11-30 20:32:57 -03:00
Greg 31409870ef
Merge pull request #31235 from woocommerce/fix/30866
Deprecate E2E setup and onboarding tests
2021-11-30 13:38:01 -07:00
Jeff Stieler 21f6ea6ae5 Add test for coupon meta data to API test. 2021-11-30 15:19:01 -05:00
Jeff Stieler 4366de753e Format test file. 2021-11-30 15:18:40 -05:00
Jeff Stieler 35c7ad75d5 Add unit test. 2021-11-30 14:58:18 -05:00
Ron Rennick 519b4f6de4 fix lock merge conflict 2021-11-30 15:48:39 -04:00
roykho c5be40ec15
Update doc 2021-11-30 11:33:44 -08:00
roykho 20ef737a02
Move ignored paths to plugin specific 2021-11-30 11:32:34 -08:00
Ron Rennick dd7eae42d1 update imports to ES6 format, pnpm-lock.yaml 2021-11-30 15:16:51 -04:00
Jeff Stieler 3f7dbcd43b Add coupon meta data to backend and API orders. 2021-11-30 13:57:55 -05:00
jamelreid a76faaf72c Added setViewport
This change is done to ensure that these tests pass.

Wonky Tests:
- 'can create simple virtual product and add it to the cart'
- 'can create simple non-virtual product and add it to the cart'

It is observed that these tests fail when the following criteria are met:
- Running in headless mode
- Viewport is not set to 960x700

It is observed to pass when:
- Running in non-headless
- Running as an individual test file

The most likely culprit causing this issue is the verifyAndPublish function. More specifically, the element with the selector '.updated.notice' does not show up when the failing criteria are met.
2021-11-30 08:40:01 -05:00
Christopher Allford df08cae9a0
Merge pull request #31299 from woocommerce/update/woocommerce-blocks-6.3.3
Update WooCommerce Blocks to 6.3.3
2021-11-29 20:41:52 -08:00
Albert Juhé Lluveras 6e27a3204e Update WooCommerce Blocks to 6.3.3 2021-11-29 17:51:41 -08:00
Christopher Allford c55f6dbe1b
Merge pull request #31328 from woocommerce/dev/bump-woo-admin-2.9.0-final
Bump Woo Admin package to 2.9.0 final
2021-11-29 17:16:55 -08:00
Moon 7286dca881 Bump woocommerce-admin version to 2.9.0 2021-11-29 15:56:18 -08:00
jonathansadowski 24b327bb59
Merge pull request #31301 from woocommerce/update/distignore
Exclude changelog directory from deployments
2021-11-29 13:14:42 -06:00
jamelreid 0943490e1f Removed unnecessary setViewport 2021-11-29 13:55:05 -05:00
jamelreid 92ae77c817 Updated browser viewport dimensions 2021-11-29 13:54:44 -05:00
jamelreid 7ac1fa6369 Updated CHANGELOG.mdO 2021-11-29 13:54:15 -05:00
roykho f0dc99efcd
Merge branch 'add/legacy-assets-build' into trunk 2021-11-29 10:28:28 -08:00
roykho 2ab1393bdc
Merge branch 'trunk' into add/legacy-assets-build 2021-11-29 10:26:05 -08:00
roykho 1f7f576bbe
Use correct path 2021-11-29 10:06:01 -08:00
roykho 2c0487e152
Ignore tsconfig.tsbuildinfo 2021-11-29 09:59:53 -08:00
roykho 3d7ec4cd59
Remove redundant grunt items 2021-11-29 09:45:05 -08:00
Roy Ho 9e744e4029
Merge pull request #31312 from woocommerce/fix/formatter
Fix PHP Fatal error in Changelogger Formatter class
2021-11-29 07:28:34 -08:00
Néstor Soriano 53dc551f44
Merge pull request #31308 from woocommerce/up/action-scheduler
Update AS to 3.4
2021-11-29 10:16:19 +01:00