Commit Graph

1101 Commits

Author SHA1 Message Date
Ron Rennick f46c2fbf0b
Merge pull request #29737 from woocommerce/e2e/e2e-fix-flaky-checkout-test
Fixed checkout coupons flaky scenario in e2e suite
2021-04-26 13:16:44 -03:00
Ron Rennick 4208207e9c add backbone unblocking 2021-04-26 12:31:09 -03:00
Ron Rennick 2511fce3a7 remove unused product import function from jest setup script 2021-04-26 10:41:46 -03:00
Ron Rennick c315e37c1c switch to individual test files 2021-04-26 09:52:58 -03:00
Veljko 01d0f45088 Update functions instead scenario 2021-04-23 20:03:48 +02: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 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
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
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
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
Ron Rennick 4480e110f4 update core tests & utils readmes 2021-04-12 14:33:00 -03: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
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
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
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
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
zhongruige beb63625ac Use checkbox specific utils and verify it's checked before continuing 2021-03-31 14:26:36 -06: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
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
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
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
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
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
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
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
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
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
Ron Rennick 99b45ff583 update changelogs, bump package versions 2021-03-19 13:13:14 -03: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
Ron Rennick e25ee7f36c fix merge conflicts 2021-03-17 16:40:49 -03: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
Ron Rennick a3aacf5661 update utils readme 2021-03-16 16:57:42 -03:00
Ron Rennick ed4f3af997 update/expand core tests and api readmes 2021-03-16 16:00:01 -03:00
Ron Rennick 34ef87acd3 Merge branch 'trunk' into fix/29277 2021-03-16 13:33:30 -03:00
Ron Rennick 48dc56d32a update e2e main and env readmes 2021-03-16 11:06:44 -03:00
Ron Rennick 53451e5b36 update init-wp-beta.sh with changes to initialize.sh 2021-03-16 10:54:47 -03:00
Tam Mullen a7bceeb50f
Merge pull request #28818 from woocommerce/e2e-shopper-pay-order
Add new e2e test shopper my account pay order
2021-03-16 13:26:21 +00:00
Veljko 58d85a8321 Merge branch 'trunk' into e2e/e2e-fix-flaky-checkout-coupons 2021-03-16 09:44:55 +01:00
Veljko 449f3809b4 Merge branch 'trunk' into e2e/e2e-merchant-search-orders 2021-03-16 09:07:37 +01:00
Veljko 1e59f49f08 Merging with trunk and improving test 2021-03-16 09:02:52 +01:00
Veljko 33978a5e5b Merge branch 'trunk' into e2e/e2e-merchant-settings-shipping-zones 2021-03-16 08:54:18 +01:00
Greg d7eb6d0b9e
Merge pull request #28851 from woocommerce/e2e/api/poc-delete-products
Use api to delete products before e2e tests
2021-03-15 16:22:12 -06:00
Ron Rennick 6031cd922e Merge branch 'trunk' into e2e/api/poc-delete-products 2021-03-15 14:14:31 -03:00
Ron Rennick 372b721b1c package lock maintenance, remove simple products in group product test 2021-03-15 14:04:37 -03:00
Ron Rennick b64c99a8fb Merge branch 'trunk' into update/e2e-api-product-delete 2021-03-15 13:47:56 -03:00
Ron Rennick 5d98dca84e Merge branch 'trunk' into fix/e2e-wp57-cli 2021-03-15 13:40:33 -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
Veljko dfc38562ce Improve test 2021-03-13 19:43:29 +01:00
Veljko 21307e6603 Add checker for existing shipping zones 2021-03-13 18:54:48 +01:00
Veljko fc38b8961e Update test case 2021-03-13 14:23:40 +01:00
Veljko d1ca54514a Reorder tests 2021-03-13 13:56:38 +01:00
Veljko 471f43fd33 Fix reordering tests 2021-03-13 13:49:06 +01:00
Veljko 959ace94e5 Improve page util 2021-03-13 12:59:33 +01:00
Veljko 92a127bcbb Reorder test and improve code 2021-03-13 12:26:28 +01:00
Veljko 12e417ce71 Improve code 2021-03-13 11:55:44 +01:00
Veljko 88cdb83a55 Update test 2021-03-13 10:56:23 +01:00
Veljko V a3cef15e08
Merge branch 'trunk' into e2e/e2e-merchant-settings-shipping-zones 2021-03-13 00:00:10 +01:00
Veljko 70ed073231 Improve test and util 2021-03-12 23:53:04 +01:00
Veljko f903fdab29 Updated page util 2021-03-12 22:23:10 +01:00
Veljko bde3d1c919 Merge branch 'try/add-e2e-screenshot' into e2e/e2e-merchant-search-orders 2021-03-12 21:49:59 +01:00
Ron Rennick 91a4283075 update changelog, readme, fix test broken to test the bot 2021-03-12 16:40:20 -04:00
Ron Rennick 3fa03509db add token to channel join call, update package-lock 2021-03-12 15:40:09 -04:00
Ron Rennick 025b92d5da output error on unknown error, expand PR info 2021-03-12 13:07:10 -04:00
Veljko 26a9abd85e Merge branch 'try/add-e2e-screenshot' into e2e/e2e-merchant-search-orders 2021-03-12 17:55:53 +01:00
Ron Rennick 69f2ce608d output error data on unknown error 2021-03-12 12:39:03 -04:00
Ron Rennick 26f2353be9 Merge branch 'trunk' into update/e2e-api-product-delete 2021-03-12 12:01:41 -04:00
Veljko 7e3abe0f33 Merge branch 'trunk' into e2e/e2e-merchant-search-orders 2021-03-12 17:00:42 +01:00
Ron Rennick 698fdc3712 Merge branch 'trunk' into try/add-e2e-screenshot 2021-03-12 12:00:24 -04:00
Veljko 3ae4e7b4bc Merge branch 'try/add-e2e-screenshot' into e2e/e2e-merchant-search-orders 2021-03-12 09:26:20 +01:00
Jake Oehler Morrison 2f30a141bd Include DB env vars on cli service in e2e tests 2021-03-11 16:19:34 +00:00
Ron Rennick d683e24259 explicitly join the slack channel 2021-03-11 10:46:04 -04:00
Ron Rennick 2c1b3b52a9 add order class and repository 2021-03-11 09:20:26 -04:00
Veljko 710e09687f Merge branch 'trunk' into e2e-shopper-pay-order 2021-03-11 10:40:14 +01:00
Ron Rennick 1cda09d260 fix api package build errors 2021-03-10 15:24:34 -04:00
Ron Rennick 12c0793217 add token to calls, remove block from test title 2021-03-09 16:49:47 -04:00
Ron Rennick bb907a6acd add slack secrets, deliberately break test 2021-03-09 16:11:48 -04:00
Ron Rennick f266f20101 delete vs trash product in e2e api 2021-03-09 13:45:05 -04:00
Ron Rennick ca2cf3cef0 Merge branch 'trunk' into try/add-e2e-screenshot 2021-03-09 13:29:31 -04:00
Ron Rennick d4f56c47a8 Merge branch 'trunk' into update/core-tests-group-api 2021-03-09 13:27:05 -04:00
Ron Rennick 9352dd1b81
Merge pull request #29309 from woocommerce/fix/e2e-product-search
Fix flaky issues with e2e product filter, search, sort test
2021-03-09 13:26:01 -04:00
Ron Rennick 0395457e0c fix api package build errors 2021-03-09 11:33:29 -04:00
Ron Rennick b389cdb76e merge changelog with trunk 2021-03-09 10:39:15 -04:00
Ron Rennick 2d8ab6e2f8 include the current block in screenshot params 2021-03-09 10:19:43 -04:00
Ron Rennick add5d73df2 update browse,search,sort test to be more reliable 2021-03-09 08:49:52 -04:00
Ron Rennick c42e2db280 use api to create products for search test 2021-03-08 22:39:30 -04:00
Ron Rennick 4c88973039 add slack channel support 2021-03-08 19:22:55 -04:00
Ron Rennick 50e9ff2783 make screenshots optional 2021-03-08 16:56:47 -04:00
Ron Rennick b686a45339 update package depenendencies 2021-03-08 16:17:27 -04:00
Jonathan Sadowski 4a5c6b86b3 Update e2e/env CHANGELOG for wc-e2e space fix 2021-03-08 14:06:14 -06:00
Ron Rennick 0e6d14b12d create screenshot on e2e test failure 2021-03-08 15:07:29 -04:00
Jonathan Sadowski e472c99a5c Fix E2E shorthand script to allow for directories with spaces 2021-03-08 11:38:41 -06:00
Ron Rennick 1664ece7eb use valid tax status on fees 2021-03-08 09:59:46 -04:00
Ron Rennick b05a97e2c0 add order types 2021-03-07 23:06:48 -04:00
Veljko ed9b4762ae Update test and utils methods 2021-03-07 15:46:03 +01:00
Veljko V 1fb27ec3dd
Merge branch 'trunk' into e2e/e2e-merchant-search-orders 2021-03-06 12:13:18 +01:00
Veljko 94f83cb859 Revert changes and add waits 2021-03-06 12:09:12 +01:00
Ron Rennick 7261813fc9 Merge branch 'trunk' into fix/27873 2021-03-05 23:47:41 -04:00
Ron Rennick 03c60b988b add order classes 2021-03-05 23:44:16 -04:00
Ron Rennick 30d7b2ce9d
Merge pull request #29270 from woocommerce/add/merchant-order-email-flow
Add merchant order email flow e2e test
2021-03-05 11:21:13 -04:00
Veljko e6fe91ee02 Improve code 2021-03-05 15:54:45 +01:00
Ron Rennick f36c802eb3
Merge pull request #29279 from woocommerce/add/delete-step-product-api-tests
Added delete step to API product tests
2021-03-05 10:43:39 -04:00
Veljko 26c71b9db6 Improve code 2021-03-05 13:57:46 +01:00
Veljko 4b12dfdeda Improve test code 2021-03-05 12:45:16 +01:00
Veljko 7d8e5430ec Fix select element 2021-03-05 12:05:07 +01:00
Veljko 9d52012b8e Improve code and fix flakyness 2021-03-05 11:27:39 +01:00
Veljko 7eae2f2fe8 Improve test and add waits 2021-03-05 11:19:43 +01:00
Veljko c9201e4817 Improved page util method 2021-03-05 10:38:55 +01:00
Veljko c10d03b6ab Updated page util method 2021-03-05 10:16:55 +01:00
Veljko V a4d6183229
Merge branch 'trunk' into e2e/e2e-merchant-search-orders 2021-03-05 09:08:30 +01:00
Veljko b2a395c918 Update test and util 2021-03-05 09:07:23 +01:00
Veljko V b1c13e161b
Merge branch 'trunk' into e2e/e2e-merchant-settings-shipping-zones 2021-03-05 08:53:21 +01:00
Veljko eaf8039223 Add waits to fix flakyness 2021-03-05 08:50:11 +01:00
zhongruige 5bf3e8ed98 Code review feedback 2021-03-04 14:17:43 -07:00
Greg b48d2bfc8f
Merge branch 'trunk' into add/merchant-order-email-flow 2021-03-04 13:53:12 -07:00
Veljko V f44c2fa549
Merge branch 'trunk' into e2e-shopper-pay-order 2021-03-04 21:51:32 +01:00
Veljko V 26be0bf713
Merge branch 'trunk' into e2e/e2e-merchant-search-orders 2021-03-04 20:38:49 +01:00
Veljko 1ab3935e1d Update test and page util 2021-03-04 20:32:53 +01:00
Veljko V 9e1d785086
Merge branch 'trunk' into e2e/e2e-merchant-settings-shipping-zones 2021-03-04 19:56:16 +01:00
Veljko 1accf7166a Add UiUnblocked 2021-03-04 19:46:47 +01:00
zhongruige 6fac4ab6d5 Added delete step to product tests 2021-03-04 11:43:15 -07:00
Veljko V 854ea026b2
Merge branch 'trunk' into e2e-shopper-browse-search-sort 2021-03-04 10:06:30 +01:00
Greg e52504679d
Merge pull request #29236 from woocommerce/fix/28883
add variable product support to api package
2021-03-03 17:20:20 -07:00
Ron Rennick 7a892f61d2 update shared objects among models
- add optional defaultKey, defaultValue to meta data
- move REST _links object to model shared
- add _links collection to coupons
2021-03-03 20:02:10 -04:00
Ron Rennick a106807c51 changes per review 2021-03-03 19:07:43 -04:00
Greg 7b160fa631
Merge branch 'trunk' into add/merchant-order-email-flow 2021-03-03 15:03:23 -07:00
Greg 6b3ca3a456
Merge pull request #29098 from woocommerce/e2e/e2e-page-utils-coupons
Add new e2e page utils and update coupon tests
2021-03-03 14:34:29 -07:00
zhongruige be47060e86 Add flag for clicking to update an order 2021-03-03 10:52:50 -07:00
zhongruige c960edb786 Code review feedback 2021-03-03 10:49:06 -07:00
zhongruige d6b2a6cadd Fix minor type in changelog 2021-03-03 10:01:31 -07:00
zhongruige 4610d5cf16 Updated READMEs and CHANGELOGs 2021-03-03 09:57:11 -07:00
zhongruige afac2aefab Added etests around merchant email flows 2021-03-03 09:45:16 -07:00
Ron Rennick 9ff3122477 add group api test to run all api tests 2021-03-03 12:25:24 -04:00
Ron Rennick 3ab844043f update changelogs, small fixes noticed in review 2021-03-03 11:39:09 -04:00
Ron Rennick df22234a91 add basic variation api tests 2021-03-03 10:31:09 -04:00
Veljko 3b24423b0c Update removeCoupon to include coupon name 2021-03-03 14:57:10 +01:00
Veljko V 92d1f29581
Merge branch 'trunk' into e2e-shopper-pay-order 2021-03-03 14:10:20 +01:00
Veljko 29d8efe012 Edit default json file 2021-03-03 14:02:59 +01:00
Ron Rennick 3ca97c97ff add variable product api test to core tests 2021-03-02 18:47:01 -04:00
Ron Rennick 8b955f79d0 finish out splitting out price properties 2021-03-02 16:01:20 -04:00
Ron Rennick 9675b7ac15 merge trunk 2021-03-02 15:38:03 -04:00
Ron Rennick 220d2b70f3 give grouped-product consistent file name 2021-03-02 14:33:30 -04:00
Ron Rennick 4e55734795 merge trunk 2021-03-02 14:28:16 -04:00
zhongruige 14c0e296ed Remove extra space 2021-03-02 10:24:25 -07:00
zhongruige 69f27b5e6c Code review feedback 2021-03-02 08:57:30 -07:00
Ron Rennick 23c4385f54 remove dup postStatus, finish variations repository, fix build errors 2021-03-01 19:03:33 -04:00
zhongruige 66b7a3cc01 Added coupon to API package and related tests 2021-03-01 11:36:04 -07:00
Ron Rennick 40236cf176 add variation repository 2021-02-28 00:28:23 -04:00
Ron Rennick 8788e204ce add support for creating children 2021-02-27 23:39:59 -04:00
Ron Rennick 9bb3bc6a10 remove price from base product data 2021-02-26 17:19:54 -04:00
Ron Rennick e677380094 add base variable product support to api package 2021-02-26 17:07:40 -04:00
Roy Ho f6d77c206d
Merge pull request #29228 from woocommerce/fix/28238
Update default GIT branch
2021-02-26 11:59:09 -08:00
Ron Rennick 5f6e814d38 complete price property breakout with 3 product types 2021-02-26 14:52:58 -04:00
Ron Rennick 07c4697068 use product URL functions when creating rest repositories 2021-02-26 14:20:37 -04:00
Ron Rennick e3f4e3b0d5 merge trunk 2021-02-26 13:51:42 -04:00
Greg bc9e3bf3ff
Merge pull request #29198 from woocommerce/fix/28885
Add external product support to api package
2021-02-26 09:16:02 -07:00
Ron Rennick 533feb7713 add product variation class to api package 2021-02-26 11:38:12 -04:00
Claudio Sanches d6e3cf6de9 Update default GIT branch 2021-02-25 20:51:14 -03:00
Tam Mullen 651bcb070a Updated core test changelog 2021-02-25 15:00:30 +00:00
Tam Mullen b6c4623057 Added tests for the merchant view order, update order status and update order details flows. 2021-02-25 15:00:30 +00:00
Tam Mullen 87aee208b6 Updated test comments and assertions based on feedback 2021-02-25 14:56:53 +00:00
Tam Mullen 502396ee00 Updated core test changelog 2021-02-25 14:56:53 +00:00
Tam Mullen 2e736d3e74 Updated from using StoreOwnerFlow to merchant 2021-02-25 14:56:53 +00:00
Tam Mullen 427225a3e1 Added tests for the merchant view order, update order status and update order details flows. 2021-02-25 14:56:53 +00:00
Ron Rennick 8b9e1701e1 add grouped product to e2e configuration 2021-02-24 15:48:27 -04:00
Ron Rennick 898e8a3a93 add grouped product test for api package 2021-02-24 15:16:38 -04:00
Ron Rennick 1b7e6933c6 add support for grouped product to api package 2021-02-24 10:29:02 -04:00
Tam Mullen 65443d923b
Merge pull request #29092 from woocommerce/add/e2e-shopper-variable-product-updates
Added new tests for Shopper / Product / Variable Product Info updates depending on variation
2021-02-23 21:43:31 +00:00
Ron Rennick 9cf001e403 separate price properties in api package 2021-02-23 16:44:36 -04:00
Ron Rennick ddcb8ed744
Merge pull request #29207 from Marcuzz/fix/e2e-env-custom-init-file
Only use customInitFile in e2e-environment if it's a string
2021-02-23 15:39:27 -04:00
Marcus 3201a99995 fix: only use customInitFile in e2e if it's a string
in WSL2 the second argument is an instance of Command and can not be used with path.resolve
2021-02-23 20:12:51 +01:00
Ron Rennick 404e3aeb7c update changelog, remove sale price from test 2021-02-23 14:44:47 -04:00
Ron Rennick dcb76a3047 use common buildURL function 2021-02-23 04:52:43 -04:00
Ron Rennick 116dccd12a add basic external product api test 2021-02-23 04:17:45 -04:00
Ron Rennick cc86f19dec fix up some in code docs 2021-02-22 17:16:17 -04:00
Ron Rennick 2e2b53cd7d add external product type to api package 2021-02-22 17:12:30 -04:00
Greg 3830dcefba
Update CHANGELOG.md
Fixed minor type in `CHANGELOG.md`
2021-02-22 13:13:04 -07:00
zhongruige 15825a5a13 Code review feedback 2021-02-22 13:09:11 -07:00
zhongruige 75aefa6325 Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-shopper-variable-product-updates 2021-02-22 13:07:43 -07:00
Greg 5ca996b44a
Merge pull request #29079 from woocommerce/try/handle-confirm-dialog
add delay to confirm dialogs on refund test
2021-02-19 15:58:58 -07:00
Tam Mullen e937a92723
Merge pull request #28869 from woocommerce/add/e2e-merchant-product-views
Added tests around product search and editing a product
2021-02-19 22:34:31 +00:00
Greg 6f9c00cd1c
Merge pull request #29118 from woocommerce/packages/api/product-properties
Separate product properties into property groups
2021-02-19 14:24:14 -07:00
Veljko 4915785684 Fix flakiness in test 2021-02-19 19:38:02 +01:00
Veljko b1ed9e65d8 Fix failing build on TravisCI 2021-02-19 18:59:24 +01:00
Veljko 85bda2c8f2 Fix flakiness in test 2021-02-19 18:16:54 +01:00
Veljko bf46077f55 Fix invalid spaces 2021-02-18 22:48:13 +01:00
Veljko 10a5c8df63 Update components missing params 2021-02-18 22:05:14 +01:00
Veljko a77a4f264e Add new e2e test merchant order searching 2021-02-18 21:53:30 +01:00
Veljko eabee48a32 Remove waits and reorder test 2021-02-18 12:49:04 +01:00
Ron Rennick 9e55856875 add missing update params 2021-02-15 23:27:22 -04:00
Ron Rennick ff79153dd5 add product links collections 2021-02-15 16:59:11 -04:00
Ron Rennick 84f5223dd5 add related and upsell ids 2021-02-15 14:44:40 -04:00
Ron Rennick 653ca39121 add remaining single value props to abstract product 2021-02-15 14:15:37 -04:00
Greg 3ad6a439e3
Merge branch 'master' into add/e2e-shopper-variable-product-updates 2021-02-15 08:20:22 -07:00
Greg 43a7d5d806
Merge branch 'master' into add/e2e-merchant-product-views 2021-02-15 08:19:52 -07:00
Veljko 46655e83a2 Add timeout waits in tests 2021-02-13 09:59:14 +01:00
Ron Rennick 18565bf8ee First pass at separating product properties into groups 2021-02-12 15:29:22 -04:00
Veljko fc3b342545 Update changelogs and comments 2021-02-12 18:19:48 +01:00
Veljko 2b0127f9e3 Fix flaky scenarios and improve code 2021-02-12 17:43:01 +01:00
Veljko 1e26d880c1 Finalize test cases and scenarios 2021-02-12 16:10:23 +01:00
Veljko 7b42416718 Improve test and add new scenarios 2021-02-12 11:18:25 +01:00
Veljko e724f21f6d Update changelog and readme 2021-02-11 19:11:58 +01:00
Veljko 58b564f1cb Add new component for shipping zones 2021-02-11 19:05:50 +01:00
Veljko 8891509478 Add new e2e test merchant shipping zones
In progress still
2021-02-11 17:47:58 +01:00
Veljko 01850a9cec Merge branch 'master' into e2e-shopper-browse-search-sort 2021-02-11 15:03:31 +01:00
Veljko fff3904bbb Add new page utils and update coupon tests 2021-02-11 10:30:39 +01:00
Veljko V c755b5d0a7
Merge branch 'master' into e2e-shopper-pay-order 2021-02-11 09:13:52 +01:00
Veljko V 56cb17c9f7
Merge branch 'master' into e2e-shopper-browse-search-sort 2021-02-11 09:05:21 +01:00
Greg 6d16e6831a
Merge pull request #29064 from woocommerce/add/e2e-merchant-order-customr-payment-page
Add e2e test: merchant order customer payment page
2021-02-10 16:01:47 -07:00
Veljko 5a09000058 Merge branch 'master' into e2e-shopper-browse-search-sort 2021-02-10 22:31:42 +01:00
Veljko 1023075b75 Merge branch 'master' into e2e-shopper-pay-order 2021-02-10 22:30:55 +01:00
zhongruige 0fea99f6be Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-merchant-product-views 2021-02-10 12:59:13 -07:00
zhongruige 27599e82cb Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-shopper-variable-product-updates 2021-02-10 12:58:17 -07:00
Greg dcbbde1ce6
Merge pull request #29082 from woocommerce/e2e/e2e-fix-flaky-cart-coupons-test
Make cart coupons test more granular
2021-02-10 12:57:35 -07:00
Ron Rennick cd8826e85f
Merge pull request #29037 from woocommerce/packages/update-e2e-docs
Update E2E docs
2021-02-10 15:29:41 -04:00
zhongruige 8f81ded6c0 Added new tests for shopper variable product updates 2021-02-10 11:27:50 -07:00
zhongruige 642c3aa40f Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-merchant-product-views
# Conflicts:
#	tests/e2e/core-tests/CHANGELOG.md
#	tests/e2e/utils/README.md
2021-02-10 09:19:14 -07:00
Veljko f3b18880f0 Add waits to avoid flakiness 2021-02-10 13:22:04 +01:00
Veljko c7cf42020f Remove unnecessary code from test 2021-02-10 12:29:56 +01:00
Veljko c27aa94a80 Updated cart coupons test 2021-02-10 11:51:08 +01:00
Veljko 57fa280533 Merge branch 'master' into e2e-shopper-pay-order 2021-02-10 10:57:52 +01:00