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
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
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