Commit Graph

448 Commits

Author SHA1 Message Date
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 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
Greg 63fe943ef9
Merge pull request #29819 from woocommerce/fix/27873
Add order support to API package
2021-05-13 08:07:55 -06: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
Ron Rennick c7afe437d7
small E2E coding fixes (#29816) 2021-05-10 16:27:01 +02:00
Ron Rennick f51dfdfd56 Merge branch 'trunk' into e2e/e2e-merchant-initiate-wccom 2021-05-04 22:28:09 -03:00
Greg c354a67292 Finish work on order; removed unused variable from test 2021-05-03 20:21:00 -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 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
Ron Rennick 4b99a24af2
Merge pull request #29728 from woocommerce/e2e/e2e-update-checkout-naming
Update test naming for the Cart tests to include adding product from shop page
2021-04-29 15:49:18 -03:00
Ron Rennick 4a78541cf5 merge trunk 2021-04-29 15:23:26 -03:00
Ron Rennick 5d4597c31c Merge branch 'trunk' into e2e/e2e-merchant-add-simple-product 2021-04-29 15:18:14 -03:00
Greg 3aca2b9248
Merge pull request #29776 from woocommerce/e2e/coupon-test-names
give cart and checkout coupon tests unique titles
2021-04-29 12:03:16 -06:00
Ron Rennick 00f7e30db5 merge trunk 2021-04-29 13:47:25 -03:00
Veljko a6388d9c34 Fix test by adding new shipping zone 2021-04-29 12:27:46 +02:00
Veljko V 45177c0a6e
Merge pull request #29775 from woocommerce/try/repeatable-onboarding-flow
update onboarding flow modal checks
2021-04-29 11:49:05 +02:00
Ron Rennick 08599ea206 use evalAndClick on add coupon button 2021-04-28 12:15:13 -03:00
Ron Rennick 0d7388e9d4 update for feedback, better wait impementation 2021-04-27 17:45:21 -03:00
Ron Rennick d67e340548 Merge branch 'trunk' into fix/order-search-test 2021-04-27 16:42:42 -03:00
Ron Rennick 6382ab0e66 give cart and checkout coupon tests unique titles 2021-04-27 16:27:35 -03:00
Ron Rennick 9369810682 update onboarding flow modal checks 2021-04-27 15:41:50 -03:00
Ron Rennick f3652e2def update both customer billing and shipping 2021-04-27 11:16:44 -03:00
Ron Rennick 70ff64d427 add the billing address to the customer account 2021-04-26 23:44:58 -03:00
Ron Rennick b63a166dbb user customer user for order search 2021-04-26 14:44:44 -03:00
Veljko 9e3a883478 Merge branch 'e2e/e2e-fix-flaky-checkout-test' into e2e/e2e-merchant-initiate-wccom 2021-04-22 21:27:41 +02:00
Greg 82348d023d Logout merchant and clear the cart before running tests 2021-04-22 11:37:12 -06:00
Veljko 00e1ca530e Fixed checkout coupons flaky scenario 2021-04-22 14:50:31 +02:00
Veljko e5ced9498c Add missing merchant login 2021-04-22 14:39:21 +02:00
Veljko 29f11a5b5a Added new e2e test to initiate wccom connect 2021-04-22 12:42:50 +02:00
Veljko fd85f8239b Update test scenarios to cover both flows 2021-04-22 10:21:36 +02:00
Veljko ce2f04feeb Added new scenario of non-virtual product 2021-04-22 09:47:49 +02:00
Ron Rennick c4074e7bf2 update order coupon test to use api, evalAndClick 2021-04-21 14:45:45 -03:00
Veljko 64f15fc284 Rename test scenario 2021-04-21 14:52:29 +02:00
Ron Rennick 6ece4bc82d remove duplicate publish in product test 2021-04-20 18:11:30 -03:00
Ron Rennick 5feb03e9a7 export send to slack utils, add unblock check to variable product test 2021-04-20 13:32:14 -03:00
Ron Rennick 40e887103b add coupon debug screenshot 2021-04-19 16:51:46 -03:00
Ron Rennick a76b95e3dd increase order filter test before all timeout 2021-04-19 14:49:35 -03: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
Veljko V a2f8216b9b
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping 2021-04-16 11:51:52 +02: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
Greg d496e8e3db
Merge pull request #29623 from woocommerce/e2e/28485-resets
[WIP] Reset a test site
2021-04-14 16:09:09 -06:00
Veljko V 2b82c60107
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping 2021-04-14 10:21:56 +02: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
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
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
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
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
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
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 cb53050892
Merge branch 'trunk' into e2e/e2e-merchant-settings-add-shipping-classes 2021-04-04 01:47:33 -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
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
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
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
Veljko 6cb79fb90d Improve test and fix flakiness 2021-03-31 17:59:09 +02: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
Veljko 4e1b24044f Fix flakiness in the test 2021-03-31 13:59:00 +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 3e0caaac5c Remove all coupons before each test run, and clear cart 2021-03-30 16:03:52 -06: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
Veljko 0ee581e662 Fix spaces issue 2021-03-30 08:48:20 +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
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
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
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
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
Veljko dcee9ce109 Created test data folder and moved csv file 2021-03-23 14:09:31 +01:00
rodel 4f861c9b7a wip: relocated product setup function 2021-03-23 05:00:56 -07:00
rodel 56bd958dde wip: optimized steps 2021-03-23 04:57:29 -07:00
rodel 6f67a3a5b3 wip: fixed variable product initialization 2021-03-22 21:19:05 -07:00
rodel 2e667ae317 wip: setup products via API instead of UI 2021-03-22 07:41:41 -07:00
rodel 8614134887 wip: added variable and grouped products 2021-03-22 04:37:17 -07:00
rodel ec994501ab WIP: Add complex order test 2021-03-22 03:50:14 -07:00
rodel a17a629f3f re-enabled merchant tests 2021-03-21 06:09:12 -07:00
rodel 2c3bec8429 Tests for "Add shipping classes" 2021-03-21 06:07:50 -07:00
rodel f19f39aabb wip: first test in add shipping classes 2021-03-21 05:17:37 -07:00
Veljko d578914a9d Remove after all scenario 2021-03-19 17:29:48 +01:00
Veljko dc23f3a522 Remove removing products from before all 2021-03-19 13:50:23 +01:00
Veljko 783e232227 Add removing products before all 2021-03-19 13:04:00 +01:00
Veljko fe51a15dcb Add after all scenario 2021-03-19 11:58:20 +01:00
Veljko cc5b57da94 Fix test and correct scenario 2021-03-18 23:48:36 +01:00
Veljko 1e9a4dd6ba Improve test scenario 2021-03-18 21:35:07 +01:00
Veljko f39d7531f8 Fix spaces in the code 2021-03-18 18:02:42 +01:00
Veljko V 24747c1713
Merge branch 'trunk' into e2e/e2e-merchant-import-products 2021-03-18 17:27:50 +01:00
Veljko 9c32f421b7 Add new scenario and update changelogs 2021-03-18 17:23:44 +01:00
Veljko 4f98833094 Add first test import products 2021-03-18 13:42:59 +01:00
Veljko f73fdfa4f6 First part of the test 2021-03-18 12:11:38 +01:00
Greg fed4e14459
Merge pull request #29413 from woocommerce/fix/e2e-shipping-test
Attempt to fix flakiness in shipping test
2021-03-17 13:17:07 -06:00
Ron Rennick ddb940e993 Attempt to fix flakiness in shipping test
- Work around Delete and Edit action links not being visible
- delete all shipping zones at beginning of test
- use uiUnBlock instead of page wait
- ensure clicking method edit OK button
2021-03-17 14:48:06 -03:00
Greg b6f3c2b0be
Merge pull request #29383 from woocommerce/e2e/e2e-fix-flaky-checkout-coupons
Fixed flaky e2e test checkout coupons
2021-03-17 08:49:14 -06:00
Veljko V f65c493e38
Merge branch 'trunk' into e2e/e2e-merchant-search-orders 2021-03-17 09:07:51 +01:00
Greg c3e765642c
Merge pull request #29104 from woocommerce/e2e/e2e-merchant-settings-shipping-zones
Add new e2e test merchant shipping zones test
2021-03-16 19:07:24 -06:00
Veljko 1e59f49f08 Merging with trunk and improving test 2021-03-16 09:02:52 +01:00
Ron Rennick 372b721b1c package lock maintenance, remove simple products in group product test 2021-03-15 14:04:37 -03:00
Veljko 5897027080 Fixed flaky test checkout coupons 2021-03-15 13:14:48 +01:00
Veljko 6d24f4dc22 Update test 2021-03-13 20:49:45 +01:00