Commit Graph

72 Commits

Author SHA1 Message Date
Ron Rennick 8721b5d9d9
update core-tests, utils package readmes (#28715) 2021-01-19 14:00:59 +01:00
Ron Rennick 3950f61f8f fix merge conflict 2021-01-15 12:52:00 -04:00
Veljko V cce8983f14
Update test case to avoid conflict with master 2021-01-15 16:41:26 +01:00
Veljko V 8b85a73977 Fix white spaces issue 2021-01-11 16:40:40 +01:00
Veljko V 2e8b6cb0f1 Update test to include lower case method 2021-01-11 16:31:47 +01:00
Veljko 2cf971486e Update code to be more concise 2021-01-09 18:49:59 +01:00
Ron Rennick 20a6e3b2ed merge master 2021-01-08 15:55:59 -04:00
Veljko 8111c4f410 Improve test case and components 2021-01-07 23:39:12 +01:00
Veljko V 79904279fa Update components and test to be more concise 2021-01-06 17:08:29 +01:00
Veljko V d3169dcf43 Remove unnecessary code 2021-01-05 22:24:03 +01:00
Ron Rennick b3b73e069a merge upstream 2021-01-05 14:56:27 -04:00
Ron Rennick 35e490e631 restore accidental readme deletion 2021-01-05 14:52:29 -04:00
Leif Singer 62d5e9a0bc fix an overlooked merge conflict resolution issue 2021-01-05 15:06:51 +01:00
Ron Rennick 3076e1e50f disable setting variation fields in variable product test 2021-01-05 13:24:51 +01:00
Ron Rennick 120fc00f82 use waitAndClick, waitForSelector where applicable 2021-01-05 13:24:51 +01:00
Ron Rennick 7a03688006 variation test works to last uncommented step 2021-01-05 13:24:51 +01:00
Ron Rennick 0d2a5ac5e9 Fixes needed for variable product E2E test
- Jest/Puppeteer sometimes will not find an element on page load when that element is outside the initial viewport
- There were duplicate .variation_tab classes which confused Jest/Puppeteer
- Add function for opening and verifying new product page
- Update test sequence for changes in flow in markup and Jest/Puppeteer
2021-01-05 13:19:49 +01:00
Veljko V cf8c114198
Update changelog information 2021-01-04 15:27:05 +01:00
Veljko V 57f3eccc95 Fix conflict with another tests
We're using dynamic coupon creation now. I updated other test to search for specific coupon name because in order edit page there's only lowercased coupon names, but we're using uppercased for two reasons at least.
2021-01-04 15:20:40 +01:00
Ron Rennick 47c6d06a77 introduce evalAndClick() E2E utility function 2020-12-29 15:56:55 -04:00
zhongruige f472d3cc0f Cast to number for the comparison 2020-12-29 10:38:36 -07:00
zhongruige e3765dc650 Code review feedback 2020-12-29 09:10:22 -07:00
zhongruige aeb0f5861f Make sure the tests are backwards compatible 2020-12-27 15:18:31 -07:00
Veljko V a5175c75d6 Fix problem in headless by adding uiUnblocked 2020-12-24 11:57:17 +01:00
Veljko V 3c85972780 Updated changelogs to utils and core tests 2020-12-24 10:55:20 +01:00
Veljko V 314295c785 Update existing code to be more successful in headless 2020-12-23 17:24:34 +01:00
Veljko V a033be3fde Add e2e test shopper checkout apply coupon 2020-12-23 16:51:25 +01:00
zhongruige 0cdcb26f61 Addressing merge conflicts 2020-12-22 19:35:50 -07:00
Ron Rennick d4cae9ee25
Update e2e-utils, e2e-core-tests to merchant & shopper (#28133)
* migrate utils from CustomerFlow/StoreOwnerFlow to customer, merchant and shopper

* merge customer into shopper

- add shopper.gotoMyAccount flow

* update internal uses to merchant, shopper

* add *Flow deprecation messages

* update e2e-utils changelog

* update order filter, refund tests to merchant

* add a wait to refund test for ajax to complete

* update StoreOwnerFlow to merchant in new test

* move ajax wait to end of previous test
2020-12-22 14:59:16 +01:00
zhongruige 55a8fc3d11 Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-simple-price-config-variable 2020-12-21 08:54:33 -07:00
Vedanshu Jain d2c5fc0750
Merge pull request #28635 from woocommerce/packages/core-tests/setup-shipping
use xpath to find onboarding set up shipping task
2020-12-21 01:05:46 +05:30
Ron Rennick 4774297e15 use xpath to find onboarding set up shipping task 2020-12-19 23:00:32 -04:00
zhongruige 5131c922a2 Remove unneeded no-disabled-tests 2020-12-15 20:18:16 -07:00
zhongruige e178017e0a Added tests for the merchant order apply coupon flow 2020-12-15 20:14:02 -07:00
zhongruige d8018cf28e Add missing trailing semicolon 2020-12-15 06:33:55 -07:00
zhongruige 88630e2a32 Add delete issued refund test 2020-12-13 16:07:16 -07:00
zhongruige 46164b032d Add config variable for simple product price and update tests to utilize it 2020-12-12 15:46:13 -07:00
zhongruige 9d95a21f48 Cleanup unused no-standalone-expect 2020-12-11 10:54:42 -07:00
zhongruige 88ddefbcb3 Dynamically pull the currency symbol instead of hard-coding it 2020-12-11 10:48:20 -07:00
zhongruige 4ca6114476 Swap out currency symbol 2020-12-11 09:47:03 -07:00
zhongruige 2caac87d03 Added new tests for the merchant order refund flow 2020-12-10 21:27:04 -07:00
zhongruige c07f31f22c
Merge branch 'master' into add/e2e-merchant-orders-filter-orders 2020-12-08 15:50:00 -07:00
zhongruige 1dfedf425c Code review feedback--setting the consts in the test itself 2020-12-08 15:09:23 -07:00
Ron Rennick 80ded96120 merge master 2020-12-07 13:13:52 -04:00
zhongruige ae1ebfd031 Code review feedback--moving statuses to config values 2020-12-05 20:30:42 -07:00
Ron Rennick 5a81d8de41 disable setting variation fields in variable product test 2020-12-03 15:09:55 -04:00
Ron Rennick 53fd108b1b implement peer dependencies in e2e packages 2020-12-03 11:55:02 -04:00
Ron Rennick 60556ea288 update package changelogs 2020-12-01 19:19:10 -04:00
Ron Rennick a21f9e24a4 add config to package.json in utils, core tests 2020-12-01 18:03:50 -04:00
zhongruige 7e286e30f2 Added order filter tests; created helper functions for the tests; updated READMEs and CHANGELOG to reflect changes 2020-11-27 14:49:20 -07:00