Ron Rennick
4f6d8ccfe0
Merge pull request #30491 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/path-parse-1.0.7
...
Bump path-parse from 1.0.6 to 1.0.7 in /tests/e2e/api
2021-08-16 15:21:22 -03:00
Ron Rennick
41d45c11f0
Merge pull request #30492 from woocommerce/add/e2e-timeout-override
...
Added default timeout override for e2e tests
2021-08-16 14:51:18 -03:00
Greg
0161dd1a95
Code review feedback
2021-08-16 08:18:18 -06:00
Tomek Wytrębowicz
410579a8cd
Fix e2e-utils homepage URL.
...
Fixes https://github.com/woocommerce/woocommerce/issues/30484
and https://github.com/woocommerce/woocommerce/pull/30490
2021-08-16 12:28:51 +02:00
Greg
ad9cc5fb90
Set page timeouts if override is provided
2021-08-13 14:14:02 -06:00
And Finally
1ba6be6bf3
Merge branch 'trunk' into update/marketplace-1
2021-08-13 09:33:27 +01:00
Greg
2f0aa1a30f
Added default timeout override
2021-08-12 16:05:55 -06:00
dependabot[bot]
e76017fb86
Bump path-parse from 1.0.6 to 1.0.7 in /tests/e2e/api
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 21:50:55 +00:00
Ron Rennick
d6bef41d2c
fix e2e-utils readme url in package.json
2021-08-12 15:18:42 -03:00
Ron Rennick
7d3eeca060
Merge pull request #30406 from woocommerce/add/e2e-db-upgrade
...
Added check out DB update and run if it exists
2021-08-12 12:12:42 -03:00
And Finally
8a326b24ba
Merge branch 'trunk' into update/marketplace-1
2021-08-12 09:03:09 +01:00
Greg
b87ff17542
Reorganizing things a bit
2021-08-11 16:24:56 -06:00
Greg
b865a9e18f
Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/e2e-calc-shipping-tests
2021-08-11 14:32:33 -06:00
Greg
595aca9e59
Merge pull request #30481 from woocommerce/e2e/add-test-resets
...
reset settings before cart, checkout tests
2021-08-11 14:04:18 -06:00
Ron Rennick
426763159e
reset settings before cart, checkout tests
2021-08-11 15:04:34 -03:00
Claudio Sanches
9c19fb8f7b
Set PHPUNIT polyfills
2021-08-11 10:20:51 -03:00
Greg
cd012edceb
Added functionality for release testing workflow
2021-08-10 20:29:36 -06:00
Greg
fdbdb995bd
Remove unncessary merchant logout
2021-08-10 19:20:49 -06:00
Greg
6ecb354841
Merge branch 'trunk' into add/e2e-db-upgrade
2021-08-10 11:11:16 -06:00
Greg
6534806d28
Update checkout tests to use API and wait on UI
2021-08-10 11:02:31 -06:00
And Finally
608f4ef44e
Merge branch 'trunk' into update/marketplace-1
...
# Conflicts:
# tests/e2e/core-tests/specs/merchant/wp-admin-extensions-connect-wccom.test.js
2021-08-10 16:02:18 +01:00
Ron Rennick
48e6f0795e
skip WCCOM connection until browser support resolved
2021-08-10 10:29:13 -03:00
Ron Rennick
37c14a8e9a
turn off tracking in e2e onboarding tests
2021-08-09 14:25:13 -03:00
Ron Rennick
7ba121ec1a
Merge pull request #30398 from woocommerce/add/e2e-order-cleanup
...
Added order cleanup to e2e setup
2021-08-09 12:33:53 -03:00
Greg
7bbb820379
Adjust spacing on comments
2021-08-06 09:37:21 -06:00
Greg
f3447f713d
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/e2e-db-upgrade
2021-08-06 09:34:43 -06:00
Greg
618a8c458d
Remove errant space
2021-08-06 09:23:35 -06:00
Greg
6dd33564b9
Merge branch 'trunk' into add/e2e-db-upgrade
2021-08-06 07:57:35 -06:00
Tam Mullen
080f966b93
Updated k6 tests based on feedback
2021-08-06 12:46:53 +01:00
Maria Górska-Piszek
379960e8c1
Merge branch 'update/split-extensions-pages' of github.com:woocommerce/woocommerce into update/split-extensions-pages
2021-08-06 13:24:14 +02:00
Greg
8ccbbab8ab
Added admin email config override
2021-08-05 19:39:30 -06:00
Greg
aa8f5841f9
Code review feedback
2021-08-05 19:11:08 -06:00
Greg
e738ce4fa6
Merge branch 'trunk' into add/e2e-order-cleanup
2021-08-05 18:42:34 -06:00
Greg
33521dd4fc
Merge pull request #30361 from woocommerce/add/e2e-shipping-classes-cleanup
...
Added shipping classes cleanup to retest flow
2021-08-05 14:42:30 -06:00
Greg
d3e80ce83f
Updated changelog
2021-08-05 13:53:09 -06:00
And Finally
ebca1cb51b
Merge branch 'update/marketplace-1' into update/split-extensions-pages
2021-08-05 17:25:10 +01:00
Tam Mullen
e501fa443b
Updated k6 Merchant smoke test scenario
2021-08-04 10:56:09 +01:00
Tam Mullen
08dab6d7a4
Added k6 requests for my account login for merchant.
2021-08-03 22:05:56 +01:00
Tam Mullen
bbb1d96a08
Update k6 smoke test scenarios
2021-08-03 11:14:01 +01:00
Tam Mullen
9becbc8621
Added k6 requests for WC Admin home page
2021-08-03 11:04:01 +01:00
Tam Mullen
04aa070831
Added k6 requests for removing item from cart
2021-08-03 11:03:23 +01:00
Tam Mullen
aaafe832ee
Added k6 requests for merchant orders page
2021-08-03 11:02:03 +01:00
Tam Mullen
80d988e287
Added k6 requests for applying coupon in cart.
2021-08-03 11:01:21 +01:00
Greg
3f5420eb0d
Added check out DB update and run if it exists
2021-08-02 11:11:49 -06:00
Nestor Soriano
e1f19e2d23
Fix: 'woocommerce_email_settings' filter being triggered twice.
2021-08-02 09:33:18 +02:00
Greg
7612f862b4
Updated readme and changelog
2021-07-30 15:05:10 -06:00
Greg
ae75249bed
Added order cleanup
2021-07-30 15:02:55 -06:00
Tam Mullen
c43f2b371e
Fixed typo in k6 checks and updated headers merging.
2021-07-30 20:38:31 +01:00
Tam Mullen
a9f36ed72a
Update the k6 create product requests
2021-07-30 20:34:39 +01:00
Nestor Soriano
9583d57d26
Fix option names used by the product attributes lookup table feature
...
The feature was using option names prefixed with
"woocommerce_attribute_lookup__". That double underscore breaks WP
standards for option names. The option names have been changed
so that they use a single underscore instead.
2021-07-30 11:16:05 +02:00
Maria Górska-Piszek
3ffc3de4c5
Update e2e tests.
2021-07-29 15:52:30 +02:00
rodelgc
1bff2b6609
Merge branch 'trunk' into add/e2e-implement-describe-each
2021-07-29 20:35:49 +08:00
Rodel Calasagsag
344aebd0b5
Fix merge conflict in e2e-utils CHANGELOG
2021-07-29 20:32:50 +08:00
rodelgc
0ea8637094
Merge branch 'trunk' into add/e2e-merchant-batch-create-orders
2021-07-29 19:48:26 +08:00
Rodel Calasagsag
e5078cdf5c
Add new util function to the readme
2021-07-29 19:32:12 +08:00
Rodel Calasagsag
16083c2574
Move utility function to withRestApi
2021-07-29 19:31:27 +08:00
Rodel Calasagsag
b116756b09
Renamed 'status' variable
2021-07-29 18:27:26 +08:00
Greg
47683bb1b5
Update README
2021-07-27 20:48:45 -06:00
Greg
b50f88ee29
Removed ignore lint fields
2021-07-27 20:43:47 -06:00
Greg
5229087aa1
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow
2021-07-22 12:42:50 -06:00
Greg
32454db984
Update selectors
2021-07-22 11:38:42 -06:00
Greg
946a4e755a
Update selector
2021-07-22 11:23:24 -06:00
Greg
0de5726332
Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix-e2e/add-wait-for-search
2021-07-22 11:17:21 -06:00
Greg
45735a30f7
Make selector more specific
2021-07-22 10:55:45 -06:00
barryhughes
fbda9cb58e
Update with latest changes from trunk.
2021-07-21 14:54:53 -07:00
Greg
88686602ed
Add longer timeout on selector
2021-07-21 13:26:33 -06:00
Joel Thiessen
9801cd80c6
Patcing tests relevant to new payment gateway API
2021-07-21 12:06:41 -07:00
Greg
e0c5bdadc2
Added wait for selector in search
2021-07-21 12:45:16 -06:00
Greg
a661bc4bbb
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow
2021-07-21 11:31:30 -06:00
Greg
d062a76a2c
Code review feedback
2021-07-21 10:22:50 -06:00
Claudio Sanches
683cc40cbf
Merge pull request #30097 from woocommerce/add/shipping-phone
...
Add support for Shipping Phone Number in Order and Customer classes
2021-07-20 21:00:45 -03:00
barryhughes
583130531c
Fix E2E tests.
2021-07-20 16:52:42 -07:00
Greg
f31693aaec
Add in env flag
2021-07-20 15:26:51 -06:00
barryhughes
46f9644eae
Update test for product download settings.
2021-07-20 11:18:22 -07:00
Greg
3267a7253c
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow
2021-07-19 09:06:52 -06:00
Roy Ho
95abba7eeb
Merge pull request #30041 from woocommerce/add/29609
...
Sync the product attributes lookup table on product creation/change/deletion
2021-07-16 15:03:54 +01:00
Greg
268c07118e
Added plugin upload functionality
2021-07-15 14:39:32 -06:00
Tam Mullen
d30c11f92b
Merge branch 'trunk' of github.com:woocommerce/woocommerce into try/perf-k6-checkout-poc-2
2021-07-13 17:27:06 +01:00
Tam Mullen
6d27d40200
Tidied up k6 requests.
2021-07-13 17:20:51 +01:00
Tam Mullen
a0be8c515d
Added requests for add product k6 test
2021-07-13 17:20:07 +01:00
Ron Rennick
2fcd2edbd3
Merge pull request #30117 from woocommerce/add/block-concurrent-test-runs
...
Added logic to draft and publish the ready page on each run
2021-07-09 15:52:51 -03:00
Greg
f2a4137a7f
Added comment blocks
2021-07-09 10:30:16 -06:00
Greg
b34f14eaf4
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/install-all-pending-updates
2021-07-09 10:22:36 -06:00
Tam Mullen
e1995a66a6
Added Products page k6 test requests
2021-07-09 12:27:00 +01:00
Greg
af7271b747
Remove error case
2021-07-07 10:37:47 -06:00
Greg
99363e4e2b
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/block-concurrent-test-runs
2021-07-07 10:27:44 -06:00
Néstor Soriano
6cc150e7be
Merge pull request #30194 from woocommerce/fix/29235
...
Fix/29235
2021-07-07 10:56:17 +02:00
Greg
88c62ae708
Code review feedback
2021-07-06 11:19:09 -06:00
Greg
5c5f97cce1
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/block-concurrent-test-runs
2021-07-06 11:11:03 -06:00
Ron Rennick
8454dd9380
update DB in wp beta initialization script ( #30189 )
2021-07-06 14:00:50 +02:00
Tam Mullen
2a0b07f68b
Add k6 requests for merchant login
2021-07-01 14:53:13 +01:00
Rodel Calasagsag
f092274972
Added changelog entry
2021-07-01 20:12:52 +08:00
Rodel Calasagsag
07dc505d18
Added changelog entries
2021-07-01 20:09:24 +08:00
Rodel Calasagsag
60b5b183da
Use switch-case to get coupons
2021-07-01 20:02:59 +08:00
Tam Mullen
46ca4511cd
Added k6 requests for my account
2021-07-01 13:02:16 +01:00
Rodel Calasagsag
cd463d0a92
Implement it.each on front-end-my-account.test.js
2021-07-01 19:51:20 +08:00
Rodel Calasagsag
224d88f1b0
Implement it.each on front-end-checkout-coupons.test.js
2021-07-01 19:29:57 +08:00
Rodel Calasagsag
a5c5451dc5
Implement it.each on front-end-cart-coupons.test.js
2021-07-01 19:23:23 +08:00
Tam Mullen
093ce67fcc
Added product search request
2021-07-01 12:11:26 +01:00
Rodel Calasagsag
ad139d821b
Implement it.each on wp-admin-order-status-filters.test.js
2021-07-01 18:48:48 +08:00
Nestor Soriano
2fe8cce9b0
Fix unit tests for the LookupDataStore class
2021-07-01 12:01:07 +02:00
Rodel Calasagsag
c25b23aafc
Used API package to create orders by batch
2021-07-01 16:50:35 +08:00
Rodel Calasagsag
028c594bd6
Implemented on wp-admin-analytics-page-loads.test.js
2021-07-01 15:44:36 +08:00
Nestor Soriano
d3131a67e6
Fix unit tests for the DataRegenerator class
2021-07-01 09:32:57 +02:00
Rodel Calasagsag
c0b33e4909
it.each() on onboarding tests
2021-07-01 14:25:43 +08:00
Rodel Calasagsag
7934c9505b
Merge branch 'trunk' into add/e2e-implement-describe-each
2021-07-01 13:45:34 +08:00
roykho
79e3f15696
Change order of wc_install to after db tables created
2021-06-30 19:49:56 -07:00
Tam Mullen
35f210091b
Added requests for logging in as customer on checkout
2021-06-30 23:27:41 +01:00
roykho
574d82bd16
Update tests
2021-06-30 15:05:30 -07:00
Greg
5062c13f38
Broke out install function
2021-06-30 14:35:17 -06:00
Greg
6888759764
Pull in API package
2021-06-30 14:03:07 -06:00
Greg
4d40340785
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/block-concurrent-test-runs
2021-06-30 13:53:18 -06:00
Greg
e08313d203
Code review feedback
2021-06-30 13:31:49 -06:00
Rodel Calasagsag
fdad5c7c5f
Added changelog entries
2021-06-30 19:11:30 +08:00
Rodel Calasagsag
53be6fb3d2
Used API package to create orders by batch
2021-06-30 18:48:10 +08:00
Nestor Soriano
38897a42e2
Add tests for product changes changes in LookupDataStore.
2021-06-28 12:25:48 +02:00
Tam Mullen
874da86155
removed some of the k6 checkout flow into separate k6 requests and moved headers to their own file.
2021-06-25 00:42:28 +01:00
Vedanshu Jain
f367fcd4f7
Merge pull request #29966 from MoustafaMohsen/patch-1
...
Typo in example code block
2021-06-23 19:36:06 +05:30
Greg
74a9e1b0ec
Merge branch 'trunk' into add/install-all-pending-updates
2021-06-18 11:31:42 -06:00
Greg
9e9a124f52
Merge pull request #30056 from woocommerce/add/e2e-shopper-create-products-api
...
Add/e2e shopper create products api
2021-06-18 06:56:17 -06:00
Vedanshu Jain
7ee760f617
Merge pull request #30118 from woocommerce/update/woocommerce-admin/2.4.0-rc.1
...
Bump woocommerce-admin version to 2.4.0-rc.2
2021-06-18 17:57:54 +05:30
Ilyas Foo
e0db9beb20
Add delay to reduce e2e test flakiness in OBW - Business Details
2021-06-18 18:19:27 +08:00
Rodel Calasagsag
639c091f61
Added changelog in utils package
2021-06-18 15:17:18 +08:00
Rodel Calasagsag
1d708d9dfc
Merge branch 'trunk' into add/e2e-implement-describe-each
2021-06-18 13:07:51 +08:00
Claudio Sanches
9f8d3e84dc
Merge pull request #29970 from woocommerce/fix/29686
...
Include download IDs in csv import/export to retain import download permissions.
2021-06-17 12:11:20 -03:00
Vedanshu Jain
39c057f636
Merge pull request #29971 from woocommerce/hide-pypl-on-new-sites
...
Hide PayPal Standard on new installs
2021-06-17 19:40:53 +05:30
Nestor Soriano
48c44a6128
Add tests for product deletion in LookupDataStoreTest.
2021-06-17 15:31:23 +02:00
vedanshujain
8fbb86e096
Remove PayPal test since its removed by default now.
2021-06-17 15:11:42 +05:30
vedanshujain
532998b6e8
No need to check for Paypal standard since its removed.
...
See #29971 but basically we want to remove PayPal standard in favor of PayPal checkout which has better experience. So this test is not valid anymore.
2021-06-17 14:34:22 +05:30
Rodel Calasagsag
1a9ff01492
Data table as 2D array
2021-06-17 15:22:11 +08:00
Rodel Calasagsag
c7a2fb9480
Corrected test name formatting
2021-06-17 13:50:47 +08:00
Rodel Calasagsag
1a6380c9c5
POC: Array of objects
2021-06-17 13:35:00 +08:00
Greg
89d166e8b4
Added logic to draft and publish the ready page on each run
2021-06-16 15:28:04 -06:00
Greg
372064c49f
Added flows for updating WP, themes, and plugins
2021-06-15 16:28:10 -06:00
Jonathan Sadowski
6e0e5548ec
Update legacy unit tests for download id changes to importer
2021-06-15 10:18:54 -05:00
Nestor Soriano
0192ed0b93
Change LookupDataStore to allow updates being done in a scheduled action.
...
There's a new option, 'woocommerce_attribute_lookup__direct_updates'.
When set to 'yes', updates to the lookup table are performed as soon
as the change happen; otherwise, a scheduled action will do it,
the hook name is 'woocommerce_run_product_attribute_lookup_update_callback'
(the existing hook in the DataRegenerator class is renamed to
'woocommerce_run_product_attribute_lookup_update_callback')
Also, the settings page has a new "Advanced" section with a checkbox
to control the value of that new option; the section is visible only
when the feature has been enabled via LookupDataStore::show_feature.
2021-06-15 16:33:29 +02:00
Mike Jolley
513b14dc9b
Fix map url and other phone tests
2021-06-15 14:09:07 +01:00
Mike Jolley
908d26aacb
Add phone to customer tests
2021-06-15 13:57:41 +01:00
Mike Jolley
4cdb874285
Update rest tests
2021-06-15 13:40:25 +01:00
Nestor Soriano
7c9137698b
Implement handling of changesets in the LookupDataStore class.
2021-06-11 11:44:57 +02:00
Nestor Soriano
bbddcbcc15
Fix in FiltererTest after mrging from trunk.
2021-06-10 17:00:09 +02:00
Nestor Soriano
13ed3b80e0
Merge branch 'trunk' into add/29609
2021-06-10 12:35:34 +02:00
Rodel Calasagsag
0cc9788ff6
Relocated instantiation statements
2021-06-09 17:44:20 +08:00
Rodel Calasagsag
e5ed6dc81a
Revert whitespaces for easier review
2021-06-09 17:38:20 +08:00
Rodel Calasagsag
f2305a2486
Fix instantiation of grouped product variables
2021-06-09 17:08:45 +08:00
Rodel Calasagsag
78ef1e4411
Remove unnecessary import
2021-06-09 15:55:58 +08:00
Rodel Calasagsag
47a3ea0077
Revert default.json
2021-06-09 15:55:47 +08:00
Rodel Calasagsag
511e873beb
Sync this branch with `trunk`
2021-06-09 15:38:34 +08:00
Nestor Soriano
039f81ea50
Implement the product attributes lookup table data creation.
...
Lookup entries for a product or a variation are created whenever
the product is created, including untrashing and duplication
(not yet when an existing product is modified).
2021-06-08 17:53:45 +02:00
Barry Hughes
c503f5d637
Merge pull request #29896 from woocommerce/add/29610
...
Filter catalog products by attribute using the new lookup table
2021-06-08 07:37:06 -07:00
Nestor Soriano
0b1158cf5c
Small improvements in the filtering by attribute lookup table.
...
- Combined two 'if's in one
- Added extra santitization of term ids in the Filterer class
2021-06-08 10:18:35 +02:00
Rodel Calasagsag
d9cead9943
Merge branch 'trunk' into add/e2e-shopper-create-products-api
2021-06-07 18:48:11 +08:00
Rodel Calasagsag
179bad04b8
Fixed erroneous variables
2021-06-07 18:46:40 +08:00
Rodel Calasagsag
21d037900a
Use API to create Grouped Products
2021-06-07 17:41:36 +08:00
Rodel Calasagsag
61992e2d2e
Minor doc change
2021-06-07 16:11:41 +08:00
Rodel Calasagsag
779f618adf
Refactor steps
2021-06-06 01:07:19 +08:00
Rodel Calasagsag
6ab74bf811
Fix variation factory to include all fields from params
2021-06-05 20:50:44 +08:00
Rodel Calasagsag
ef90dc7ea3
REfactor first 2 tests
2021-06-05 20:49:43 +08:00
Rodel Calasagsag
81e05acdd6
Use API to generate all possible variations
2021-06-05 20:48:38 +08:00
Ron Rennick
f3908c9fe9
add wait between loading shop and add to cart ( #30017 )
2021-06-03 16:07:55 +02:00
Mike Jolley
5e26428d44
Add order test
2021-06-03 14:05:19 +01:00
Rodel Calasagsag
95c088142b
Removed unnecessary 3rd attribute in default variations object
2021-06-03 20:06:50 +08:00
Leif Singer
b2ab18d168
fix Slack OAuth scopes typo in README
2021-06-03 13:42:10 +02:00
Rodel Calasagsag
de56309f81
REmove unnecessary imports
2021-06-03 19:20:59 +08:00
Rodel Calasagsag
28c2597b0f
Allow customization of variable product and variations
2021-06-03 19:16:20 +08:00
Rodel Calasagsag
46b5cf8803
Use factories object to create variable products
2021-06-02 21:12:31 +08:00
Rodel Calasagsag
0a6d38fc6b
TODO: use factory instead
2021-06-02 18:46:12 +08:00
Rodel Calasagsag
f616645f7b
Select attributes based on what's written in default.json
2021-06-02 18:45:20 +08:00
Rodel Calasagsag
c46a30be8c
Added logo attribute to variation
2021-06-02 18:43:38 +08:00
Rodel Calasagsag
ee50c0d4b2
Return variable product object from response
2021-06-02 16:43:55 +08:00
Claudio Sanches
94bdcd0320
Merge pull request #27684 from woocommerce/refactor/settings-pages-classes-take-2
...
Refactor the settings pages, and add unit tests for them
2021-06-01 13:19:49 -03:00
Tam Mullen
b9037746ac
Merge branch 'trunk' of github.com:woocommerce/woocommerce into try/perf-k6-checkout-poc
2021-06-01 15:57:27 +01:00
Rodel Calasagsag
2276f70fd2
Remove merchant login & logout steps surrounding createVariableProduct()
2021-06-01 20:06:00 +08:00
Rodel Calasagsag
a028973279
Use api to create variable product
2021-06-01 20:04:04 +08:00
Rodel Calasagsag
ddef1d8d95
updated property names to match those in API documentation
2021-06-01 20:03:25 +08:00
Nestor Soriano
c6dff96c0f
Undo a wrong change in filtering logic.
2021-06-01 11:25:57 +02:00
Nestor Soriano
72442f20bb
Add the remaining tests for the Filterer class.
2021-06-01 10:06:25 +02:00
Nestor Soriano
c78627e6ee
Add unit tests for the Filterer class (variable products)
2021-05-31 16:54:55 +02:00
Nestor Soriano
9878aa37aa
Add unit tests for the Filterer class (simple products only for now)
...
Also fix a small issue in the product counters when using "or" filter.
2021-05-28 17:27:03 +02:00
Ron Rennick
d586d11ca2
add support for projects to suppress console output ( #29960 )
...
* add support for projects to suppress console output
* update E2E env readme, package lock maintenance
2021-05-26 13:20:08 +02:00
Ron Rennick
e52bb139e8
release api package 0.2.0 ( #29930 )
2021-05-25 16:00:56 +02:00
Ron Rennick
ba8597432d
support analytics page tests having charts ( #29958 )
2021-05-24 18:00:26 +02:00
Ron Rennick
e1d5fc06a4
Packages/e2e releases ( #29951 )
...
* update env docs, bump version to 0.2.2
* update util docs, bump version to 0.1.5
* update core-tests docs, bump version to 0.1.4
2021-05-24 17:37:33 +02:00
James Allan
ed3c76bd1d
Load PayPal Standard in unit tests
2021-05-24 16:04:01 +10:00
Greg
7c5fd005fd
Merge pull request #29939 from woocommerce/e2e/remove-merchant-ui-login
...
Remove merchant login/logout calls
2021-05-22 10:06:33 -06:00
Moustafa Mohsen
e13824fd19
Typo in example code block
...
Even though it's just an example ,It should reference the client not an undefined value
2021-05-22 18:06:17 +02:00
Christopher Allford
070954c888
Revert #28187
...
The default functionality within the `ThemeSupport` class has an unintended
side-effect of breaking the existing default functionality within the
`wc_get_theme_support()` function. Since the default set in the support
class is prioritized over the one given to `ThemeSupport::get_option()`,
the WordPress options set in the Customizer are never used for images.
2021-05-21 12:10:15 -07:00
Vedanshu Jain
6667233eb1
Merge pull request #29762 from woocommerce/fix/29502
...
Update restock logic during refunds closes #29502
2021-05-21 22:53:22 +05:30
Rodel Calasagsag
072af834b9
Clear browser cache and cookies after each test.
...
Add merchant logins to relevant onboarding & setup tests
2021-05-21 19:27:50 +08:00
del
8a7f185652
Trash posts using WP API
2021-05-21 04:55:14 +08:00
del
e455479db9
Removed unnecessary merchant logout
2021-05-21 04:43:47 +08:00
del
7751034808
Added necessary merchant logins
2021-05-21 04:43:29 +08:00
del
67e7521044
Reverted bulk trash logic
2021-05-21 01:18:46 +08:00
del
d74d37ce67
Corrected logic prior to merchant logout
2021-05-20 23:43:22 +08:00
del
94f51fe808
Replace switchUserToTest with merchant.logout
2021-05-20 18:41:22 +08:00
del
e149dfb12b
Relocated merchant login call to improve readability
2021-05-20 18:27:54 +08:00
del
d66f1b7075
Added necessary merchant login calls
2021-05-20 18:27:12 +08:00
del
e7b8591d5c
Removed unnecessary merchant logouts based on PR comment
2021-05-20 18:14:10 +08:00
del
ab9532c81b
Re-add necessary merchant UI login
2021-05-20 16:41:53 +08:00
del
22a355c3ce
Remove unnecessary merchant util
2021-05-20 00:42:10 +08:00
del
6826cce834
Remove merchant login in the remaining shopper test that has it
2021-05-20 00:40:16 +08:00
del
0b1310cd44
Remove merchant login/logout calls
2021-05-19 00:44:33 +08:00
Ron Rennick
92d3bdfacb
add draft status to deleteAllObjects
2021-05-14 17:00:30 -03:00
Ron Rennick
bee633cef7
Update delete all to include trash ( #29881 )
...
* update stale to Stale in feedback label CI
* delete trashed objects, use api to delete imported products
* restore two lines deleted in merge
2021-05-14 17:49:55 +02:00
Ron Rennick
2a86d2b2ab
update api package readme & changelog to prep for release
2021-05-13 16:06:28 -03:00
Greg
63fe943ef9
Merge pull request #29819 from woocommerce/fix/27873
...
Add order support to API package
2021-05-13 08:07:55 -06:00
Nestor Soriano
22b5ec121f
Fix: no output for settings classes that directly override get_settings.
2021-05-13 09:24:25 +02:00
jonathansadowski
692ddaf4f2
Merge pull request #29318 from woocommerce/fix/rounding
...
Make rounding more accurate when prices are entered more than 2dp
2021-05-12 17:43:29 -05:00
roykho
b808d9a24f
Fix merge conflicts
2021-05-11 08:53:03 -07:00
dependabot[bot]
d73c948c67
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/utils
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 15:45:21 +00:00
Claudio Sanches
f48b96077d
Merge pull request #29863 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/api
2021-05-11 12:44:26 -03:00
Claudio Sanches
a81d0358ef
Merge pull request #29864 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/hosted-git-info-2.8.9
...
Bump hosted-git-info from 2.8.8 to 2.8.9 in /tests/e2e/api
2021-05-11 12:41:44 -03:00
roykho
8c3e90b3ce
Initialize _restock_refunded_items meta on order update
2021-05-11 08:35:48 -07:00
Ron Rennick
7237051b67
three small e2e fixes found through smoke testing ( #29834 )
...
- remove merchant login for beforeAll in cart & checkout coupon tests. Test objects created with the rest API.
- eliminate error when merchant logout is called when merchant is not logged in
- eliminate rest API error when deleting an object that no longer exists
2021-05-10 17:16:31 +02:00
Roy Ho
f9441dcc00
Merge pull request #29778 from woocommerce/add/29608
...
Product attributes lookup table creation and filling
2021-05-10 07:41:39 -07:00
Ron Rennick
c7afe437d7
small E2E coding fixes ( #29816 )
2021-05-10 16:27:01 +02:00
dependabot[bot]
ce9fce8d0d
Bump hosted-git-info from 2.8.8 to 2.8.9 in /tests/e2e/api
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:44:27 +00:00
dependabot[bot]
e25581c29b
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/api
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:44:23 +00:00
vedanshujain
ed7c81127c
Add rounding it test since we changed it in code.
2021-05-07 15:53:52 +05:30
Nestor Soriano
8b12fee96f
Merge branch 'trunk' into refactor/settings-pages-classes-take-2
2021-05-07 12:16:13 +02:00
vedanshujain
f53e9dde44
Use edit context to get unformatted price.
2021-05-07 14:59:14 +05:30
vedanshujain
18411d2b3b
Add code comments for confusing changes.
2021-05-07 14:30:45 +05:30
vedanshujain
6c2f30132d
Add clear cart call to prevent side effects from tests.
2021-05-07 14:30:45 +05:30
vedanshujain
49ed94a1d0
Add expected deprecate calls to make tests work with parent::setUp.
2021-05-07 14:30:44 +05:30
vedanshujain
f5056d37e4
Add expected deprecated call so that we can call setUp for this testcase.
2021-05-07 14:30:44 +05:30
vedanshujain
162588c42d
Add test for when product prices has more precision than is displayed.
2021-05-07 14:30:44 +05:30
vedanshujain
c834dfb98b
Add test for when entered price has more precision than displayed price.
2021-05-07 14:30:44 +05:30
vedanshujain
2930057847
Add tests to make sure discounts are rounded properly in cart.
2021-05-07 14:30:44 +05:30
vedanshujain
a0fbff3879
Modify unit test to accomodate pre-rounding total.
2021-05-07 14:30:44 +05:30
Nestor Soriano
9dcdfddc15
Fix table creation detection in DataRegeneratorTest
2021-05-05 11:50:43 +02:00
Nestor Soriano
f53f959d03
Fix the usage of FakeQueue in DataRegeneratorTest.
...
Also update the doc comment of FakeQueue itself on how to use it.
2021-05-05 11:11:36 +02:00
Veljko
ce1e2f260d
Rename the test file
2021-05-05 09:29:38 +02:00
Ron Rennick
f51dfdfd56
Merge branch 'trunk' into e2e/e2e-merchant-initiate-wccom
2021-05-04 22:28:09 -03:00
Nestor Soriano
c4e7074c70
Add unit tests for the DataRegenerator class
2021-05-04 16:15:16 +02:00
Nestor Soriano
4d13b0ca07
ExtendedContainer::replace now allows registering anonymous classes.
2021-05-04 16:14:34 +02:00
Greg
c354a67292
Finish work on order; removed unused variable from test
2021-05-03 20:21:00 -06:00
Greg
e9febd57ec
Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873
2021-05-03 13:58:55 -06:00
roykho
2e3156d436
Use proper skip test method instead of return
2021-05-03 06:33:09 -07:00
Nestor Soriano
42245ed92a
Add unit tests for LookupDataStore::update_data_for_product (variable products)
2021-05-03 11:14:33 +02:00
Greg
b9bd336b0f
Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873
2021-05-02 15:24:22 -06:00
Ron Rennick
7b23b8c8aa
two more minor E2E fixes
...
- add shipping zone for first checkout test
- increase wait time for product import to complete
2021-04-30 16:26:51 -03:00
Ron Rennick
946f8ec903
Merge branch 'trunk' into try/individual-test-files
2021-04-30 15:13:56 -03:00
Ron Rennick
2c72bf8a9f
Merge pull request #29734 from woocommerce/e2e/e2e-merchant-add-simple-product
...
Add new e2e scenario and update the existing - Merchant - Add Simple Product
2021-04-30 10:01:27 -03:00
Tam Mullen
845468a540
Adding k6 checkout example scenario
2021-04-30 13:08:09 +01:00
Tam Mullen
12ec4dfd7b
Updated k6 config
2021-04-30 13:08:09 +01:00
Tam Mullen
e5eeb50ff6
Updated k6 checkout test
2021-04-30 13:08:09 +01:00
Tam Mullen
cd8faf2716
Proof of concept k6 test for checkout with config.
2021-04-30 13:08:09 +01:00
Ron Rennick
43859058ec
run cart/checkout setup tests first
2021-04-30 09:04:48 -03:00
Nestor Soriano
467af94b1d
Add unit tests for LookupDataStore::update_data_for_product (simple products)
...
Also:
- Add the FakeQueue class
- Fix LookupDataStore, it was using a hardcoded "wp_" lookup table name
2021-04-30 12:10:25 +02:00
Greg
b61fe9859f
Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873
2021-04-29 16:13:13 -06:00