Commit Graph

40 Commits

Author SHA1 Message Date
Sam Seay 55b49cb50a
Fix and consolidate linting across the monorepo (#35012) 2022-10-12 15:05:01 +13:00
Chi-Hsuan Huang a3d42be6b0
Fix setup wizard click button loading state (#33358)
* Fix setup wizard usage button loading state

* Add e2e tests for usage button loading state
2022-06-09 17:30:06 +08:00
Alejandro López Ariza ea25e2c5b2
Added new tests to cover editing product variations in the Product Edit page. (#32722) 2022-06-01 09:36:44 -06:00
Paul Sealock 489ebf2cc6
Standardize linting: e2e js packages (#32794) 2022-05-05 15:02:50 +12:00
Jonathan Lane 08513fbb0d
Merge branch 'trunk' into fix/e2e-utils-shopper-searchForProduct 2022-04-26 11:01:09 -07:00
Chi-Hsuan Huang ab18914ada Fix e2e-utils lint errors
Fix e2e-utils/src/components.js
2022-03-25 16:55:40 +08:00
rodelgc 15fbc0be9a
Removed faker dependency (#32069)
* Removed faker dependency
2022-03-24 15:30:40 +08:00
Lucas Bustamante 31fae36caa Update XPath syntax 2022-02-28 17:41:00 -03:00
Lucas Bustamante c90e11ea3d Refactor merchant logout 2022-02-28 17:09:19 -03:00
Alejandro López Ariza 5af5be5100
Added new tests to wp-admin-order-edit.test.js for covering merchant management actions over downloadable products. (#31650)
* Added new tests to wp-admin-order-edit.test.js for covering merchant management actions over downloadable products.

* Updated changelogs from e2e-utils and e2e-core packages.

* - Fixed minor issue from wp-admin-order-edit.test.js when running tests in browser mode.
- Changed those tests so that products and orders are deleted individually after every test run.
- Added deleteOrder() and deleteProduct() functions to withRestApi.

Co-authored-by: rodelgc <rodel.calasagsag@automattic.com>
2022-02-28 15:24:33 +08:00
Tung Du 3b637f1e93
Fix: `shopper.emptyCart()` issue. (#31977)
* fix: shopper.emptyCart

* ensure emptyCart work with cart containing multiple products
2022-02-25 16:14:42 +08:00
Alex Florisca 491a04b52d Fix link click for shopper.searchForProduct 2022-02-17 15:43:28 +00:00
Ron Rennick 933de44557 remove pnpm rule, fix utils build 2022-01-28 12:34:49 -04:00
Ron Rennick 1c1fceb304 e2e-core-test package cleanup 2022-01-14 15:44:08 -04:00
jonathansadowski d71a9d9ba9
Revert "Add config default values" 2022-01-05 14:44:31 -06:00
jamelreid 7ff7b14cb4 Required config from @woocommerce/e2e-environment 2022-01-03 17:41:46 -05:00
Ron Rennick 4ee75fc5d2 updates per review 2021-12-23 14:47:03 -04:00
Ron Rennick 60e1820898 dismiss onboarding wizard on page load tests 2021-12-22 13:59:38 -04:00
Ron Rennick 0c268ad998 fix merge conflicts 2021-12-14 14:40:01 -04:00
Ron Rennick 6989bd61f9 merge trunk 2021-12-08 12:12:34 -04:00
Ron Rennick 2ec68e0e69 code cleanup 2021-12-08 11:07:24 -04:00
jamelreid 021b61a5f9 Merge branch 'trunk' into add/jest-retry 2021-12-06 17:50:22 -05:00
jamelreid b7f11e3527 Removed waitForNavigation command 2021-12-06 15:37:30 -05:00
jamelreid 3a39d7d9fc Updated check for default category 2021-12-01 15:48:31 -05:00
Ron Rennick 226d5ac423
port config, waitForSelector from puppeteer-utils (#31240) 2021-11-23 18:55:42 +01:00
Ron Rennick fa192d9c27
add shopper.logout() (#31120) 2021-11-23 14:28:17 +01:00
Jeff Stieler 209566b7c4
Fix errant stock adjustment when saving partially refunded orders. (#31172)
* Preserve stock metadata for refunded items.

Prevents fully restocked items on partially refunded orders from having stock reduced on subsequent order updates.

* Add E2E test covering errant restocking fix.
2021-11-19 14:24:35 -07:00
Ron Rennick e13869c442 fix merge conflicts 2021-11-15 13:03:14 -04:00
Ron Rennick 7fc5e1e088 fix merge conflicts 2021-11-10 15:51:00 -04:00
Ron Rennick 7850b930ce fix merge conflicts 2021-11-10 15:48:20 -04:00
Ron Rennick 6d4e90ef59 make expect calls in withRestApi optional 2021-11-10 12:25:09 -04:00
Ron Rennick 34e72a5f5f update readme, changelog 2021-11-10 05:24:54 -04:00
Ron Rennick eeb331f160 move coupon delete, add tax classes, rates to withRestApi 2021-11-09 14:09:26 -04:00
Ron Rennick 9582aa5107 move clickAndWaitForSelector to utils package 2021-11-08 13:38:55 -04:00
Greg 9df1b119c6
Merge branch 'trunk' into add/run-api-tests-on-pr 2021-11-03 08:47:30 -06:00
Greg 574b5282a2 Fix imports 2021-11-01 14:40:03 -06:00
Greg fabf6bf8c6 Code review feedback 2021-11-01 14:26:16 -06:00
Greg a28840b1d9 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/run-api-tests-on-pr
# Conflicts:
#	.github/workflows/pr-build-and-e2e-tests.yml
#	plugins/woocommerce/tests/e2e/core-tests/specs/merchant/wp-admin-product-import-csv.test.js
2021-10-29 15:31:48 -06:00
Greg 5ba261950c Use category ID instead of category name 2021-10-29 15:19:14 -06:00
Paul Sealock 789d942f89
Update e2e package locations and add PNPM (#30977) 2021-10-29 08:32:31 +13:00