Commit Graph

16 Commits

Author SHA1 Message Date
Rodel Calasagsag 072af834b9 Clear browser cache and cookies after each test.
Add merchant logins to relevant onboarding & setup tests
2021-05-21 19:27:50 +08:00
Ron Rennick 9369810682 update onboarding flow modal checks 2021-04-27 15:41:50 -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
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 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
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
Ron Rennick 4774297e15 use xpath to find onboarding set up shipping task 2020-12-19 23:00:32 -04:00
Ron Rennick d0fd8acd44 add permalinks working test 2020-11-04 14:56:48 -04: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 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