Commit Graph

374 Commits

Author SHA1 Message Date
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
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
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 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
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
Veljko 9fe10b23ba Update test description 2021-02-10 09:13:35 +01:00
Ron Rennick 93f8c067fe add delay to confirm dialogs on refund test 2021-02-09 23:08:29 -04:00
zhongruige 5d228cc4ab Code review feedback 2021-02-09 13:35:20 -07:00
Veljko V ef5221e307
Merge branch 'master' into e2e-shopper-browse-search-sort 2021-02-09 18:32:58 +01:00
zhongruige dfeea59f6b Minor wording change 2021-02-08 17:03:19 -07:00
zhongruige b52c31063f Added new tests for customer order page in the merchant orders flow 2021-02-08 17:01:21 -07:00
Veljko c18cbcec02 Remove variable from test 2021-02-05 10:49:52 +01:00
Veljko 3294897517 Add new shopper method and update test 2021-02-05 10:30:25 +01:00
Veljko 2bc07e9b55 Fix spacing in code 2021-02-05 09:29:30 +01:00
Veljko 5c7fa67f35 Reorder shopper tests 2021-02-04 20:49:55 +01:00
Veljko 1d6d727350 Revert back change and update code 2021-02-04 20:44:29 +01:00
Veljko 945d8bdf4a Update comment 2021-02-04 18:07:20 +01:00
Veljko be56fa7772 Reorder shopper tests 2021-02-04 17:23:37 +01:00
Veljko f6a19c1430 Reorder scenarios within test 2021-02-04 14:51:17 +01:00
Veljko 7f2163fdd8 Add new test shop browse search sort products 2021-02-04 14:44:23 +01:00
Veljko ff71de8578 Fix spaces and split tests 2021-02-03 13:13:28 +01:00
Veljko 649cb4cd8d Reorder shopper test execution for new test 2021-02-01 18:29:15 +01:00
Veljko V 6d6554ccbd
Merge branch 'master' into e2e-shopper-grouped-product 2021-02-01 12:25:03 +01:00
Veljko 2451b636d7 Merge branch 'master' into e2e-shopper-pay-order 2021-01-28 19:46:06 +01:00
Veljko 6b15fe98e5 Revert back index reorder changes 2021-01-28 19:45:39 +01:00
Ron Rennick a252b3a3d8 use workaround for coupon already applied 2021-01-28 10:39:48 -04:00
Veljko 6a64a39b39 Reorder test in index to avoid flakyness 2021-01-28 12:10:50 +01:00
Veljko bfa9cc1788 Reorder test in index and update readme
I added also missing for other pull requests that were merged already
2021-01-28 11:12:56 +01:00
Ron Rennick de759607d1 use correct coupon codes to total $0 2021-01-27 21:04:01 -04:00
Ron Rennick 1195e79c17 clear coupon code for entry 2021-01-27 20:34:56 -04:00
Ron Rennick d18dc96158 make cart coupon test more granular 2021-01-27 17:15:39 -04:00
Veljko 57a798c0e9 Merge branch 'master' into e2e-shopper-pay-order 2021-01-27 17:38:03 +01:00
zhongruige 1e36385fc8 Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-merchant-product-views 2021-01-27 08:05:14 -07:00
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 0eafe83be6 Merge branch 'master' into e2e-shopper-cart-apply-coupon 2021-01-25 12:24:19 -04: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
zhongruige 665cb0b8cf Added tests around product search and editing a product 2021-01-20 16:19:07 -07:00
Veljko 521f5d9610 Add new e2e test shopper grouped product 2021-01-19 18:20:04 +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
Veljko V 22d7497d6a Fix code to be according to standards 2021-01-14 19:13:16 +01:00
Veljko V d569717808 Update scenario of shopper paying his order 2021-01-14 17:19:06 +01:00
Veljko V 50d601355c Update scenario shopper can pay his order 2021-01-14 14:22:39 +01:00
Veljko V 98823ba8d0 Add new e2e test case customer can pay for his order 2021-01-14 13:45:12 +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
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
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
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 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
Veljko V a5175c75d6 Fix problem in headless by adding uiUnblocked 2020-12-24 11:57:17 +01:00
Veljko V 121099afe7 Fix problem in headless by adding uiUnblocked 2020-12-24 11:53:45 +01:00
Veljko V 314295c785 Update existing code to be more successful in headless 2020-12-23 17:24:34 +01:00
Veljko V e6ebfc5154 Update existing code to be headless compatible 2020-12-23 17:19:48 +01:00
Veljko V a033be3fde Add e2e test shopper checkout apply coupon 2020-12-23 16:51:25 +01:00
Veljko V 4b62b23580 Add new e2e test shopper cart apply coupon 2020-12-23 15:04:52 +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 1dfedf425c Code review feedback--setting the consts in the test itself 2020-12-08 15:09:23 -07:00
zhongruige ae1ebfd031 Code review feedback--moving statuses to config values 2020-12-05 20:30:42 -07: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
Ron Rennick d0fd8acd44 add permalinks working test 2020-11-04 14:56:48 -04:00
Ron Rennick 038058af1e update product new test with correct parameters 2020-10-28 13:44:33 -03:00
Ron Rennick 1794026773 fix flaky e2e coupon test 2020-10-27 16:44:42 -03:00
Ron Rennick 0a7c0dc7fc
Merge pull request #27790 from woocommerce/fix/27787
Expose automattic/puppeteer-utils in e2e-environment
2020-10-15 09:52:52 -03:00
Julia Amosova 03078c5a9d Implement `waitAndClick` in the setup e2e test. 2020-10-13 16:25:28 -04:00
Ron Rennick 24713a45c3 restore shipping setup test 2020-10-13 16:15:07 -03:00
Ron Rennick 72219b2323 move merchant tests to package 2020-09-30 14:41:31 -03:00
Ron Rennick 76f591251a move front end tests to package 2020-09-29 17:00:34 -03:00
Ron Rennick 27e79f465f split activation, onboarding, setup tests into separate files 2020-09-29 16:16:43 -03:00
Ron Rennick 1abbe3f273 initial core test package files, move setup tests to package 2020-09-29 15:22:20 -03:00