Nestor Soriano
1008835488
Fix code sniffer violations in stock functions and its tests
2021-04-20 09:42:07 +02:00
Ron Rennick
40e887103b
add coupon debug screenshot
2021-04-19 16:51:46 -03:00
Ron Rennick
511d7ed0fe
replace waitfor delay with network idle
2021-04-19 16:02:30 -03:00
Ron Rennick
a76b95e3dd
increase order filter test before all timeout
2021-04-19 14:49:35 -03:00
Ron Rennick
682e6bd003
Merge branch 'trunk' into fix/order-search-test
2021-04-19 11:35:32 -03:00
roykho
98901dc9ec
Merge branch 'trunk' into fix/29540
2021-04-16 13:51:12 -07:00
Greg
1b8e0c2b04
Merge pull request #29616 from woocommerce/e2e/e2e-shopper-calculate-shipping
...
Add new e2e test shopper cart calculate shipping
2021-04-16 14:23:39 -06:00
roykho
c73ce8ea04
Convert to using internal DI container
2021-04-16 12:23:40 -07:00
Veljko
1c7bec0489
Remove shipping zones remover
2021-04-16 21:22:34 +02:00
Veljko
23e09d33dd
Add shipping zones remover
2021-04-16 14:11:27 +02:00
Vedanshu Jain
d79e86932b
Merge pull request #29654 from woocommerce/fix/29499
...
Set US:CA as the default store location
2021-04-16 16:54:50 +05:30
Veljko V
a2f8216b9b
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping
2021-04-16 11:51:52 +02:00
Greg
87a6ebf03f
Merge pull request #29693 from woocommerce/e2e/e2e-shopper-order-email-received
...
Add new e2e test shopper order email receiving
2021-04-15 15:20:52 -06:00
Veljko
1bc0b25f0c
Fix spaces
2021-04-15 14:30:06 +02:00
Veljko
5c633e1c3b
Add deleting email logs if any
2021-04-15 14:01:28 +02:00
Veljko
950d08b7a5
Add new e2e test shopper order email receiving
2021-04-15 13:28:25 +02:00
Veljko
a075232434
Updated code for calculating prices
2021-04-15 10:06:06 +02:00
Veljko V
80baefe89a
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping
2021-04-15 09:10:35 +02:00
Ron Rennick
fb0b51d330
merge trunk
2021-04-14 21:16:42 -03:00
Greg
d496e8e3db
Merge pull request #29623 from woocommerce/e2e/28485-resets
...
[WIP] Reset a test site
2021-04-14 16:09:09 -06:00
Ron Rennick
a1ec304f44
add waits for idle in add product to order
2021-04-14 16:09:23 -03:00
roykho
427be84875
Add unit tests
2021-04-14 11:54:13 -07:00
Ron Rennick
2c13c994b2
add screenshot utility
2021-04-14 10:05:03 -03:00
Veljko V
2b82c60107
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping
2021-04-14 10:21:56 +02:00
Greg
baae57baf5
Merge pull request #29652 from woocommerce/fix/slackbot-instructions
...
Add step to slackbot instructions
2021-04-13 14:49:40 -06:00
Greg
d06bb5b1e6
Merge pull request #29592 from woocommerce/e2e/e2e-shopper-cart-redirection
...
Add new e2e test shopper cart redirection
2021-04-13 14:40:39 -06:00
Tam Mullen
ea30866687
Merge pull request #29468 from woocommerce/e2e/e2e-merchant-orders-add-order-complex
...
E2e/e2e merchant orders add order complex
2021-04-13 10:16:50 +01:00
Veljko V
d9f6f40ac9
Merge branch 'trunk' into e2e/e2e-shopper-cart-redirection
2021-04-13 09:24:25 +02:00
Veljko V
d8ff7c02b8
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping
2021-04-13 09:23:18 +02:00
rodel-calasagsag
a094b185d3
Removed unused faker dependency
2021-04-12 22:52:54 -07:00
roykho
ded5c9c7c4
Update unit tests to reflect new base address
2021-04-12 14:13:27 -07:00
Ron Rennick
4480e110f4
update core tests & utils readmes
2021-04-12 14:33:00 -03:00
roykho
6c7c420d25
Set US:CA as the default store location
2021-04-12 09:28:30 -07:00
Ron Rennick
96000d81d0
add step to slackbot instructions
2021-04-12 13:19:34 -03:00
Ron Rennick
5f1e9c2ce5
Merge pull request #29527 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/y18n-4.0.1
...
Bump y18n from 4.0.0 to 4.0.1 in /tests/e2e/api
2021-04-12 10:48:08 -03:00
Ron Rennick
d950a3298e
Merge pull request #29467 from woocommerce/e2e/e2e-merchant-settings-add-shipping-classes
...
E2e/e2e merchant settings add shipping classes
2021-04-12 10:45:25 -03:00
Ron Rennick
a517d88132
merge trunk
2021-04-09 17:08:17 -03:00
Ron Rennick
c94ddb8803
update package changelogs, minor fixes from full PR review
2021-04-09 16:39:30 -03:00
Ron Rennick
fcbbb12a8a
add retry support
2021-04-09 16:15:00 -03:00
Veljko
bdd9fe7318
Add waitForNavigation on Continue clicking
2021-04-09 11:48:17 +02:00
Rodel Calasagsag
11dce13701
Merge branch 'trunk' into e2e/e2e-merchant-settings-add-shipping-classes
2021-04-08 22:17:40 -07:00
Veljko
bc40163155
Make the test more granular
2021-04-08 19:01:54 +02:00
Veljko
d4d93f9239
Remove shipping method deletion
2021-04-08 18:18:59 +02:00
Veljko
fc14a4e5da
Add missing beforeAll code
2021-04-08 17:20:03 +02:00
Veljko
a9ce07c020
Update test
2021-04-08 17:11:29 +02:00
Tam Mullen
59ed09157b
Merge pull request #29426 from woocommerce/e2e/e2e-merchant-import-products
...
Add new e2e test merchant import products via CSV file
2021-04-08 14:46:31 +01:00
Veljko
4fed8f8dab
Add missing jest/global
2021-04-08 15:09:59 +02:00
Veljko
7a1ba36fc9
Added new component and updated tests
2021-04-08 12:41:02 +02:00
Néstor Soriano
439d26be82
Merge pull request #29606 from woocommerce/fix/29545
...
Don't verify empty country codes on checkout
2021-04-08 12:40:13 +02:00
Veljko
b195e354a2
Make test more granular
2021-04-08 11:44:54 +02:00
Veljko
6574db5c2c
Add additional test scenarios
2021-04-08 10:43:07 +02:00
Veljko
615bb66d41
Revert timeout back and split test
2021-04-08 10:09:12 +02:00
Veljko
ca4d690c5c
Try with 45s timeout
2021-04-08 09:19:47 +02:00
Ron Rennick
4732a09b23
minor fixes from visual diff
2021-04-07 23:06:00 -03:00
Ron Rennick
d025f47449
allow multiple runs of setup/onboarding
2021-04-07 22:54:25 -03:00
Ron Rennick
86e83b6560
reset onboarding, shipping, tracking
2021-04-07 19:25:09 -03:00
Roy Ho
8052fbe7be
Merge pull request #29605 from woocommerce/fix/28759-billing-shipping-addresses
...
Fix/28759 billing shipping addresses
2021-04-07 14:34:01 -07:00
Claudio Sanches
ec77c3bcc9
Merge pull request #29603 from masteradhoc/masteradhoc-accessibility-strikethrough-price
...
Improve WooCommerce Accessibility - Strikethrough Price
2021-04-07 13:41:08 -03:00
Veljko
9fdbaae76e
Add changelog and update spaces
2021-04-07 17:52:58 +02:00
Veljko
a6467681c8
Add new e2e test shopper cart calculate shipping
2021-04-07 17:50:09 +02:00
Nestor Soriano
a37b2a7474
Don't verify empty country codes on checkout
...
PR #28849 introduced a verification of the posted country code
on checkout, so an invalid code will throw an error. However there
are cases when an empty code is legitimately received, for example
when using Paypal checkout directly from the product page and
the customer doesn't have an address in his Paypal profile.
2021-04-07 09:59:56 +02:00
Barry Hughes
87cdcff52d
Merge branch 'trunk' into fix/28759-billing-shipping-addresses
2021-04-06 17:22:52 -07:00
Brian
778cf448cb
Update data.php
...
fix legacy code test
2021-04-06 23:56:28 +02:00
Brian
50b882905f
Update data.php
...
fix legacy tests
2021-04-06 23:44:36 +02:00
Brian
913c46ac91
Update functions.php
...
fix legacy test
2021-04-06 23:43:53 +02:00
Veljko V
be44da32de
Merge pull request #29551 from woocommerce/fix/allow-local-slackbot
...
Allow local slackbot
2021-04-06 16:35:48 +02:00
rodel-calasagsag
fb5ccc14a1
Consistent faker version
2021-04-06 02:26:58 -07:00
Rodel Calasagsag
da4d294e29
Merge branch 'trunk' into e2e/e2e-merchant-settings-add-shipping-classes
2021-04-06 01:26:12 -07:00
rodel-calasagsag
1d77f607b0
Changed property tax_class to taxClass
2021-04-06 01:09:30 -07:00
Greg
5aeafe56eb
Merge pull request #29571 from woocommerce/add/smoke-test-daily
...
add smoke test daily log in
2021-04-05 13:32:22 -06:00
Ron Rennick
8bfb2fa8df
Merge pull request #29544 from woocommerce/fix/empty-cart-remove-coupons
...
Remove all coupons before each test run, and clear cart
2021-04-05 16:11:38 -03:00
Veljko V
5cb034fdc7
Merge branch 'trunk' into e2e/e2e-shopper-cart-redirection
2021-04-05 17:55:48 +02:00
Veljko V
701d7fa183
Merge branch 'trunk' into e2e/e2e-merchant-import-products
2021-04-05 17:50:32 +02:00
Veljko
45fdc3451c
Add new e2e test shopper cart redirection
2021-04-05 15:53:49 +02:00
Veljko
9d1b347148
Add spacing and missing await
2021-04-05 11:25:15 +02:00
rodel-calasagsag
dee400cd84
Make product names unique
2021-04-04 06:29:19 -07:00
rodel-calasagsag
3d8e27e06a
Changed currency to USD
2021-04-04 03:44:40 -07:00
rodel-calasagsag
8de05f8e5b
Added 'faker' dependency
2021-04-04 02:26:53 -07:00
Rodel Calasagsag
cb53050892
Merge branch 'trunk' into e2e/e2e-merchant-settings-add-shipping-classes
2021-04-04 01:47:33 -07:00
rodel-calasagsag
68df2796a9
Added 'faker' dependency
2021-04-04 01:39:57 -07:00
rodel-calasagsag
e39badbcf7
Fixed missing semi-colons and other styling issues
2021-04-04 01:26:27 -07:00
rodel-calasagsag
8d4ebb935e
Add missing exports for this test
2021-04-04 01:20:59 -07:00
Veljko V
b850ba3f84
Merge branch 'trunk' into e2e/e2e-merchant-import-products
2021-04-02 09:52:45 +02:00
Veljko V
93ceea1854
Merge branch 'trunk' into e2e/e2e-shopper-login-checkout
2021-04-02 09:51:52 +02:00
Ron Rennick
9355c92231
add smoke test daily log in
2021-04-01 21:55:38 -03:00
Greg
e39f2ecd4f
Merge pull request #29565 from woocommerce/e2e/e2e-shopper-my-account-create
...
Added new e2e test my account create account
2021-04-01 15:44:05 -06:00
zhongruige
b1d0f4eab0
Add missing semicolon
2021-04-01 12:51:04 -06:00
Ron Rennick
a5b612b0a8
Merge branch 'trunk' into fix/allow-local-slackbot
2021-04-01 14:48:46 -03:00
Veljko
daf41aadb9
Merge branch 'trunk' into e2e/e2e-shopper-login-checkout
2021-04-01 19:35:29 +02:00
Greg
e5c2e32a7b
Merge pull request #29549 from woocommerce/e2e/e2e-fix-flaky-order-searching
...
Fix flakiness in Merchant's Order Searching test
2021-04-01 11:29:08 -06:00
Greg
a4ef0b0b1d
Merge pull request #29548 from woocommerce/e2e/e2e-fix-flaky-shipping-zones
...
Fix flakiness in Merchant's Add Shipping Zones test
2021-04-01 11:02:00 -06:00
Ron Rennick
13f6cf4819
Merge pull request #29557 from woocommerce/fix/e2e-onboarding-fkakiness
...
Fix for e2e flakiness in onboarding wizard
2021-04-01 12:51:43 -03:00
Veljko
29f47f2289
Fixed spaces in the code
2021-04-01 16:24:26 +02:00
Veljko
1676c0d8a3
Added new e2e test shopper create account
2021-04-01 15:38:53 +02:00
Veljko
eb6572fec0
Added new e2e test shopper login checkout
2021-04-01 11:10:43 +02:00
Roy Ho
8b6e4ac519
Merge pull request #29542 from woocommerce/fix/23682.1
...
Update UID only for WooCommerce cookies
2021-03-31 16:05:28 -07:00
zhongruige
beb63625ac
Use checkbox specific utils and verify it's checked before continuing
2021-03-31 14:26:36 -06:00
𝓑𝓪𝓻𝓻𝔂 𝓗𝓾𝓰𝓱𝓮𝓼
095b3e9fb9
Merge latest changes from trunk.
2021-03-31 10:25:25 -07:00
Veljko
6cb79fb90d
Improve test and fix flakiness
2021-03-31 17:59:09 +02:00
Roy Ho
e4502fe314
Merge pull request #29495 from woocommerce/fix/29472
...
Add "postcodes" and "cities" support for the REST API tax rate creation/update endpoint
2021-03-31 08:17:31 -07:00
Veljko
f882aba670
Another attempt to fix flakiness
2021-03-31 16:50:41 +02:00
Veljko
b2dd7f9057
Add type instead of select
2021-03-31 16:06:07 +02:00
Ron Rennick
8cb816add9
silence channel_not_found warning
2021-03-31 10:08:00 -03:00
Ron Rennick
a720f00a2d
allow slackbot to function from local environment
2021-03-31 10:00:42 -03:00
Veljko
4e1b24044f
Fix flakiness in the test
2021-03-31 13:59:00 +02:00
Nestor Soriano
64e903f65f
Update REST API v3 taxes endpoint descriptions with deprecation/introduction information.
2021-03-31 12:41:53 +02:00
Nestor Soriano
8ff664e758
Fix "doing wrong wpdb::prepare" notice for REST API get taxes endpoint.
2021-03-31 12:09:20 +02:00
Veljko
110c31d078
Remove unnecessary postcode
2021-03-31 10:36:47 +02:00
Veljko
c9cd12f5e8
Fix flakiness in the test
2021-03-31 10:01:41 +02:00
Veljko V
183a4bd2cd
Merge branch 'trunk' into e2e/e2e-merchant-import-products
2021-03-31 08:43:03 +02:00
zhongruige
ce9a581c57
Typo fix
2021-03-30 16:22:02 -06:00
zhongruige
e856ad7b26
Updated changelog and README
2021-03-30 16:11:50 -06:00
zhongruige
3e0caaac5c
Remove all coupons before each test run, and clear cart
2021-03-30 16:03:52 -06:00
Claudio Sanches
2da3a37450
Added unit test
2021-03-30 14:11:33 -03:00
Veljko
84b9713cf9
Fix spaces in merchant
2021-03-30 18:23:48 +02:00
Veljko V
a8ab058fb5
Merge branch 'trunk' into e2e/e2e-merchant-analytics-pagechecks
2021-03-30 18:19:21 +02:00
Greg
0342ed782b
Merge pull request #29493 from woocommerce/e2e/e2e-shopper-checkout-new-account
...
Add new e2e test shopper / checkout / create an account
2021-03-30 08:04:26 -06:00
Néstor Soriano
8e57d58555
Merge pull request #29474 from woocommerce/fix/27290-take-2
...
Fix the REST API entry point to add coupons to an order.
2021-03-30 09:22:27 +02:00
Veljko
0ee581e662
Fix spaces issue
2021-03-30 08:48:20 +02:00
Ron Rennick
6d36055328
bump e2e-utils version
2021-03-29 17:58:59 -03:00
Ron Rennick
64d935470c
Merge branch 'trunk' into fix/remove-core-test-import
2021-03-29 13:44:22 -03:00
dependabot[bot]
609c72c695
Bump y18n from 4.0.0 to 4.0.1 in /tests/e2e/api
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 16:43:02 +00:00
Ron Rennick
3d50da02b8
Merge pull request #29440 from woocommerce/fix/29277-release
...
update changelogs, bump package versions
2021-03-29 13:41:52 -03:00
Nestor Soriano
ccb8cbddac
Adjust tests for WC_Admin_Dashboard_Setup (consider 'payments' task)
2021-03-29 17:39:58 +02:00
rodel
39e58101a5
Fixed product setup.
...
Re-enabled all merchant tests.
2021-03-28 18:03:47 +08:00
rodel
45ea52f762
WIP: re-construct products
2021-03-28 12:31:20 +08:00
rodel
24c456b440
revert default.json
2021-03-27 18:56:18 +08:00
𝓑𝓪𝓻𝓻𝔂 𝓗𝓾𝓰𝓱𝓮𝓼
f0c164d2d4
Do not copy fields from the billing address to the shipping address. | #28759
2021-03-26 17:08:37 -07:00
Ron Rennick
fd77beb9af
use require instead of import for faker
2021-03-26 11:23:28 -03:00
Ron Rennick
4f6c0ee13e
use require in core test
2021-03-25 15:28:21 -03:00
Veljko
5b3bc1665d
Updated core-tests-root file
2021-03-25 18:12:54 +01:00
Veljko
afd39e5866
Added core tests root and updated test
2021-03-25 15:59:00 +01:00
Nestor Soriano
b5e13bd771
Add support for "postcodes" and "cities" (arrays) fields to the
...
REST API endpoints for creating and updating taxes.
2021-03-25 14:56:40 +01:00
Nestor Soriano
8ec8daf65a
Add a do_rest_request method to WC_REST_Unit_Test_Case.
2021-03-25 14:56:34 +01:00
Veljko
29ed6bd6e7
Fix test to check for settings checkbox
2021-03-25 13:50:13 +01:00
Veljko
d6cc48c2e3
Fix spaces in code
2021-03-25 13:22:30 +01:00
Veljko
c13aa0f694
Added new e2e test checkout new account
2021-03-25 13:17:42 +01:00
Veljko
3feaba9a47
Update test to match with data state
2021-03-25 12:14:49 +01:00
Veljko
e1a3be4945
Added new e2e test opening analytics
2021-03-25 10:21:32 +01:00
Ron Rennick
8efbd3cbf5
Merge branch 'trunk' into fix/29277-release
2021-03-24 17:53:27 -03:00
Greg
94cd20f16e
Merge pull request #29313 from woocommerce/update/e2e-api-product-delete
...
delete vs trash product in e2e api
2021-03-24 14:25:12 -06:00
Ron Rennick
7529914a98
Merge branch 'trunk' into fix/29277-release
2021-03-24 16:15:03 -03:00
Ron Rennick
6efa5b7ba4
Merge pull request #29399 from woocommerce/fix/29277
...
Update E2E readme files for release
2021-03-24 16:09:34 -03:00
Nestor Soriano
2b8cac7cf2
Fix the REST API entry point to add coupons to an order.
...
- Check input (no 'id', has 'code') and throw an error if needed
before removing the existing coupons, so an invalid input
won't cause the loss of these existing coupons.
- Also, check that the coupon is actually valid as part of the
input check.
- Cache the coupon objects that are created during the input check,
and apply them directly.
- Don't check if 'coupon_lines' is an array and contains arrays,
that's already done by the REST API engine by looking at the schema.
- Adjust unit tests.
2021-03-24 15:19:34 +01:00
rodel
1d91947953
simplified steps and functions
2021-03-23 09:56:39 -07:00
rodel
867122574d
cleaned off todo comments
2021-03-23 09:19:21 -07:00
rodel
945d9a6a20
Added steps and verifications for tax classes
2021-03-23 09:17:47 -07:00
rodel
a24479d596
wip: setup taxes through API
2021-03-23 08:09:58 -07:00
Néstor Soriano
886cd15016
Merge pull request #29378 from woocommerce/fix/code-sniff
...
Remove Travis and fix CI in GitHub Actions
2021-03-23 15:22:49 +01:00
Veljko
dcee9ce109
Created test data folder and moved csv file
2021-03-23 14:09:31 +01:00