jamelreid
c34dde8714
Removed unused import
2021-12-13 19:10:15 -05:00
jamelreid
f132a10129
Required `config` from @woocommerce/e2e-environment package
2021-12-13 19:10:04 -05:00
jamelreid
84f98b5ae9
Required `config` from @woocommerce/e2e-environment package
2021-12-13 18:36:18 -05:00
jamelreid
e789dbeada
Added config to e2e-environment exports
2021-12-13 18:33:17 -05:00
jamelreid
ae2e004c0e
Added custom config.js to e2e-environment package
...
This custom config.js provides all the functionality of the config package along with extending the `get` method to accept an optional second argument that will be used if the property is not found in the config file.
2021-12-13 18:32:15 -05:00
jamelreid
5f85a42057
Updated CHANGELOG.md
2021-12-13 18:29:00 -05:00
Roy Ho
b12de19975
Merge pull request #31356 from woocommerce/prevent-npm
...
Prevent npm
2021-12-10 12:26:43 -08:00
Jamel Noel Reid
22721e0a70
Merge pull request #31336 from woocommerce/add/jest-retry
...
Retry failed E2E tests using Jest
2021-12-10 07:46:09 -05:00
jamelreid
68ca895e8b
Removed parameter
2021-12-09 16:46:55 -05:00
roykho
f5b4c86e8e
Move ignore file to root level
2021-12-09 06:21:01 -08:00
jamelreid
17d2c25ae5
Added comment
2021-12-08 14:03:08 -05:00
jamelreid
1a5c44c472
Exported all methods from jest-object.config
2021-12-08 14:01:00 -05:00
jamelreid
6086223708
Added setupJestRetries to beforeAll block
2021-12-08 14:00:31 -05:00
jamelreid
a6f51a9a39
Added default param and exported all methods
2021-12-08 14:00:02 -05:00
jamelreid
1f14d557dd
Updated README.md with jest retry documentation
2021-12-08 13:59:10 -05:00
jamelreid
fecbeac4ad
Updated CHANGELOG.md
2021-12-08 13:44:58 -05:00
jamelreid
f4472d74ec
Merge branch 'trunk' into add/jest-retry
2021-12-08 13:03:23 -05:00
Rodel
110266fd9b
Sync with trunk, changelog entry, resolve conflicts
2021-12-08 14:43:02 +08:00
Peter Fabian
edcffa9912
Merge pull request #31338 from woocommerce/fix/28166-coupon-item-meta-data
...
Consistently Store Coupon Data in Order Item Meta
2021-12-07 18:35:08 +01:00
Rodel
822abbfbce
Merge branch 'trunk' into add/api-tests-add-complex-order
2021-12-07 15:50:49 +08:00
Rodel
28bbeab9c2
Moved changelog entries to unreleased section
2021-12-07 15:49:18 +08:00
Rodel
6af432f646
Merge branch 'trunk' into add/api-tests-shipping-zones-and-methods
2021-12-07 15:47:30 +08:00
jamelreid
021b61a5f9
Merge branch 'trunk' into add/jest-retry
2021-12-06 17:50:22 -05: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
roykho
286928bb6d
Ignore package-lock.json
2021-12-02 11:12:27 -08:00
roykho
c03bcc59b4
Prevent the use of npm to install packages
2021-12-02 11:09:46 -08:00
Rodel
ebb4eb3ce2
Corrected endpoint name
2021-12-03 02:41:21 +08:00
Rodel
eee9a56d71
Merge branch 'trunk' into add/api-tests-shipping-zones-and-methods
2021-12-03 01:40:41 +08:00
Rodel
cddf617808
Tests around the default shipping zone
2021-12-03 01:38:16 +08: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
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
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
Jeff Stieler
21f6ea6ae5
Add test for coupon meta data to API test.
2021-11-30 15:19:01 -05:00