Alex López
4c243ddbc5
Updated e2e-utils changelog.
2022-04-21 12:26:37 +02:00
Alex López
0fffa6cba9
Disabled eslint task for staged files in e2e-utils until lint issues are addressed.
2022-04-21 09:49:07 +02:00
Alex López
d94bc5e78a
Fixed e2e-utils eslint config so that it depends on the package config file only.
2022-04-21 09:33:45 +02:00
Paul Sealock
87cc903b3a
changelof
2022-04-19 15:30:35 +12:00
Paul Sealock
4e700a35ca
Create a private package to house e2e build logic
2022-04-19 14:59:46 +12:00
Niels Lange
5fbebe240c
Remove duplicate entry `verifyAndPublish`
2022-04-07 15:43:10 +02:00
Chi-Hsuan Huang
2b1f54b09d
Set up lint-staged configuration for each package
2022-04-06 17:31:32 +08: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
Ron Rennick
4fa9cf1051
missed package bumps from #31836
2022-02-18 13:14:06 -04:00
Alex Florisca
491a04b52d
Fix link click for shopper.searchForProduct
2022-02-17 15:43:28 +00:00
Ron Rennick
eac5fb5c67
Merge branch 'trunk' into e2e/prepare-release
2022-02-03 15:30:07 -04:00
Ron Rennick
c607bbfeb8
pre-release changelog fixes
2022-02-01 15:37:31 -04: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
f16ee73f98
Updated CHANGELOG.md
2022-01-03 18:21:26 -05:00
jamelreid
7ff7b14cb4
Required config from @woocommerce/e2e-environment
2022-01-03 17:41:46 -05:00
jamelreid
7284163ce5
Added @woocommerce/e2e-environment peer dependency
...
Also removed config as a dependency
2022-01-03 17:40:43 -05:00
Ron Rennick
4ee75fc5d2
updates per review
2021-12-23 14:47:03 -04:00
Ron Rennick
0323025179
update readme, changelog
2021-12-22 14:54:04 -04:00
Ron Rennick
60e1820898
dismiss onboarding wizard on page load tests
2021-12-22 13:59:38 -04:00
roykho
b1e7abcd4a
Add needed packages to build e2e
2021-12-16 07:48:52 -08:00
Ron Rennick
42dd5504f3
merge trunk
2021-12-15 14:26:54 -04:00
Paul Sealock
eb453cce20
Add NX commands for Jetpack Changelogger ( #31166 )
2021-12-15 14:14:17 +13:00
Ron Rennick
0c268ad998
fix merge conflicts
2021-12-14 14:40:01 -04:00
Roy Ho
b12de19975
Merge pull request #31356 from woocommerce/prevent-npm
...
Prevent npm
2021-12-10 12:26:43 -08:00
roykho
f5b4c86e8e
Move ignore file to root level
2021-12-09 06:21:01 -08:00
jamelreid
fecbeac4ad
Updated CHANGELOG.md
2021-12-08 13:44:58 -05: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
cbbe8eeec1
Updated CHANGELOG.md
2021-12-06 16:10:55 -05:00
jamelreid
b7f11e3527
Removed waitForNavigation command
2021-12-06 15:37:30 -05:00
roykho
286928bb6d
Ignore package-lock.json
2021-12-02 11:12:27 -08:00
roykho
c03bcc59b4
Prevent the use of npm to install packages
2021-12-02 11:09:46 -08:00
jamelreid
3a39d7d9fc
Updated check for default category
2021-12-01 15:48:31 -05:00
Ron Rennick
519b4f6de4
fix lock merge conflict
2021-11-30 15:48:39 -04:00
Claudio Sanches
bc910e2364
Merge pull request #31206 from woocommerce/fix/changelogger-validate
...
Jetpack Changelogger: Validate entries
2021-11-26 13:21:01 -03: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
2f9a6a32c2
deprecate core e2e setup, onboarding tests
2021-11-16 18:51:24 -04:00
Paul Sealock
fc839d212d
update all usages
2021-11-16 15:16:20 +13:00
Christopher Allford
c91dda177d
Fix E2E Tests ( #31205 )
...
* Removed Changlogger Autoload
* Changed Jetpack Changelogger Formatter Loading
Rather than using the Composer autoload, we should use the
changelogger's "filename" option to point directly at the file.
This keeps the file out of the autoloads, since it's possible that
plugins or packages may be symlinked and break the relative
path to the plugin.
2021-11-16 15:01:50 +13:00
Ron Rennick
e13869c442
fix merge conflicts
2021-11-15 13:03:14 -04:00
Ron Rennick
873fad37ce
update utils changelog and readme
2021-11-15 12:59:28 -04:00
Paul Sealock
15f26ee8f7
update to 3.0.2 of changelogger
2021-11-11 17:03:44 +13:00
Paul Sealock
5d6539d209
lock files
2021-11-11 16:55:05 +13:00
Paul Sealock
5c68568bb7
Revert "add nx composer-install targets"
...
This reverts commit ffaef64343
.
2021-11-11 16:47:50 +13:00
Paul Sealock
ffaef64343
add nx composer-install targets
2021-11-11 16:43:27 +13:00
Paul Sealock
20fb81eb5a
point to next changelog
2021-11-11 16:38:38 +13:00
Paul Sealock
e08cc18e16
js packages next changelogs
2021-11-11 16:34:50 +13:00
Paul Sealock
a5abab9ab0
Add Jetpack Changelogger
2021-11-11 16:28:10 +13:00
Greg
8e69b7c477
Merge pull request #31104 from woocommerce/fix/29178
...
move clickAndWaitForSelector to utils package
2021-11-10 13:58:21 -07: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
Greg
6ecafbbf2a
Fix minor issue in README table
2021-11-10 10:52:09 -07:00
Greg
008e4f19c4
Merge pull request #31114 from woocommerce/fix/30867
...
move coupon delete, add tax classes, rates to withRestApi
2021-11-10 10:49:26 -07: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
Roy Ho
9d08ac8ac3
Merge pull request #31095 from woocommerce/setup-nx
...
Setup nx
2021-11-09 20:26:37 -08:00
roykho
d839bdfc94
Implement executors for all script commands
2021-11-09 12:35:22 -08: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
Ron Rennick
a6df312732
Merge pull request #31084 from woocommerce/fix/e2e-env-readme-links
...
Update links to moved e2e READMEs.
2021-11-05 15:54:30 -03:00
roykho
7dc6ae6316
Add Nx basic script executors for packages
2021-11-05 08:15:04 -07:00
roykho
e34803caa2
Add Nx lint to e2e-utils package
2021-11-05 05:59:47 -07:00
Ron Rennick
efe7e4f8ba
Merge pull request #31010 from woocommerce/add/run-api-tests-on-pr
...
Run API tests on PR with e2e tests
2021-11-05 09:12:26 -03:00
roykho
b64d0b3dfe
Add initial project.json config files to all packages and plugins
2021-11-04 14:51:04 -07:00
Tomek Wytrębowicz
e73329fdf3
Update links to moved e2e READMEs.
2021-11-04 12:58:11 +01:00
Tomek Wytrębowicz
751d5bf3a7
Elaborate why Basic Auth is needed to use `e2e-utils.withRestApi`
...
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
Addresses https://github.com/woocommerce/woocommerce/pull/30724#discussion_r715113390
2021-11-04 12:25:52 +01:00
Tomek Wytrębowicz
0ec1bd8243
Add a note about the need of Basic Auth plugin to the docs.
...
Related to https://github.com/woocommerce/woocommerce/issues/30687#issuecomment-919989929
2021-11-04 12:25:52 +01: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