Ilyas Foo
ffdf1e6c02
More adjustments
2022-04-06 16:25:33 +08:00
Ilyas Foo
3050cacc39
Minor adjustments
2022-04-06 16:25:33 +08:00
Ilyas Foo
1f8988675f
Some adjustment to card footer
2022-04-06 16:25:32 +08:00
Ilyas Foo
1980fac6fd
Revamp WCPay suggestion in payments task
2022-04-06 16:25:32 +08:00
Ilyas Foo
fd4a4a5604
Add is_offline flag and split payment sections
2022-04-06 16:25:31 +08:00
Jamel Noel Reid
8812feedaa
Merge pull request #32419 from woocommerce/e2e/db-healthcheck
...
Only start PHP containers after a successful healthcheck against DB
2022-04-04 04:09:24 -05:00
Lucas Bustamante
3253b1222f
Changelog
2022-04-01 17:00:18 +01:00
Lucas Bustamante
20be0bc3e6
Wait as part of the up process
2022-04-01 14:37:47 +01:00
Lucas Bustamante
c4fede5c43
Wait as part of the up process
2022-04-01 14:32:50 +01:00
Lucas Bustamante
476f30b3e0
Initialize if WordPress is not installed or page ready does not exist
2022-04-01 14:28:19 +01:00
Lucas Bustamante
253eedc516
Remove wait for it on wp-cli entrypoint
2022-04-01 14:27:47 +01:00
Lucas Bustamante
9b7485a449
Revert "Remove wait-for-it"
...
This reverts commit aefca35ad7
.
2022-04-01 13:12:02 +01:00
Lucas Bustamante
aefca35ad7
Remove wait-for-it
2022-04-01 13:11:57 +01:00
Lucas Bustamante
d6a37a490e
Merge branch 'trunk' into e2e/db-healthcheck
2022-04-01 11:53:55 +01:00
Lucas Bustamante
4c6989122d
Re-bump the compose spec version and remove restart policy again
2022-04-01 11:52:59 +01:00
RJChow
2c630ccd9e
Manually change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA JS packages .md files
2022-04-01 11:41:32 +08:00
RJChow
12a818c04d
Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in JS packages
2022-04-01 11:41:32 +08:00
rodelgc
989f50daa3
GH Action for generating reports in CI ( #32375 )
...
Added: CI job to upload API test reports on PR events.
2022-04-01 10:24:09 +08:00
Fernando
610a48185c
Merge pull request #32408 from woocommerce/fix/32407_move_admin_e2e_tests
...
Add missing Admin e2e tests
2022-03-31 14:37:23 -03:00
Lucas Bustamante
11f456f058
Lower the compose spec version again
2022-03-31 17:33:49 +01:00
Lucas Bustamante
b26704791b
Re-add restart policy
2022-03-31 17:12:54 +01:00
louwie17
30ea9baf62
Merge pull request #32418 from woocommerce/fix/daily_e2e_tests
...
Fix daily e2e tests for WooCommerce Shipping & Tax
2022-03-31 10:59:44 -03:00
jamelreid
c14a2f53b0
Updated CHANGELOG.md
2022-03-31 08:38:35 -05:00
jamelreid
6e296cab6c
Merge branch 'trunk' into e2e/db-healthcheck
2022-03-31 08:23:18 -05:00
Lourens Schep
2bdf24ab9c
Revert deactivate plugin change
2022-03-30 12:38:49 -03:00
Lourens Schep
c268e9c386
Add changelog
2022-03-30 12:38:48 -03:00
Lourens Schep
8dc7bfbb85
Use assets browser download url if it exists over archive tag name
2022-03-30 12:38:47 -03:00
Lourens Schep
b52935229e
Use POST request for deactivating to handle more plugin names
2022-03-30 12:38:47 -03:00
Lourens Schep
39254344f2
Fix reset with shipping & tax plugin
2022-03-30 12:38:46 -03:00
Lourens Schep
775e7117a1
Add build-watch to most js packages and remove packages watch from woocommerce-admin command
2022-03-30 11:46:12 -03:00
Lucas Bustamante
18751588c0
Increase allowed retries just in case
2022-03-30 15:09:46 +01:00
Lucas Bustamante
c0fdf45c1c
Only start PHP containers after a successful healthcheck against DB
2022-03-30 15:03:30 +01:00
rodelgc
b30179f8d2
Added: Command to generate HTML report
2022-03-30 10:57:11 +08:00
Fernando Marichal
89f6032cba
Add missing e2e tests
...
This commit adds the tests: `testDifferentStoreCurrenciesWCPay`, `testSubscriptionsInclusion` and `testBusinessDetailsForm`
2022-03-29 19:16:03 -03:00
Lucas Bustamante
c22b56346b
Merge pull request #32004 from woocommerce/e2e/pkg-woocommerce-api-docs
...
Update docs of @woocommerce/api
2022-03-29 15:21:25 +01:00
Lucas Bustamante
d45f7051a4
PR Review
2022-03-29 15:04:37 +01:00
Lucas Bustamante
3e9e76ef7a
Update packages/js/api/README.md
...
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:02:42 +01:00
Lucas Bustamante
4cfb412a57
PR Review
2022-03-29 15:02:04 +01:00
Lucas Bustamante
1d036a79e7
Update packages/js/api/README.md
...
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:00:08 +01:00
Lucas Bustamante
922a72ef7e
PR Review
2022-03-29 14:58:42 +01:00
Chi-Hsuan Huang
6f03e42dd1
Add @babel/runtime to dev dependencies of js packages
2022-03-29 16:46:06 +08:00
Chi-Hsuan Huang
5c705bc52b
Update eslint-plugin recommended rules
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang
81a1f4244a
Add .eslintrc config to each packages
...
Update packages .eslintrc.js
Update components & admin-e2e-tests lint command
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang
df5b506b97
Add lint command to js packages
...
Update lint js commands
Update customer-effort-score/package.json
2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang
d023349168
Add .eslintrc.js for js packages
2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang
d45606293c
Fix js package lint errors
2022-03-29 16:07:08 +08:00
louwie17
2215c9ab3e
Merge pull request #32347 from woocommerce/add-dev-scripts
...
Add build-watch command for woocommerce-admin
2022-03-28 08:55:57 -03:00
louwie17
7796d908b9
Merge pull request #32365 from woocommerce/fix/32364_smoke_tests
...
Skip deletion of PLUGIN_NAME when used by environment variables
2022-03-28 08:55:15 -03:00
Chi-Hsuan Huang
7c15f83a3f
Merge pull request #32359 from woocommerce/fix/32358-js-lint-errors
...
Fix js packages lint errors
2022-03-28 10:52:02 +08:00
Lourens Schep
1c26554abb
Also skip PLUGIN_NAME when used by environment variables
2022-03-25 12:35:36 -03:00
Chi-Hsuan Huang
d5a9b5789c
Merge pull request #32337 from woocommerce/fix/currency-docs
...
Define `NumberConfig` data type, export type declarations from `@woo…/currency`
2022-03-25 18:24:37 +08:00
Chi-Hsuan Huang
76cf618298
Merge pull request #32325 from woocommerce/add/number-docs
...
Update `@woo…/number` code docs, define & export type declarations.
2022-03-25 18:24:22 +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
Chi-Hsuan Huang
11e2df64ca
Fix e2e-environment lint errors
2022-03-25 16:24:13 +08:00
Chi-Hsuan Huang
167ca8d4b4
Fix @woocommerce/api lint errors
2022-03-25 16:23:12 +08:00
louwie17
80ec23c425
Merge pull request #32298 from woocommerce/feature/32163_new_task_list_header
...
Add task list progress header
2022-03-24 16:32:46 -03:00
Lourens Schep
a3e9a60577
Remove duplicate property type
2022-03-24 15:26:15 -03:00
Lourens Schep
c281ddb820
Add progress header bar to task list experiment
2022-03-24 15:25:06 -03:00
Lourens Schep
9a6c077b69
Add build-watch command for woocommerce-admin
2022-03-24 15:09:15 -03:00
Lourens Schep
4a76505fdf
Add comment for woocommerce-reset plugin addition
2022-03-24 14:11:18 -03:00
Lourens Schep
d032c5d603
Skip deletion of the wp mail logging plugin as it is required for testing
2022-03-24 14:08:03 -03:00
Lourens Schep
cb6e15523b
Add prepare command to project.json
2022-03-24 14:08:03 -03:00
Lourens Schep
20c0c85f9c
Fix admin-e2e-test dependency and add new purchase task E2E test, also added the WooCommerce reset plugin
2022-03-24 14:08:03 -03:00
rodelgc
15fbc0be9a
Removed faker dependency ( #32069 )
...
* Removed faker dependency
2022-03-24 15:30:40 +08:00
louwie17
eb081aa9fa
Merge pull request #32320 from woocommerce/add/32161_reminder_bar
...
Add reminder bar for task list experiment
2022-03-23 17:12:05 -03:00
Tomek Wytrębowicz
f7580b98a4
Define CurrencyConfig type, export declarations
...
Redo afa01e3342
2022-03-23 15:50:14 +01:00
Tomek Wytrębowicz
fcf529b87c
Remove unrelated Google Search link form README
...
Redo 1c4c8b4c15
2022-03-23 15:42:22 +01:00
RJ
fc163b6dc9
Merge pull request #32313 from woocommerce/dev/publish-wca-packages
...
Bump WCA JS packages version numbers in package.json and changelogs
2022-03-23 11:18:04 +08:00
Tomek Wytrębowicz
b03b1184ac
Fix returned type of `numberFormat`.
...
`locutus/php/strings/number_format` seems to always return a `String`.
Redo baa0c5d2b4
.
2022-03-22 20:56:07 +01:00
Tomek Wytrębowicz
0b959cfc70
Update `formatValue` docs, explain "based on type",
...
Fix the returned value's type.
Redo 5d7d53f01a
.
2022-03-22 20:55:03 +01:00
Tomek Wytrębowicz
6013099e7f
Define NumberConfig data type, export type declarations.
...
Redo 8cdc828b37
.
2022-03-22 20:52:30 +01:00
Lourens Schep
25d6b6d528
Add reminder bar for task list experiment
2022-03-22 12:28:58 -03:00
rjchow
43f81cbf69
Bumped WCA JS package version numbers
2022-03-22 16:08:24 +08:00
Chi-Hsuan Huang
0530ee122c
Fix explat assignment-test.js for node >= 16
2022-03-22 11:24:59 +08:00
Chi-Hsuan Huang
24595bd2cb
Fix jest config paths
2022-03-21 18:28:05 +08:00
Christopher Allford
3dd60322d5
Migrated WooCommerce Admin PHP Code
...
This commit moves all of the PHP code from `plugins/woocommerce-admin`
to its new home in `plugins/woocommerce`.
- `plugins/woocommerce-admin/src` -> `plugins/woocommerce/src/Admin`
- `plugins/woocommerce-admin/src-internal` -> `plugins/woocommerce/src/Internal`
- `plugins/woocommerce-admin/includes` -> `plugins/woocommerce/includes/react-admin`
2022-03-18 15:23:33 -07:00
Christopher Allford
93e44b3628
Updated React Admin Build Output
...
This changes the output of the React-based
admin client from WooCommerce Admin to
an appropriate location in the core plugin.
2022-03-18 14:53:25 -07:00
Christopher Allford
d2d8d78be1
Moved WCA Packages
...
This commit moves all of the packages in
`plugins/woocommerce-admin/packages` to their
new home in `packages/js`.
2022-03-18 14:25:26 -07:00
Jorge A. Torres
ca7bedd249
Merge pull request #31987 from woocommerce/fix/internal-links-in-readmes
...
Fix internal links in README files
2022-03-15 15:38:46 -05:00
Nestor Soriano
904ec4343c
Fix misc links in READMEs and GitHub templates.
2022-03-15 16:01:12 +01:00
Lucas Bustamante
97c4688230
Typo and rewording
2022-03-01 18:43:02 -03:00
Lucas Bustamante
7b30436e21
Italic asterisk
2022-03-01 18:42:11 -03:00
Lucas Bustamante
e443e8c362
Literal asterisks and typo
2022-03-01 18:41:25 -03:00
Lucas Bustamante
ca58e7873f
Update docs, see commit description
...
Remove word "isometric", the correct word is "isomorphic", but I've went for "works both on Browser and Node" instead.
Added asterisks on "TypeScript definitions and Repositories" feature list
Added a section outlining the differences between this package and @woocommerce/woocommerce-rest-api
2022-03-01 18:34:32 -03: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
8ef39e2269
Merge pull request #31909 from woocommerce/fix/31907
...
Exclude the project root when ran in GitHub CI
2022-02-23 11:34:29 -04:00
jamelreid
9837274a66
Updated CHANGELOG.md
2022-02-22 13:06:51 -05:00
jamelreid
256d766518
Updated logic to resolveSingleE2EPath
...
All tests are expected to be found in the tests/e2e directory, so in the event that tests/e2e is a part of the single test path, it is removed to ensure the file path is correct.
2022-02-18 13:02:59 -05:00
Ron Rennick
4fa9cf1051
missed package bumps from #31836
2022-02-18 13:14:06 -04:00
Ron Rennick
34b5cae86f
exclude test results from package publish
2022-02-18 13:06:29 -04:00
jamelreid
a756af894c
Clean up
2022-02-18 09:22:56 -05:00
Tam Mullen
74c72274a7
Add docker:wait to e2e env for waiting without running tests
2022-02-17 22:31:26 +00:00
Alex Florisca
491a04b52d
Fix link click for shopper.searchForProduct
2022-02-17 15:43:28 +00:00
jamelreid
c73c2be097
Exclude the project root when ran in GitHub CI
2022-02-16 23:31:04 -05:00
Ron Rennick
5b78782a95
Merge pull request #31665 from woocommerce/packages/api/json-transform-tests
...
Partially fix the Order Model for JSON transforms in the @woocommerce/api package
2022-02-14 11:30:57 -04:00
Lucas Bustamante
3eeb1f239f
Merge pull request #31868 from woocommerce/add/api-t-documentation
...
Added documentation around certain conventions in API tests.
2022-02-09 19:35:20 -03:00
Lucas Bustamante
4ad028eab4
Merge pull request #31839 from woocommerce/fix/31748
...
update slack export to build version
2022-02-09 19:31:47 -03:00
Rodel
cf90bda319
Added documentation
2022-02-09 15:14:55 +08:00
Lucas Bustamante
03614e54ae
Tweak comment
2022-02-07 18:16:37 -03:00
Jon Lane
ad99dda910
Added CHANGELOG entry
2022-02-07 13:14:10 -08:00
Lucas Bustamante
0cf1b69c7a
Rename/move test to more appropriate location
2022-02-07 18:13:02 -03:00
Lucas Bustamante
0bc908f8d2
CR: Spacing
2022-02-07 18:10:31 -03:00
Lucas Bustamante
cd2ed17200
CR: Simplify code
2022-02-07 18:10:02 -03:00
Lucas Bustamante
299b7c0bdd
Remove display_key/display_value from coupon_line on Order test
2022-02-07 18:08:26 -03:00
Lucas Bustamante
ae5d23ce9f
Rename property, code style changes, add developer comment
2022-02-07 18:05:06 -03:00
Lucas Bustamante
8b859ffb25
Merge branch 'trunk' into packages/api/json-transform-tests
2022-02-07 17:53:55 -03:00
Jon Lane
00536e4442
Update instructions for external sites
2022-02-07 11:56:14 -08:00
Jamel Noel Reid
87b69a8f26
Merge pull request #31732 from woocommerce/e2e/add-force-to-test-scaffold
...
Add --force to test scaffold
2022-02-04 14:08:23 -05:00
Ron Rennick
3bb27bdc79
update slack export to build version
2022-02-04 14:48:56 -04:00
Jonathan Lane
5d2b764da1
Merge pull request #31835 from woocommerce/e2e/bump-default-wp
...
bump e2e-environment to WP 5.9.X default
2022-02-04 10:44:25 -08:00
Jonathan Lane
d3183be8a5
Merge pull request #31838 from woocommerce/fix/31456
...
use OS path separator in installFiles
2022-02-04 10:38:50 -08:00
Ron Rennick
5c12aaa877
use OS path separator in installFiles
2022-02-04 14:17:54 -04:00
Ron Rennick
da49a03b52
bump e2e-environment to WP 5.9.X default
2022-02-04 12:36:45 -04:00
Lucas Bustamante
6ec677643f
CR: Spacing
2022-02-04 12:21:57 -03:00
Lucas Bustamante
4c8c792869
CR: Spacing
2022-02-04 12:20:59 -03:00
Lucas Bustamante
345faa6ea5
Skip confirmation for test files as well with --force
2022-02-03 20:47:14 -03:00
Lucas Bustamante
f9c90b87ef
Space for consistency
2022-02-03 20:36:18 -03:00
Lucas Bustamante
d63a697d20
Merge branch 'trunk' into e2e/add-force-to-test-scaffold
2022-02-03 20:35:34 -03:00
Lucas Bustamante
1688d66484
Avoid calling substr method on undefined
...
Co-authored-by: Jamel Noel Reid <MrJnrman@users.noreply.github.com>
2022-02-03 20:35:03 -03:00
Ron Rennick
eac5fb5c67
Merge branch 'trunk' into e2e/prepare-release
2022-02-03 15:30:07 -04:00
Lucas Bustamante
c1cf58437f
Remove tweak to work with both snake_case and camelCase
2022-02-03 11:26:49 -03:00
Lucas Bustamante
23b1c10518
Merge branch 'trunk' into packages/api/json-transform-tests
2022-02-02 18:14:31 -03:00
Ron Rennick
8508884c62
Merge branch 'trunk' into fix/31576
2022-02-02 15:12:55 -04:00
Ron Rennick
c607bbfeb8
pre-release changelog fixes
2022-02-01 15:37:31 -04:00
jamelreid
7d42347537
Updated test not found output
2022-02-01 13:27:25 -05:00
jamelreid
c9862f7a44
Merge branch 'trunk' into try/remove-some-test-label
2022-02-01 13:24:58 -05:00
Ron Rennick
57ad5e388a
add puppeteer dependency
2022-01-28 13:15:45 -04:00
Ron Rennick
933de44557
remove pnpm rule, fix utils build
2022-01-28 12:34:49 -04:00
jamelreid
7d7b9996f5
Updated CHANGELOG.md
2022-01-27 13:29:32 -05:00
jamelreid
cef0dd877b
Updated CHANGELOG.md
2022-01-27 12:39:50 -05:00
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
jamelreid
68af14a26b
Updated to handle removing directories
2022-01-27 10:11:13 -05:00
Lucas Bustamante
1703aeddc4
Code style
2022-01-26 13:36:39 -03:00
Lucas Bustamante
e1ca45e07d
Keep original if statement order
2022-01-26 13:35:03 -03:00
Lucas Bustamante
15291424e2
Add --force argument to scaffold test setup files without confirmation
2022-01-26 13:27:25 -03:00
Lucas Bustamante
cac95a3433
Scaffold --force wip
2022-01-26 13:13:18 -03:00
jamelreid
bba4a3a1a4
Updated file path
2022-01-25 15:13:18 -05:00
jamelreid
ac782638d3
Merge branch 'trunk' into try/remove-some-test-label
2022-01-25 15:12:25 -05:00
Jamel Noel Reid
27eba955dd
Merge pull request #31726 from woocommerce/update/31615
...
update test-result.json handling to copy the file to the local folder
2022-01-25 15:09:43 -05:00
Ron Rennick
6327596767
update testresult.json handling to copy the file to the local folder
2022-01-25 13:48:20 -04:00
Ron Rennick
6687e5847e
fix environment dependencies
2022-01-25 13:04:17 -04:00
jamelreid
48bfc2c3b2
Made summary output more dynamic
2022-01-25 11:41:28 -05:00
Ron Rennick
75fec513e1
fix merge conflicts
2022-01-24 13:39:38 -04:00
jamelreid
b46e681597
Updated path to test-results.json
2022-01-24 10:22:29 -05:00
jamelreid
9cd3c6976d
Used resolveLocalE2ePath for path to test results
2022-01-21 17:51:46 -05:00
Jonathan Lane
dc381f4305
Merge pull request #31625 from woocommerce/e2e/test-results-full-path
...
Show full path to test-result.json file
2022-01-19 14:26:32 -08:00
Lucas Bustamante
baa2d15c2d
ts-jest ^27 is incompatible with chalk <3.0.0
...
This breaks the build in the monorepo due to some package using chalk <3.0.0, reverting back to jest/ts-jest ^25 seems like the lesser evil
2022-01-19 13:47:29 -03:00
Lucas Bustamante
58e2c6ecaa
Merge branch 'trunk' into packages/api/json-transform-tests
2022-01-19 13:28:32 -03:00
Lucas Bustamante
5deef1b4b2
Add tests and partial fix of coupon_lines and refunds
2022-01-19 13:28:16 -03:00
Lucas Bustamante
5ea6f671d3
Add tests and partial fix of tax_lines
2022-01-19 13:16:45 -03:00
Lucas Bustamante
f23587cde6
Add tests and partially fix line_items, fee_lines, shipping_lines
2022-01-19 13:11:59 -03:00
jamelreid
7eef1abb02
Added a 45 second timeout to the beforeAll hook
2022-01-18 17:52:11 -05:00
Lucas Bustamante
6489025273
Hydrate from snake_case or camelCase, depending on applied transformers
2022-01-18 19:36:38 -03:00
Lucas Bustamante
2120c08eb0
Tests WIP
2022-01-18 19:36:18 -03:00
Lucas Bustamante
46af82a842
Make OrderLineItem hydratable
2022-01-18 19:36:06 -03:00
Lucas Bustamante
3c8c6e7718
Rename properties according to WooCommerce API
2022-01-18 19:35:56 -03:00
Lucas Bustamante
6a6ceaa3f4
Add more keys to be converted
2022-01-18 19:35:38 -03:00
Ron Rennick
7c04c5893c
e2e package changelog cleanup
2022-01-18 05:04:32 -04:00
Lucas Bustamante
b75f8adbb5
Test that a JSON payload is transformed as expected (WIP)
2022-01-17 16:25:49 -03:00
Lucas Bustamante
770bd181ce
Split Shipping and Billing Addresses as they have different properties
2022-01-17 16:25:23 -03:00
Lucas Bustamante
c6ac637fa6
Bump ts-jest to same version of jest ^27
2022-01-17 09:37:45 -03:00
Ron Rennick
1c1fceb304
e2e-core-test package cleanup
2022-01-14 15:44:08 -04:00
Greg
3457917a3a
Merge pull request #31629 from woocommerce/fix/remove-duplicate-path-from-actions
...
Remove the need for duplicate `plugins/woocommerce` in path when running a single E2E test
2022-01-13 15:05:31 -07:00
Greg
c9953da73c
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/apt-publish-config
2022-01-13 12:16:39 -07:00
jamelreid
c1d0f510af
Updated CHANGELOG.md
2022-01-13 10:52:55 -05:00
jamelreid
b89b67658a
Updated method import
2022-01-13 10:52:44 -05:00
jamelreid
564ea31c5d
Changed method name to resolveSingleE2EPath
2022-01-13 10:52:15 -05:00
jamelreid
e1f030f832
Updated comments
2022-01-12 18:37:05 -05:00
jamelreid
f08da97fe6
Updated CHANGELOG.md
2022-01-12 18:27:43 -05:00
jamelreid
60630d19a2
Updated comments
2022-01-12 18:27:35 -05:00
jamelreid
cb3dee07ee
Updated removePathDuplicates for smoke tests
2022-01-12 18:04:36 -05:00
jamelreid
d49a68079e
Imported and used removePathDuplicates method
2022-01-12 15:44:41 -05:00
jamelreid
059346a725
Added removePathDuplicates method
...
This method ensures that we can execute tests using a relative path with or without `plugins/woocommerce` and/or `tests/e2e` prepended on the test file path.
2022-01-12 14:00:00 -05:00
Lucas Bustamante
926fed6828
Store test-results.json file in the project under test folder
2022-01-12 14:09:38 -03:00
Lucas Bustamante
1a6708b57c
Keep the test-results.json file in the root dir of e2e-environment
2022-01-12 13:50:10 -03:00
Lucas Bustamante
037c6205d0
Remove extra space
2022-01-12 13:46:42 -03:00
Lucas Bustamante
e124d4125a
Add changelog
2022-01-12 13:44:32 -03:00
Lucas Bustamante
2cbedb1dc8
Show full path to test-result.json file
2022-01-12 13:39:38 -03:00
Ron Rennick
e5084c1ae9
Merge pull request #31559 from woocommerce/fix/31469
...
Allow multiple screenshots per test fix
2022-01-10 13:40:50 -04:00
Jonathan Lane
be9189cff9
Merge pull request #31495 from woocommerce/add/e2e-more-variation-tests
...
Add/e2e more variation tests
2022-01-10 09:05:36 -08:00
jonathansadowski
dabd2c6bf2
Merge pull request #31581 from woocommerce/fix/circular-reference
...
change extension on scaffolding sample scripts
2022-01-07 14:26:47 -06:00
Jonathan Lane
54c3621cc8
Merge branch 'trunk' into fix/31469
2022-01-07 09:22:16 -08:00
Lucas Bustamante
e5adc1c3e7
Merge pull request #31574 from woocommerce/try/e2e-build
...
fix jest-circus dependency, pnpm e2e-environment build
2022-01-07 12:04:01 -03: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
Ron Rennick
a1784c5beb
change extension on scaffolding sample scripts
2022-01-06 11:02:05 -04:00
Rodel
7924b79929
Merge branch 'trunk' into add/e2e-more-variation-tests
2022-01-06 18:27:51 +08:00
Ron Rennick
2071da88ef
fix jest-circus dependency, pnpm e2e-environment build
2022-01-05 22:04:50 -04: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
Jonathan Lane
2a066286e4
Merge branch 'trunk' into fix/31469
2022-01-04 10:59:49 -08:00
Jon Lane
02be80b3e5
Update changelog
2022-01-04 10:34:38 -08:00
Jon Lane
333ea308b8
Append datetime string to end of filename for screenshot
2022-01-04 10:34:30 -08: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
7284163ce5
Added @woocommerce/e2e-environment peer dependency
...
Also removed config as a dependency
2022-01-03 17:40:43 -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
Lucas Bustamante
e89b8829bb
Normalized 4 spaces as tabs
2021-12-27 16:27:08 -03:00
Lucas Bustamante
65d622558f
Add changelog
2021-12-27 11:30:40 -03:00
Lucas Bustamante
a700531d12
Merge branch 'trunk' into e2e/add-missing-entries-to-default-json
2021-12-27 08:40:28 -03:00
Lucas Bustamante
0f29032a93
Add "defaultAttributes" JSON key
2021-12-27 08:40:07 -03:00
Greg
0023c319d2
Merge pull request #31484 from woocommerce/add/low-stock-threshold
...
Add low stock threshold to the WooCommerce API package
2021-12-26 20:00:48 -07:00
Lucas Bustamante
02e08bccb2
Add missing entries to default.json
2021-12-24 12:50:04 -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
jamelreid
ef00eaa70e
Merge branch 'trunk' into add/low-stock-threshold
2021-12-23 10:21:08 -05:00
jamelreid
d83a83ae0c
Updated JSDoc to description
2021-12-23 10:20:40 -05:00
jamelreid
35784f2f3a
Updated JSDoc type
2021-12-23 10:18:50 -05:00
Ron Rennick
0323025179
update readme, changelog
2021-12-22 14:54:04 -04: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
jamelreid
3e1e7a635e
Merged add/config-default-values with trunk
2021-12-22 10:22:37 -05:00
jamelreid
bab269a544
Merge branch 'trunk' into add/config-default-values
2021-12-22 10:19:27 -05:00
Ron Rennick
d2390950d2
Merge pull request #31397 from woocommerce/add/post-external-smoke-test-results-to-pr
...
Post external smoke test results to GitHub PR
2021-12-22 10:04:44 -04: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
jonathansadowski
71cdcf322c
Merge pull request #31465 from woocommerce/fix/fail-package-builds-2
...
Add needed packages to build e2e
2021-12-20 11:11:19 -06:00
Jamel Noel Reid
8920b4686e
Update CHANGELOG.md
2021-12-20 11:51:43 -05:00
Jamel Noel Reid
2712e737a8
Update packages/js/e2e-environment/CHANGELOG.md
...
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2021-12-20 11:49:16 -05:00
jamelreid
53a7c0d16c
Merge branch 'trunk' into add/config-default-values
2021-12-20 10:54:09 -05:00
jamelreid
5b63fa9a75
Merged trunk into add/post-external-smoke-test-results-to-pr
2021-12-20 10:51:04 -05:00
jamelreid
8078b0cdaf
Added low stock threshold
2021-12-17 12:38:19 -05:00
jamelreid
40d14043d2
Updated CHANGELOG.md
2021-12-17 12:37:09 -05:00
Greg
e7d3a65752
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-16 13:39:15 -07:00
Greg
77bb3e958d
Logic for private repos and minor tweaks
2021-12-16 09:58:11 -07:00
roykho
b1e7abcd4a
Add needed packages to build e2e
2021-12-16 07:48:52 -08:00
Roy Ho
f7c93a6823
Merge branch 'trunk' into standardize-config-files
2021-12-16 05:44:48 -08:00
Greg
89d74d4bc3
Update to use new resolveLocalE2ePath
2021-12-15 14:06:19 -07:00
Greg
fdee881ab8
Prettier fixes
2021-12-15 13:59:17 -07:00
Greg
6e5005b0d4
Merge branch 'trunk' into add/plugin-upload-test-functionality
2021-12-15 13:43:46 -07: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
Roy Ho
af3585b67b
Merge branch 'trunk' into standardize-config-files
2021-12-15 07:13:58 -08:00
roykho
0f369d7040
Update package and node version
2021-12-15 07:08:37 -08:00
Ron Rennick
b478bbb949
Merge pull request #31415 from woocommerce/fix/jest-e2e-retries
...
Fix jest e2e retries
2021-12-14 22:34:22 -04:00
Paul Sealock
eb453cce20
Add NX commands for Jetpack Changelogger ( #31166 )
2021-12-15 14:14:17 +13:00
roykho
76794e374c
Restore babel/polyfill removed by accident
2021-12-14 12:10:28 -08:00
Ron Rennick
0c268ad998
fix merge conflicts
2021-12-14 14:40:01 -04:00
jamelreid
6dcab53871
Updated jest.retryTimes() to be a conditional
...
This way it doesn't matter if the call is made locally or from the package.
2021-12-14 13:14:41 -05:00
Greg
b9231cbf24
Regex fix
2021-12-14 11:11:53 -07:00
Greg
6fb892bca4
Linting updates
2021-12-14 10:56:44 -07:00
Greg
2762c9821a
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-14 10:49:53 -07:00
jamelreid
ac7c1e1ad6
Updated README.md
2021-12-14 12:48:07 -05:00
roykho
3ba275e6c9
Deprecate stylelint-config-wordpress with current package
2021-12-14 09:14:54 -08:00
roykho
ff7c615770
Move gitignore paths to root when it makes sense
2021-12-14 08:21:37 -08: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
jamelreid
e789dbeada
Added config to e2e-environment exports
2021-12-13 18:33:17 -05:00
jamelreid
ae2e004c0e
Added custom config.js to e2e-environment package
...
This custom config.js provides all the functionality of the config package along with extending the `get` method to accept an optional second argument that will be used if the property is not found in the config file.
2021-12-13 18:32:15 -05:00
jamelreid
5f85a42057
Updated CHANGELOG.md
2021-12-13 18:29:00 -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
Greg
fba795421d
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-13 15:45:32 -07:00
Roy Ho
b12de19975
Merge pull request #31356 from woocommerce/prevent-npm
...
Prevent npm
2021-12-10 12:26:43 -08:00
jamelreid
ac83762aca
Disabled jest retries by default
2021-12-10 11:02:21 -05:00
jamelreid
feec71249a
Updated paths in READMe.md
2021-12-10 10:22:08 -05:00
Jamel Noel Reid
22721e0a70
Merge pull request #31336 from woocommerce/add/jest-retry
...
Retry failed E2E tests using Jest
2021-12-10 07:46:09 -05:00
jamelreid
68ca895e8b
Removed parameter
2021-12-09 16:46:55 -05:00
Ron Rennick
c5300e7a67
undo unintended changes to default.json
2021-12-09 17:08:48 -04: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
2c5bed66e7
use path.sep throughout scaffolding
2021-12-08 19:38:45 -04:00
Ron Rennick
3041bb25fa
add uninstall feature
2021-12-08 19:08:29 -04:00
Greg
473c4e5279
Added upload and test functionality
2021-12-08 15:56:42 -07: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
jamelreid
17d2c25ae5
Added comment
2021-12-08 14:03:08 -05:00
jamelreid
1a5c44c472
Exported all methods from jest-object.config
2021-12-08 14:01:00 -05:00
jamelreid
6086223708
Added setupJestRetries to beforeAll block
2021-12-08 14:00:31 -05:00
jamelreid
a6f51a9a39
Added default param and exported all methods
2021-12-08 14:00:02 -05:00
jamelreid
1f14d557dd
Updated README.md with jest retry documentation
2021-12-08 13:59:10 -05:00
jamelreid
fecbeac4ad
Updated CHANGELOG.md
2021-12-08 13:44:58 -05:00
jamelreid
f4472d74ec
Merge branch 'trunk' into add/jest-retry
2021-12-08 13:03:23 -05:00
jamelreid
7b36ba2b3e
Updated CHANGELOG.md
2021-12-08 13:02:11 -05:00
jamelreid
00fc5495ef
Added script to post test results to GitHub PR
2021-12-08 12:48:24 -05:00
jamelreid
5b24808971
Stored test results as json
2021-12-08 12:47:50 -05: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
Ron Rennick
2ec68e0e69
code cleanup
2021-12-08 11:07:24 -04:00
Rodel
110266fd9b
Sync with trunk, changelog entry, resolve conflicts
2021-12-08 14:43:02 +08:00
Peter Fabian
edcffa9912
Merge pull request #31338 from woocommerce/fix/28166-coupon-item-meta-data
...
Consistently Store Coupon Data in Order Item Meta
2021-12-07 18:35:08 +01:00
Rodel
822abbfbce
Merge branch 'trunk' into add/api-tests-add-complex-order
2021-12-07 15:50:49 +08:00
Rodel
28bbeab9c2
Moved changelog entries to unreleased section
2021-12-07 15:49:18 +08:00
Rodel
6af432f646
Merge branch 'trunk' into add/api-tests-shipping-zones-and-methods
2021-12-07 15:47:30 +08: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
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
jamelreid
18283d2b1a
Merge branch 'trunk' into add/jest-retry
2021-12-03 14:25:00 -05:00
Greg
73f4729586
Added public publish config
2021-12-03 11:28:54 -07: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
Rodel
ebb4eb3ce2
Corrected endpoint name
2021-12-03 02:41:21 +08:00
Rodel
eee9a56d71
Merge branch 'trunk' into add/api-tests-shipping-zones-and-methods
2021-12-03 01:40:41 +08:00
Rodel
cddf617808
Tests around the default shipping zone
2021-12-03 01:38:16 +08:00
jamelreid
35286bbbe6
Added jest-object.config.js file
...
This file is intended to be used to configure the jest object in a single place.
The setupJestObject method can be imported from @woocommerce/e2e-environment for easy usage.
2021-12-02 09:40:27 -05:00
Rodel
c40d12fc50
Simplified test data setup
2021-12-02 21:52:25 +08:00
Rodel
d10e40f8fa
Merge branch 'trunk' into add/api-tests-add-complex-order
2021-12-02 21:35:16 +08:00
Rodel
daa43add85
Improved test readability
2021-12-02 21:33:52 +08:00
Rodel
46d60f9b87
Add api group to test, and other minor changes
2021-12-02 14:06:19 +08:00
jamelreid
3a39d7d9fc
Updated check for default category
2021-12-01 15:48:31 -05:00
jamelreid
920c1a7580
Updated testRunner to be jest-circus
2021-12-01 14:35:06 -05:00
jamelreid
69dc645f0e
Added the jest-circus package
...
In jest version before 27, we need to use jest-circus. For 27 and after, jest-circus is the default test runner.
2021-12-01 14:34:28 -05:00
jamelreid
72cf968bce
Updated CHANGELOG.md
2021-12-01 14:33:34 -05:00
Rodel
ba87378479
Removed unnecessary property in test data
2021-12-02 00:28:55 +08:00
Rodel
dd3b372658
Minor cleanup
2021-12-01 23:44:34 +08:00
Rodel
99f63cb378
Merge branch 'trunk' into add/api-t-order-search
2021-12-01 23:43:23 +08:00
Rodel
3f269b9129
Set test data within the test
2021-12-01 23:40:18 +08:00
Rodel
e551881817
Revert unnecessary change
2021-12-01 23:26:02 +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
Jeff Stieler
21f6ea6ae5
Add test for coupon meta data to API test.
2021-11-30 15:19:01 -05:00
Jeff Stieler
4366de753e
Format test file.
2021-11-30 15:18:40 -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
jamelreid
92ae77c817
Updated browser viewport dimensions
2021-11-29 13:54:44 -05:00
jamelreid
7ac1fa6369
Updated CHANGELOG.mdO
2021-11-29 13:54:15 -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
Ron Rennick
a21af3d3c6
add resolvePackage(), resolvePackagePath() utilities
2021-11-26 15:14:49 -04: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
f9a6a848ae
Removed unused function
2021-11-25 12:06:08 -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
e5a12e5334
Added function to open WC Admin Page
2021-11-24 19:15:34 -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
e449511ff0
Clean up e2e-environment changes from monorepo reorg ( #31233 )
...
* add flag to distinguish between the development repo and npm package
* introduce local E2E file resolver function
* update package changelog and readme
2021-11-23 13:56:24 +01:00
Ron Rennick
23f4f1c744
avoid issues with preconfigured curl options in npm ( #31232 )
2021-11-23 13:16:05 +01:00
Ron Rennick
c69b84f8ec
add e2e-core-tests build script ( #31221 )
2021-11-23 12:57:56 +01:00
Rodel
248d0ecc03
Added back assertion; clean up pre-existing zones
2021-11-22 21:23:43 +08:00
Rodel
3c31414c80
Merge branch 'trunk' into add/api-tests-orders-crud
2021-11-22 15:37:25 +08: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
Rodel
38be0cf7c8
Merge branch 'trunk' into add/api-tests-add-complex-order
2021-11-19 23:31:42 +08:00
Rodel
ca5124e1d1
Merge branch 'trunk' into add/api-t-order-search
2021-11-19 22:38:12 +08:00
Ron Rennick
fc9c3c7aa0
Merge branch 'trunk' into fix/e2e-env-monorepo
2021-11-18 22:13:53 -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
a45abc129f
merge trunk
2021-11-17 12:48:36 -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
2bf628fc55
fix pnpm lock conflict
2021-11-17 10:15:50 -04:00
Ron Rennick
43d73eb32a
update package changelog and readme
2021-11-17 10:02:15 -04:00
Ron Rennick
61fd4e0a5e
introduce local E2E file resolver function
2021-11-17 09:50:40 -04:00
Christopher Allford
2f0a828493
Downgraded ts-jest
...
This was causing issues with building the API package, which in turn
broke the entire build.
2021-11-16 15:33:00 -08:00
Christopher Allford
471e5e7877
Fixed @woocommerce/api Builds
...
It looks like I missed the `pnpm-lock.yaml` update.
2021-11-16 15:19:33 -08:00
Ron Rennick
2f9a6a32c2
deprecate core e2e setup, onboarding tests
2021-11-16 18:51:24 -04:00
Jeff Stieler
2bac37f4e6
Orders Endpoint Acceptance Tests ( #31033 )
...
* Create more sample orders data.
* Code formatting.
* Add tests for pagination.
* Formatting.
* Add test case for inclusion and exclusion parameters.
* Add test for parent and parent_exclude parameters.
* Add test case for status parameter.
* Add test case for customer parameter.
* Add test case for product parameter.
* Create a test order with all numerical properties populated.
* Add test case for precision parameter.
* Add test case for search parameter.
* Add test case for orderby parameter.
* Move missed api-core-tests files.
* Force tests to run in band (sequentially).
2021-11-16 10:03:53 -07:00
Ron Rennick
df582a20d3
add flag to distinguish between the development repo and npm package
2021-11-16 11:35:30 -04:00
Ron Rennick
98b63e027f
Merge pull request #31207 from woocommerce/fix/api-package-tests
...
Replace `moxios` With `axios-mock-adapter` in @woocommerce/api Package
2021-11-16 10:47:56 -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
Rodel
756644dac3
Removed flaky assertion
2021-11-16 15:50:51 +08:00