Commit Graph

304 Commits

Author SHA1 Message Date
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 45735a30f7 Make selector more specific 2021-07-22 10:55:45 -06:00
Greg 88686602ed Add longer timeout on selector 2021-07-21 13:26:33 -06:00
Greg e0c5bdadc2 Added wait for selector in search 2021-07-21 12:45:16 -06:00
Greg 268c07118e Added plugin upload functionality 2021-07-15 14:39:32 -06:00
Greg f2a4137a7f Added comment blocks 2021-07-09 10:30:16 -06:00
Rodel Calasagsag 07dc505d18 Added changelog entries 2021-07-01 20:09:24 +08:00
Rodel Calasagsag c25b23aafc Used API package to create orders by batch 2021-07-01 16:50:35 +08:00
Greg 5062c13f38 Broke out install function 2021-06-30 14:35:17 -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
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
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
Greg 372064c49f Added flows for updating WP, themes, and plugins 2021-06-15 16:28:10 -06:00
Rodel Calasagsag f2305a2486 Fix instantiation of grouped product variables 2021-06-09 17:08:45 +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 6ab74bf811 Fix variation factory to include all fields from params 2021-06-05 20:50:44 +08:00
Rodel Calasagsag 81e05acdd6 Use API to generate all possible variations 2021-06-05 20:48:38 +08: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 ee50c0d4b2 Return variable product object from response 2021-06-02 16:43:55 +08:00
Rodel Calasagsag a028973279 Use api to create variable product 2021-06-01 20:04:04 +08: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
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
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
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
Ron Rennick 00f7e30db5 merge trunk 2021-04-29 13:47:25 -03:00
Ron Rennick f7447b12fa remove debug code 2021-04-28 14:27:32 -03:00
Ron Rennick 08599ea206 use evalAndClick on add coupon button 2021-04-28 12:15:13 -03:00
Ron Rennick 779cfc89d4 Merge branch 'trunk' into try/repeatable-onboarding-flow 2021-04-28 10:18:39 -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 9369810682 update onboarding flow modal checks 2021-04-27 15:41:50 -03:00
Ron Rennick 4208207e9c add backbone unblocking 2021-04-26 12:31:09 -03:00
Veljko 01d0f45088 Update functions instead scenario 2021-04-23 20:03:48 +02:00
Veljko 29f11a5b5a Added new e2e test to initiate wccom connect 2021-04-22 12:42:50 +02:00
Ron Rennick c4074e7bf2 update order coupon test to use api, evalAndClick 2021-04-21 14:45:45 -03:00
Ron Rennick 511d7ed0fe replace waitfor delay with network idle 2021-04-19 16:02:30 -03:00
Ron Rennick 682e6bd003 Merge branch 'trunk' into fix/order-search-test 2021-04-19 11:35:32 -03:00
Veljko V a2f8216b9b
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping 2021-04-16 11:51:52 +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
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 d8ff7c02b8
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping 2021-04-13 09:23:18 +02:00
Ron Rennick 4480e110f4 update core tests & utils readmes 2021-04-12 14:33:00 -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
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
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
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 b850ba3f84
Merge branch 'trunk' into e2e/e2e-merchant-import-products 2021-04-02 09:52:45 +02:00
zhongruige b1d0f4eab0 Add missing semicolon 2021-04-01 12:51:04 -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
zhongruige beb63625ac Use checkbox specific utils and verify it's checked before continuing 2021-03-31 14:26:36 -06: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
Ron Rennick 6d36055328 bump e2e-utils version 2021-03-29 17:58:59 -03:00
Ron Rennick fd77beb9af use require instead of import for faker 2021-03-26 11:23:28 -03:00
Veljko c13aa0f694 Added new e2e test checkout new account 2021-03-25 13:17:42 +01:00
Veljko e1a3be4945 Added new e2e test opening analytics 2021-03-25 10:21:32 +01:00
Ron Rennick 7529914a98 Merge branch 'trunk' into fix/29277-release 2021-03-24 16:15:03 -03:00
Ron Rennick 99b45ff583 update changelogs, bump package versions 2021-03-19 13:13:14 -03: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 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
Veljko V f65c493e38
Merge branch 'trunk' into e2e/e2e-merchant-search-orders 2021-03-17 09:07:51 +01:00
Ron Rennick a3aacf5661 update utils readme 2021-03-16 16:57:42 -03:00
Veljko 449f3809b4 Merge branch 'trunk' into e2e/e2e-merchant-search-orders 2021-03-16 09:07:37 +01:00
Veljko 33978a5e5b Merge branch 'trunk' into e2e/e2e-merchant-settings-shipping-zones 2021-03-16 08:54:18 +01:00
Ron Rennick 6031cd922e Merge branch 'trunk' into e2e/api/poc-delete-products 2021-03-15 14:14:31 -03:00
Veljko fc38b8961e Update test case 2021-03-13 14:23:40 +01:00