Commit Graph

376 Commits

Author SHA1 Message Date
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