Commit Graph

276 Commits

Author SHA1 Message Date
Rodrigo Primo 4240f9924a
Merge pull request #28048 from woocommerce/fix/27807
Remove dynamic build dependencies
2020-11-13 15:34:35 -03:00
Christopher Allford 7a26fc30dd Fixed failing E2E test 2020-11-12 12:52:53 -08:00
Tam Mullen 04c9e2f12f
Merge pull request #28191 from woocommerce/packages/core-tests/functional-permlainks-test
add permalinks working test
2020-11-11 14:58:01 +00:00
Tam Mullen 8f46eec95a
Merge pull request #28198 from woocommerce/add/package-changelogs
add/update e2e package change logs
2020-11-11 14:12:52 +00:00
Christopher Allford 72e93f11b2
Update CHANGELOG.md
Updated the `@woocommerce/api` changelog
2020-11-10 16:32:11 -08:00
Christopher Allford 93d6b261c6
Merge pull request #28129 from woocommerce/add/lerna-hoist
add lerna hoist, use consistent package versions
2020-11-10 16:13:58 -08:00
Ron Rennick ac89e09c9e remove duplicate package dependency entries 2020-11-10 16:29:22 -04:00
Christopher Allford 11c7e3bff6 Fixed issues that caused the factory creation to fail for SimpleProduct types 2020-11-09 12:02:01 -08:00
Ron Rennick 7282e0bca6 merge master 2020-11-09 14:30:01 -04:00
Christopher Allford d205d6551e Added all of the update parameters for simple products 2020-11-06 14:01:03 -08:00
Christopher Allford a646c712d8 Generalized the various restXXX functions
Since it looks like almost all of these are going to be virtually identical, it makes sense to have common functions that we can use instead of having to write all of the boilerplate unnecessarily.
2020-11-06 13:24:02 -08:00
Christopher Allford 29c9976354 Added "list", "read", "update", and "delete" actions for simple products 2020-11-06 11:11:58 -08:00
Christopher Allford 45b57d46b9 Added transformers for all of the product sub-data 2020-11-06 10:44:57 -08:00
Christopher Allford b4a2316386 Added array support to property type and model transformer transformations 2020-11-06 10:01:12 -08:00
Christopher Allford 5e35d68789 Added a new transformation for nesting transformers 2020-11-05 22:49:37 -08:00
Christopher Allford fb5f393acb Made abstract product sale dates easier to work with 2020-11-05 22:20:42 -08:00
Christopher Allford 681e568fbe Expanded on a shared transformer to encapsulate abstract product transformations 2020-11-05 21:43:45 -08:00
Christopher Allford 7fcbc69235 Added a transformer to convert between data types 2020-11-05 19:25:45 -08:00
Christopher Allford 7287eb024c Reversed the execution of transformers for "toModel" so that things like key changes will happen first 2020-11-05 16:29:04 -08:00
Christopher Allford d060108afe Added a custom transformation for models to implement specific logic. 2020-11-05 14:14:47 -08:00
Christopher Allford 4f08e102c4 Simplified the transformer usage in repositories 2020-11-05 13:57:56 -08:00
Ron Rennick 9feecc1376 add/update e2e package changelogs 2020-11-05 16:57:04 -04:00
Christopher Allford 46df060c0e Revised the ModelTransformer so that it can support more complicated transformations. 2020-11-05 12:37:40 -08:00
Christopher Allford 67f57abe26 Added type-safe transformation functions for converting between API representations and model representation 2020-11-04 16:33:34 -08:00
Christopher Allford f438ddc80a Added virtually all of the data returned by the REST API to the SimpleProduct model
There's still a few things missing but I think this is a much better start than where we were before.
2020-11-04 14:55:58 -08:00
Ron Rennick d0fd8acd44 add permalinks working test 2020-11-04 14:56:48 -04:00
Christopher Allford 72d09026a6 Renamed the prettyPermalinks method to better clarify its intent 2020-11-04 10:28:10 -08:00
Christopher Allford b9ba2e880d Added support for installations not using pretty permalinks 2020-11-03 17:04:41 -08:00
Christopher Allford 39367de732 Fixed a bug with OAuth signature generation when using query parameters 2020-11-03 17:02:12 -08:00
Roy Ho 2d6d53ed6f
Merge pull request #28127 from woocommerce/fix/duplicate-puppeteer-dependency
remove puppeteer dependency from main package
2020-10-30 10:34:11 -07:00
Rodrigo Primo 683c8cbcd7
Merge pull request #28116 from woocommerce/fix/flaky-coupon-test
fix flaky e2e coupon test
2020-10-29 18:04:59 -03:00
Tam Mullen 20d973975e
Merge pull request #27916 from woocommerce/add/core-tests-readme
add readme to core tests package
2020-10-29 17:13:40 +00:00
Ron Rennick 8830de1fa4 use delete focus selector available on order edit 2020-10-29 09:17:35 -03:00
Ron Rennick 0424bfe847 fix typo in setup instructions URL 2020-10-29 08:44:10 -03:00
Ron Rennick 21ebe3af05 remove puppeteer dependency from e2e-environment 2020-10-29 08:41:24 -03:00
Ron Rennick ef2e226feb use focus instead of scrollTo 2020-10-28 19:15:17 -03:00
Ron Rennick 9851c26d31 Merge branch 'master' into fix/flaky-coupon-test 2020-10-28 18:48:13 -03:00
Ron Rennick 7cb68e055c add lerna hoist, use consistent package versions 2020-10-28 14:21:02 -03:00
Ron Rennick 038058af1e update product new test with correct parameters 2020-10-28 13:44:33 -03:00
Tam Mullen a0233fad93
Merge pull request #27978 from woocommerce/docs/e2e-environment-0.1.6
update e2e-environment readme
2020-10-28 12:51:13 +00:00
Tam Mullen 8e5bd336de
Merge pull request #27994 from woocommerce/fix/27979
expand e2e-utils readme, simplify exports
2020-10-28 12:50:57 +00:00
Ron Rennick 1794026773 fix flaky e2e coupon test 2020-10-27 16:44:42 -03:00
Ron Rennick 9d47a1c072 simplify e2e-environment exports 2020-10-21 16:17:10 -03:00
Ron Rennick e91a09f302 remove remaining webalias fragments 2020-10-21 15:47:09 -03:00
Ron Rennick 503e898307 use direct exports 2020-10-19 11:32:28 -03:00
Ron Rennick 3b1481bb01 expand e2e-utils readme, simplify exports 2020-10-16 16:25:23 -03:00
Julia Amosova ff67a7c1ce Add note about test locations in WC Core and other projects. 2020-10-16 11:27:00 -04:00
Julia Amosova bd5b65426f Update README with more details on how to write e2e tests. 2020-10-16 11:20:33 -04:00
Julia Amosova 8c094daceb Add guide for writing e2e tests in README 2020-10-16 11:20:24 -04:00
Rodrigo Primo 7599517e91
Merge pull request #27965 from woocommerce/fix/27874
switch to api package, bump utils package version
2020-10-15 15:05:43 -03:00