Commit Graph

389 Commits

Author SHA1 Message Date
Ron Rennick d882433db4
Merge pull request #28661 from woocommerce/e2e-shopper-cart-apply-coupon
Add new e2e test shopper cart apply coupon
2021-01-25 13:34:23 -04:00
Ron Rennick 6134d0ffc8
Merge pull request #28867 from woocommerce/add/e2e-shopper-registered-checkout
E2E: add registered shopper checkout test
2021-01-25 12:52:48 -04:00
Ron Rennick 0eafe83be6 Merge branch 'master' into e2e-shopper-cart-apply-coupon 2021-01-25 12:24:19 -04:00
Ron Rennick 09dedb5520
bump version in E2E packages (#28823)
* bump version in core-tests, utils

* bump api package version, update changelog

* bump e2e-environment to 0.2.0
2021-01-22 14:22:33 +01:00
Leif Singer 7154b61283 move verifyOrder into merchant 2021-01-22 12:44:18 +01:00
Leif Singer 1bafa98a66 move registered customer checkout test to general checkout tests 2021-01-22 11:16:54 +01:00
Leif Singer 197a126aab E2E: add registered shopper checkout test 2021-01-22 11:16:53 +01:00
Ron Rennick 10880ae6e1
add admin user E2E config support (#28656)
* add admin user config support

* use merchant.login() is jest setup

* remove customer config from builtin readme

* fix missed merge change

Co-authored-by: Leif Singer <git@singer.sh>
2021-01-19 16:02:08 +01:00
Ron Rennick 8721b5d9d9
update core-tests, utils package readmes (#28715) 2021-01-19 14:00:59 +01:00
Veljko 00172c5085 Update util changelog 2021-01-15 18:30:05 +01:00
Veljko 0ae2110cd8 Update test to avoid conflict 2021-01-15 18:27:40 +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
Ron Rennick 57d8a00682
Merge pull request #28684 from woocommerce/fix/28682
introduce evalAndClick() E2E utility function
2021-01-14 09:41:10 -04:00
Veljko V d1150b25dc
Update changelog to include added parameter 2021-01-13 19:34:46 +01:00
Ron Rennick b477cb8d3a
only activate WooCommerce in E2E initialization (#28588)
* only activate WooCommerce in E2E initialization
* use project basename for default plugin path
2021-01-13 12:27:11 +01:00
Veljko V 760a879cb9 Fix white spaces issue 2021-01-11 16:45:31 +01:00
Veljko V 8b85a73977 Fix white spaces issue 2021-01-11 16:40:40 +01:00
Veljko V 633251009b Update test to include lower case method 2021-01-11 16:34:10 +01:00
Veljko V 2e8b6cb0f1 Update test to include lower case method 2021-01-11 16:31:47 +01:00
Veljko 5ceda17664 Update code to be more concise 2021-01-09 18:53:12 +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
Ron Rennick 5f7b71c543 update readme and package change log 2021-01-08 15:04:47 +01:00
Ron Rennick 96ab0d8d7f include package.json updates 2021-01-08 15:04:47 +01:00
Ron Rennick a7014d5496 introduce wc-e2e shorthand script 2021-01-08 15:03:12 +01:00
Ron Rennick 597ec5f9c3 WIP 2021-01-08 15:03:12 +01:00
Veljko 8111c4f410 Improve test case and components 2021-01-07 23:39:12 +01:00
Veljko cf0a4df04b Improve test case and components 2021-01-07 20:59:53 +01:00
Ron Rennick 6d402c96c8
Merge pull request #28017 from woocommerce/fix/25643
Fix E2E variable product test
2021-01-06 14:39:19 -04:00
Ron Rennick 7959ba3d16
Merge pull request #28045 from woocommerce/fix/28012
add support for custom E2E container name
2021-01-06 13:52:42 -04:00
Veljko V 79904279fa Update components and test to be more concise 2021-01-06 17:08:29 +01:00
Veljko V a0049c10ff Fix test title to be more concise 2021-01-05 22:48:34 +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 923bf28d44 use checkbox object for checking/unchecking 2021-01-05 13:19:49 +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 f782bcdc86
Update changelog information 2021-01-04 15:28:09 +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
Veljko V 2204867a20 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:11:41 +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