Ron Rennick
60e1820898
dismiss onboarding wizard on page load tests
2021-12-22 13:59:38 -04:00
Rodel
85b2fc62f8
Added: can bulk-edit variations
2021-12-23 00:28:50 +08:00
Rodel
045c877e3c
Added: can remove a variation
2021-12-22 21:04:18 +08:00
Rodel
2e7b663b0f
Added: can set variation defaults
2021-12-22 20:26:28 +08:00
Rodel
0cd62cf0e8
Added: can manage stock at variation level
2021-12-22 19:37:22 +08:00
Rodel
f4e68859b9
Added: can manually add a variation
2021-12-22 18:44:17 +08:00
Rodel
c9b89351b0
Added: can delete all variations
2021-12-22 18:14:50 +08:00
jamelreid
f252c4925b
Updated product price assignment
2021-12-21 14:52:47 -05:00
jamelreid
53a7c0d16c
Merge branch 'trunk' into add/config-default-values
2021-12-20 10:54:09 -05:00
jamelreid
e9534034cb
Added e2e-environment to peerDependencies
2021-12-15 14:47:20 -05: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
jamelreid
c34dde8714
Removed unused import
2021-12-13 19:10:15 -05:00
jamelreid
f132a10129
Required `config` from @woocommerce/e2e-environment package
2021-12-13 19:10:04 -05:00
jamelreid
84f98b5ae9
Required `config` from @woocommerce/e2e-environment package
2021-12-13 18:36:18 -05:00
Ron Rennick
a4618e7351
Merge pull request #31412 from woocommerce/fix/e2e-readme-paths
...
Updated paths in README.md
2021-12-13 18:55:02 -04:00
Roy Ho
b12de19975
Merge pull request #31356 from woocommerce/prevent-npm
...
Prevent npm
2021-12-10 12:26:43 -08:00
jamelreid
feec71249a
Updated paths in READMe.md
2021-12-10 10:22:08 -05:00
Ron Rennick
cf66823a55
add changelog and readme
2021-12-09 16:53:06 -04:00
roykho
f5b4c86e8e
Move ignore file to root level
2021-12-09 06:21:01 -08:00
Ron Rennick
036ab6a464
simplify core test scaffold, add default setup
2021-12-08 16:56:53 -04:00
Ron Rennick
2698cb36ff
add overwrite confirmation
2021-12-08 15:12:27 -04:00
Ron Rennick
59f1f3a6b5
Give installFiles its own index
2021-12-08 13:47:30 -04:00
Ron Rennick
6989bd61f9
merge trunk
2021-12-08 12:12:34 -04:00
jamelreid
63489fd85f
Added shopper.logout() in afterAll block
2021-12-06 12:57:16 -05:00
jamelreid
76548b872c
Awaited shopper.logout()
2021-12-06 12:56:56 -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
Jamel Noel Reid
e0516c475d
Merge pull request #31314 from woocommerce/fix/31305
...
Update setBrowserViewport to use default dimensions
2021-12-01 09:24:30 -05:00
jamelreid
c175284139
Used setBrowserViewport instead of setViewport
2021-12-01 08:34:54 -05:00
Ron Rennick
519b4f6de4
fix lock merge conflict
2021-11-30 15:48:39 -04:00
Ron Rennick
dd7eae42d1
update imports to ES6 format, pnpm-lock.yaml
2021-11-30 15:16:51 -04:00
jamelreid
a76faaf72c
Added setViewport
...
This change is done to ensure that these tests pass.
Wonky Tests:
- 'can create simple virtual product and add it to the cart'
- 'can create simple non-virtual product and add it to the cart'
It is observed that these tests fail when the following criteria are met:
- Running in headless mode
- Viewport is not set to 960x700
It is observed to pass when:
- Running in non-headless
- Running as an individual test file
The most likely culprit causing this issue is the verifyAndPublish function. More specifically, the element with the selector '.updated.notice' does not show up when the failing criteria are met.
2021-11-30 08:40:01 -05:00
jamelreid
0943490e1f
Removed unnecessary setViewport
2021-11-29 13:55:05 -05:00
Ron Rennick
06f0908443
add default container initialization
2021-11-26 16:56:56 -04:00
Ron Rennick
25cd08933c
add --ext and --format arguments
2021-11-26 16:55:22 -04:00
Jamel Noel Reid
f46ceee910
Merge pull request #31291 from woocommerce/add/woocommerce-menu-page-load-tests
...
Added WP Admin page load tests
2021-11-26 14:23:11 -05:00
jamelreid
db5db21b9c
Moved afterAll block to after beforeAll
2021-11-26 14:01:32 -05:00
jamelreid
f257d7a44f
Moved seViewport to the test block
2021-11-26 11:45:27 -05:00
jamelreid
dce79adc29
Updated css selectors
2021-11-26 11:45:08 -05: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
jamelreid
8b8525d7df
Added runAdminPageLoadTests to runMerchantTests
2021-11-26 11:06:00 -05:00
jamelreid
7329e03eb2
Updated CHANGELOG
2021-11-25 16:43:43 -05:00
jamelreid
0f495cdbae
Moved setViewport and logged out after each test
...
Changes:
- Moved setViewport to the beforeAll block
- Added a afterAll block to log out after each set of tests
- References the MENUS array from specs/data/elements.js
2021-11-25 13:20:36 -05:00
jamelreid
65f151cf11
Aliased runPageLoadTest to runAdminPageLoadTests
2021-11-25 13:17:09 -05:00
jamelreid
9fa5eb51dc
Added elements.js to store element data
2021-11-25 13:16:17 -05:00
jamelreid
3f95553593
Updated function name to match its export
2021-11-25 12:06:47 -05:00
jamelreid
4c8a553ac3
Renamed & updated to test multiple menus
...
This script takes a menus array which contains selectors for top-level menu items and their associated sub-menus and verifies that they all load successfully.
2021-11-25 12:05:40 -05:00
Ron Rennick
6c197cc743
Merge branch 'trunk' into poc/e2e-scaffold
2021-11-25 12:16:23 -04:00
jamelreid
895ef1db0e
Added runWcPageLoadTest & runAdminPageLoadTests to exports
2021-11-24 19:18:56 -05:00
jamelreid
a50f40e857
Updated WooCommerce menu page load script
2021-11-24 19:17:45 -05:00
jamelreid
8fdbc77bf8
Added WooCommerce menu page load test script
2021-11-24 12:15:30 -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
Ron Rennick
c69b84f8ec
add e2e-core-tests build script ( #31221 )
2021-11-23 12:57:56 +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
b698a80f36
add basic test spec installer
2021-11-19 17:02:02 -04:00
Ron Rennick
202469fd5b
add common utilities for cart, checkout coupon tests
2021-11-17 15:25:51 -04:00
Ron Rennick
02e814b191
add common utilities for cart, checkout coupon tests
2021-11-17 15:21:22 -04:00
Ron Rennick
b901923017
deprecate analytics page test
2021-11-17 13:11:55 -04:00
Ron Rennick
b1a8664ff4
merge trunk
2021-11-17 12:46:23 -04:00
Greg
d5113e9361
Fix retrieving status code for API tests
2021-11-17 09:02:45 -07:00
Ron Rennick
2f9a6a32c2
deprecate core e2e setup, onboarding tests
2021-11-16 18:51:24 -04:00
And Finally
0bc7e4bc65
Combine My Subscriptions and Marketplace back into one Extensions page ( #31085 )
...
* Reverting changes in https://github.com/woocommerce/woocommerce/pull/30380 , preparatory to merging the My Subscriptions and Marketplace pages back into one Extensions page.
* Moved category nav to a separate file.
* Added main nav tabs.
* Added category nav, styled the mobile version.
* Experiments with doing category tabs as a list.
* Styling category menu as a list of links in rectangular pills on desktop.
* Adjusting margins of product list in in-app marketplace.
* Removed `submenu_file` filter which called deleted `update_menu_highlight` method.
* Restored styling for update count bubble on My Subscriptions tab.
* Styling update bubble on My Subscriptions tab.
* Addressing design feedback. Restyled category pills to make them more obvious. Added `Browse categories` title before category menu on desktop. Changed `.addon-product-group-title` to an h2.
* Addressing feedback from https://github.com/woocommerce/woocommerce/pull/31085#pullrequestreview-806319880 .
- Removing addition of `admin_title` filter calling deleted `update_my_subscriptions_title` method.
- Prepending `__DIR__` constant before path in `require` call.
2021-11-16 06:23:21 -07: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
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
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
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
Roy Ho
9d08ac8ac3
Merge pull request #31095 from woocommerce/setup-nx
...
Setup nx
2021-11-09 20:26:37 -08:00
Ron Rennick
93b9745b80
arithematic to logical OR
2021-11-09 16:41:44 -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
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
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
Greg
e45c270a51
Add file missing from merge
2021-10-29 15:33:37 -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
Paul Sealock
789d942f89
Update e2e package locations and add PNPM ( #30977 )
2021-10-29 08:32:31 +13:00