Commit Graph

40242 Commits

Author SHA1 Message Date
jamelreid 021b61a5f9 Merge branch 'trunk' into add/jest-retry 2021-12-06 17:50:22 -05:00
Greg abd64e00ed
Merge pull request #31375 from woocommerce/fix/e2e-unhandled-promise-rejection
Fix/e2e unhandled promise rejection
2021-12-06 15:41:12 -07:00
jamelreid cbbe8eeec1 Updated CHANGELOG.md 2021-12-06 16:10:55 -05:00
jamelreid b7f11e3527 Removed waitForNavigation command 2021-12-06 15:37:30 -05:00
jamelreid 63489fd85f Added shopper.logout() in afterAll block 2021-12-06 12:57:16 -05:00
jamelreid 76548b872c Awaited shopper.logout() 2021-12-06 12:56:56 -05:00
jamelreid 18283d2b1a Merge branch 'trunk' into add/jest-retry 2021-12-03 14:25:00 -05:00
Roy Ho 313d40d396
Merge pull request #31352 from woocommerce/fix/failing-ci
Update node-sass
2021-12-02 20:14:03 -08:00
roykho 24fd856bc5
Revert change 2021-12-02 19:30:32 -08:00
roykho f4f2184630
Try networkidle2 2021-12-02 19:11:20 -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
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
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
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