jamelreid
19fa73acfd
Updated top level menu css selectors
...
This is done to ensure that page load tests work regardless of the order of the top level menu list.
2022-01-27 12:38:20 -05:00
Ron Rennick
6687e5847e
fix environment dependencies
2022-01-25 13:04:17 -04:00
Ron Rennick
75fec513e1
fix merge conflicts
2022-01-24 13:39:38 -04:00
jamelreid
7eef1abb02
Added a 45 second timeout to the beforeAll hook
2022-01-18 17:52:11 -05:00
Ron Rennick
7c04c5893c
e2e package changelog cleanup
2022-01-18 05:04:32 -04:00
Ron Rennick
1c1fceb304
e2e-core-test package cleanup
2022-01-14 15:44:08 -04:00
Rodel
fba4ddd94e
Merge branch 'trunk' into add/e2e-more-variation-tests
2022-01-07 15:04:57 +08:00
Lucas Bustamante
9d85ba8f00
Merge branch 'trunk' into e2e/add-build-to-e2e-core-tests
2022-01-06 12:14:25 -03:00
Rodel
7924b79929
Merge branch 'trunk' into add/e2e-more-variation-tests
2022-01-06 18:27:51 +08:00
jonathansadowski
d71a9d9ba9
Revert "Add config default values"
2022-01-05 14:44:31 -06:00
Lucas Bustamante
52adffb8b0
Add CHANGELOG.md to distributable package
2022-01-05 13:23:36 -03:00
Lucas Bustamante
38cab954c4
Add installFiles folder as part of the distributable package
2022-01-05 13:22:03 -03:00
Lucas Bustamante
f881cc7c99
Do not include "src" and build files into npm package
2022-01-04 22:15:12 -03:00
Lucas Bustamante
2e1a021195
Merge branch 'trunk' into e2e/add-build-to-e2e-core-tests
2022-01-04 16:00:02 -03:00
jamelreid
094e9b5b62
Merged trunk into add/config-default-values
2022-01-03 18:25:59 -05: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
5c9032a3cc
Removed config dependency
2022-01-03 17:39:04 -05:00
Lucas Bustamante
b75ac0897f
Undo renaming of property
2022-01-03 17:04:29 -03:00
Lucas Bustamante
a2eaf0ea55
Revert "pnpm update"
...
This reverts commit 1b4aa0e37d
.
2022-01-03 16:40:08 -03:00
Jon Lane
70bab8276d
Updated CHANGELOG
2022-01-03 11:18:07 -08:00
Jon Lane
2a9d5146ea
Move merchant.login out of beforeAll block
2022-01-03 11:04:24 -08:00
Lucas Bustamante
1b4aa0e37d
pnpm update
2022-01-03 14:18:21 -03:00
Lucas Bustamante
82b76d1983
Add babel dependencies to build transpiled CJS code
2022-01-03 14:11:53 -03:00
jamelreid
e893aa9f37
Merged add/config-default-values with trunk
2022-01-03 09:26:43 -05:00
Lucas Bustamante
68025d3db5
Use __dirname instead of process.cwd()
2021-12-29 13:47:46 -03:00
Lucas Bustamante
6bb196674e
Update path to find CSV
2021-12-29 13:27:15 -03:00
Lucas Bustamante
1bd7e794a2
Move back test-data
2021-12-29 13:26:55 -03:00
Lucas Bustamante
39d374bf03
test-data also needs to be inside src folder
2021-12-29 10:52:12 -03:00
Lucas Bustamante
4aa8df266d
Add changelog entry
2021-12-29 10:23:11 -03:00
Lucas Bustamante
1f9d12f5e6
Fix path after moving files
2021-12-29 10:17:51 -03:00
Lucas Bustamante
0108d4c7ec
Preserve folder/file structure as before inside the "src" folder
2021-12-29 10:12:21 -03:00
Lucas Bustamante
05291dcc18
Keep the entrypoint the index.js at the root
2021-12-29 10:01:48 -03:00
Lucas Bustamante
14d53393d8
Add build step and update package main/module entrypoints
2021-12-29 09:25:19 -03:00
Lucas Bustamante
60e56eef96
Rename "specs" folder to "src" as required by the build script
2021-12-29 09:24:47 -03:00
Ron Rennick
4ee75fc5d2
updates per review
2021-12-23 14:47:03 -04:00
jamelreid
f9cb8a7617
Updated price assignment
2021-12-23 12:05:59 -05:00
Rodel
d054b9f4ea
Minor refactor
2021-12-23 02:37:31 +08:00
Rodel
df284e6fcf
Changed: common steps to functions
2021-12-23 02:13:02 +08:00
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