Commit Graph

3851 Commits

Author SHA1 Message Date
Greg e6ef0de71f
Merge pull request #30523 from woocommerce/add/e2e-create-order-component
Add/e2e create order component and update tests
2021-08-23 12:00:15 -06:00
Greg 37f1284ccb Added api testing package 2021-08-23 11:39:03 -06:00
Ron Rennick 25897e84f9 add admin E2E tests 2021-08-23 13:31:34 -03:00
Greg 5bf172315e Code review feedback 2021-08-20 12:52:29 -06:00
Greg 2f9109626b
Merge pull request #30521 from woocommerce/e2e/generic-docker-messages
make test environment container messages more generic
2021-08-20 08:52:04 -06:00
Ron Rennick 504b96d7e4
Merge pull request #30184 from woocommerce/add/e2e-merchant-batch-create-orders
Use API package to create orders by batch
2021-08-20 11:10:05 -03:00
Greg b544d2639d
Merge pull request #30541 from woocommerce/e2e/package-maintenance
update e2e dependencies to be consistent with main package
2021-08-19 14:15:12 -06:00
Ron Rennick c77f4302ef
Fix changelog typo
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2021-08-19 14:43:22 -03:00
Ron Rennick 36516ef26f update e2e dependencies to be consistent with main pacakge 2021-08-19 14:29:05 -03:00
Ron Rennick e02bd1ba56 fix merge conflict 2021-08-19 11:19:26 -03:00
Ron Rennick 36563390bc fix e2e tag paging, bump fallback versions 2021-08-19 11:02:30 -03:00
And Finally 7a45aededb Deleted unneeded ESLint comment. 2021-08-19 12:23:51 +01:00
rodelgc e3f9f7ce61
Merge branch 'trunk' into add/e2e-merchant-batch-create-orders 2021-08-19 18:36:03 +08:00
Rodel Calasagsag 71fe61a594 batchCreateOrder now accepts array of orders as parameter 2021-08-19 18:26:46 +08:00
And Finally fa76121b41 Merge branch 'trunk' into update/marketplace-1 2021-08-19 10:29:37 +01:00
Rodel Calasagsag 261f41525d Replaced trailing comma 2021-08-19 15:24:04 +08:00
Greg 94a96edf2b Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/e2e-create-order-component 2021-08-18 13:16:55 -06:00
Greg fb9b2661b8
Merge pull request #30529 from woocommerce/e2e/bump-wp-5.8.0
bump the fallback WP version to 5.8.0
2021-08-18 13:16:12 -06:00
Ron Rennick c6b22d7c62 add changelog entry 2021-08-18 16:09:29 -03:00
Greg 58d1b707ad
Merge branch 'trunk' into add/e2e-create-order-component 2021-08-18 12:52:25 -06:00
Ron Rennick ef67fe8d33 bump the fallback WP version to 5.8.0 2021-08-18 15:06:20 -03:00
Greg 3f6ea04431 Remove update 2021-08-17 21:37:22 -06:00
Greg 89453df5b1 Add install all updates 2021-08-17 21:09:46 -06:00
Greg 2c3b6f51bb Update changelog and README 2021-08-17 16:46:22 -06:00
Greg 8a1cfc0797 Updated tests with new create order API component 2021-08-17 16:43:22 -06:00
Greg d738aa91c5 Remove extraneous semicolon 2021-08-17 12:49:09 -06:00
Ron Rennick 6f179e65ee make test environment container messages more generic 2021-08-17 14:58:20 -03:00
Claudio Sanches 6feac59adf Merge branch 'trunk' into fix/unit-tests 2021-08-17 13:13:15 -03:00
Greg 3d62f4d2dc Code review feedback 2021-08-16 14:10:30 -06:00
Greg f30a661921 Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/e2e-calc-shipping-tests 2021-08-16 13:05:14 -06:00
Ron Rennick 4f6d8ccfe0
Merge pull request #30491 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7 in /tests/e2e/api
2021-08-16 15:21:22 -03:00
Ron Rennick 41d45c11f0
Merge pull request #30492 from woocommerce/add/e2e-timeout-override
Added default timeout override for e2e tests
2021-08-16 14:51:18 -03:00
Greg 0161dd1a95 Code review feedback 2021-08-16 08:18:18 -06:00
Tomek Wytrębowicz 410579a8cd
Fix e2e-utils homepage URL.
Fixes https://github.com/woocommerce/woocommerce/issues/30484
and https://github.com/woocommerce/woocommerce/pull/30490
2021-08-16 12:28:51 +02:00
Greg ad9cc5fb90 Set page timeouts if override is provided 2021-08-13 14:14:02 -06:00
And Finally 1ba6be6bf3 Merge branch 'trunk' into update/marketplace-1 2021-08-13 09:33:27 +01:00
Greg 2f0aa1a30f Added default timeout override 2021-08-12 16:05:55 -06:00
dependabot[bot] e76017fb86
Bump path-parse from 1.0.6 to 1.0.7 in /tests/e2e/api
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 21:50:55 +00:00
Ron Rennick d6bef41d2c fix e2e-utils readme url in package.json 2021-08-12 15:18:42 -03:00
Ron Rennick 7d3eeca060
Merge pull request #30406 from woocommerce/add/e2e-db-upgrade
Added check out DB update and run if it exists
2021-08-12 12:12:42 -03:00
And Finally 8a326b24ba Merge branch 'trunk' into update/marketplace-1 2021-08-12 09:03:09 +01:00
Greg b87ff17542 Reorganizing things a bit 2021-08-11 16:24:56 -06:00
Greg b865a9e18f Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/e2e-calc-shipping-tests 2021-08-11 14:32:33 -06:00
Greg 595aca9e59
Merge pull request #30481 from woocommerce/e2e/add-test-resets
reset settings before cart, checkout tests
2021-08-11 14:04:18 -06:00
Ron Rennick 426763159e reset settings before cart, checkout tests 2021-08-11 15:04:34 -03:00
Claudio Sanches 9c19fb8f7b Set PHPUNIT polyfills 2021-08-11 10:20:51 -03:00
Greg cd012edceb Added functionality for release testing workflow 2021-08-10 20:29:36 -06:00
Greg fdbdb995bd Remove unncessary merchant logout 2021-08-10 19:20:49 -06:00
Greg 6ecb354841
Merge branch 'trunk' into add/e2e-db-upgrade 2021-08-10 11:11:16 -06:00
Greg 6534806d28 Update checkout tests to use API and wait on UI 2021-08-10 11:02:31 -06:00
And Finally 608f4ef44e Merge branch 'trunk' into update/marketplace-1
# Conflicts:
#	tests/e2e/core-tests/specs/merchant/wp-admin-extensions-connect-wccom.test.js
2021-08-10 16:02:18 +01:00
Ron Rennick 48e6f0795e skip WCCOM connection until browser support resolved 2021-08-10 10:29:13 -03:00
Ron Rennick 37c14a8e9a turn off tracking in e2e onboarding tests 2021-08-09 14:25:13 -03:00
Ron Rennick 7ba121ec1a
Merge pull request #30398 from woocommerce/add/e2e-order-cleanup
Added order cleanup to e2e setup
2021-08-09 12:33:53 -03:00
Greg 7bbb820379 Adjust spacing on comments 2021-08-06 09:37:21 -06:00
Greg f3447f713d Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/e2e-db-upgrade 2021-08-06 09:34:43 -06:00
Greg 618a8c458d Remove errant space 2021-08-06 09:23:35 -06:00
Greg 6dd33564b9
Merge branch 'trunk' into add/e2e-db-upgrade 2021-08-06 07:57:35 -06:00
Tam Mullen 080f966b93 Updated k6 tests based on feedback 2021-08-06 12:46:53 +01:00
Maria Górska-Piszek 379960e8c1 Merge branch 'update/split-extensions-pages' of github.com:woocommerce/woocommerce into update/split-extensions-pages 2021-08-06 13:24:14 +02:00
Greg 8ccbbab8ab Added admin email config override 2021-08-05 19:39:30 -06:00
Greg aa8f5841f9 Code review feedback 2021-08-05 19:11:08 -06:00
Greg e738ce4fa6
Merge branch 'trunk' into add/e2e-order-cleanup 2021-08-05 18:42:34 -06:00
Greg 33521dd4fc
Merge pull request #30361 from woocommerce/add/e2e-shipping-classes-cleanup
Added shipping classes cleanup to retest flow
2021-08-05 14:42:30 -06:00
Greg d3e80ce83f Updated changelog 2021-08-05 13:53:09 -06:00
And Finally ebca1cb51b
Merge branch 'update/marketplace-1' into update/split-extensions-pages 2021-08-05 17:25:10 +01:00
Tam Mullen e501fa443b Updated k6 Merchant smoke test scenario 2021-08-04 10:56:09 +01:00
Tam Mullen 08dab6d7a4 Added k6 requests for my account login for merchant. 2021-08-03 22:05:56 +01:00
Tam Mullen bbb1d96a08 Update k6 smoke test scenarios 2021-08-03 11:14:01 +01:00
Tam Mullen 9becbc8621 Added k6 requests for WC Admin home page 2021-08-03 11:04:01 +01:00
Tam Mullen 04aa070831 Added k6 requests for removing item from cart 2021-08-03 11:03:23 +01:00
Tam Mullen aaafe832ee Added k6 requests for merchant orders page 2021-08-03 11:02:03 +01:00
Tam Mullen 80d988e287 Added k6 requests for applying coupon in cart. 2021-08-03 11:01:21 +01:00
Greg 3f5420eb0d Added check out DB update and run if it exists 2021-08-02 11:11:49 -06:00
Nestor Soriano e1f19e2d23
Fix: 'woocommerce_email_settings' filter being triggered twice. 2021-08-02 09:33:18 +02:00
Greg 7612f862b4 Updated readme and changelog 2021-07-30 15:05:10 -06:00
Greg ae75249bed Added order cleanup 2021-07-30 15:02:55 -06:00
Tam Mullen c43f2b371e Fixed typo in k6 checks and updated headers merging. 2021-07-30 20:38:31 +01:00
Tam Mullen a9f36ed72a Update the k6 create product requests 2021-07-30 20:34:39 +01:00
Nestor Soriano 9583d57d26
Fix option names used by the product attributes lookup table feature
The feature was using option names prefixed with
"woocommerce_attribute_lookup__". That double underscore breaks WP
standards for option names. The option names have been changed
so that they use a single underscore instead.
2021-07-30 11:16:05 +02:00
Maria Górska-Piszek 3ffc3de4c5 Update e2e tests. 2021-07-29 15:52:30 +02:00
rodelgc 1bff2b6609
Merge branch 'trunk' into add/e2e-implement-describe-each 2021-07-29 20:35:49 +08:00
Rodel Calasagsag 344aebd0b5 Fix merge conflict in e2e-utils CHANGELOG 2021-07-29 20:32:50 +08:00
rodelgc 0ea8637094
Merge branch 'trunk' into add/e2e-merchant-batch-create-orders 2021-07-29 19:48:26 +08:00
Rodel Calasagsag e5078cdf5c Add new util function to the readme 2021-07-29 19:32:12 +08:00
Rodel Calasagsag 16083c2574 Move utility function to withRestApi 2021-07-29 19:31:27 +08:00
Rodel Calasagsag b116756b09 Renamed 'status' variable 2021-07-29 18:27:26 +08:00
Greg 47683bb1b5 Update README 2021-07-27 20:48:45 -06:00
Greg b50f88ee29 Removed ignore lint fields 2021-07-27 20:43:47 -06:00
Greg 5229087aa1 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow 2021-07-22 12:42:50 -06:00
Greg 32454db984 Update selectors 2021-07-22 11:38:42 -06:00
Greg 946a4e755a Update selector 2021-07-22 11:23:24 -06:00
Greg 0de5726332 Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix-e2e/add-wait-for-search 2021-07-22 11:17:21 -06:00
Greg 45735a30f7 Make selector more specific 2021-07-22 10:55:45 -06:00
barryhughes fbda9cb58e Update with latest changes from trunk. 2021-07-21 14:54:53 -07:00
Greg 88686602ed Add longer timeout on selector 2021-07-21 13:26:33 -06:00
Joel Thiessen 9801cd80c6 Patcing tests relevant to new payment gateway API 2021-07-21 12:06:41 -07:00
Greg e0c5bdadc2 Added wait for selector in search 2021-07-21 12:45:16 -06:00
Greg a661bc4bbb Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow 2021-07-21 11:31:30 -06:00
Greg d062a76a2c Code review feedback 2021-07-21 10:22:50 -06:00
Claudio Sanches 683cc40cbf
Merge pull request #30097 from woocommerce/add/shipping-phone
Add support for Shipping Phone Number in Order and Customer classes
2021-07-20 21:00:45 -03:00
barryhughes 583130531c Fix E2E tests. 2021-07-20 16:52:42 -07:00
Greg f31693aaec Add in env flag 2021-07-20 15:26:51 -06:00
barryhughes 46f9644eae Update test for product download settings. 2021-07-20 11:18:22 -07:00
Greg 3267a7253c Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow 2021-07-19 09:06:52 -06:00
Roy Ho 95abba7eeb
Merge pull request #30041 from woocommerce/add/29609
Sync the product attributes lookup table on product creation/change/deletion
2021-07-16 15:03:54 +01:00
Greg 268c07118e Added plugin upload functionality 2021-07-15 14:39:32 -06:00
Tam Mullen d30c11f92b Merge branch 'trunk' of github.com:woocommerce/woocommerce into try/perf-k6-checkout-poc-2 2021-07-13 17:27:06 +01:00
Tam Mullen 6d27d40200 Tidied up k6 requests. 2021-07-13 17:20:51 +01:00
Tam Mullen a0be8c515d Added requests for add product k6 test 2021-07-13 17:20:07 +01:00
Ron Rennick 2fcd2edbd3
Merge pull request #30117 from woocommerce/add/block-concurrent-test-runs
Added logic to draft and publish the ready page on each run
2021-07-09 15:52:51 -03:00
Greg f2a4137a7f Added comment blocks 2021-07-09 10:30:16 -06:00
Greg b34f14eaf4 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/install-all-pending-updates 2021-07-09 10:22:36 -06:00
Tam Mullen e1995a66a6 Added Products page k6 test requests 2021-07-09 12:27:00 +01:00
Greg af7271b747 Remove error case 2021-07-07 10:37:47 -06:00
Greg 99363e4e2b Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/block-concurrent-test-runs 2021-07-07 10:27:44 -06:00
Néstor Soriano 6cc150e7be
Merge pull request #30194 from woocommerce/fix/29235
Fix/29235
2021-07-07 10:56:17 +02:00
Greg 88c62ae708 Code review feedback 2021-07-06 11:19:09 -06:00
Greg 5c5f97cce1 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/block-concurrent-test-runs 2021-07-06 11:11:03 -06:00
Ron Rennick 8454dd9380
update DB in wp beta initialization script (#30189) 2021-07-06 14:00:50 +02:00
Tam Mullen 2a0b07f68b Add k6 requests for merchant login 2021-07-01 14:53:13 +01:00
Rodel Calasagsag f092274972 Added changelog entry 2021-07-01 20:12:52 +08:00
Rodel Calasagsag 07dc505d18 Added changelog entries 2021-07-01 20:09:24 +08:00
Rodel Calasagsag 60b5b183da Use switch-case to get coupons 2021-07-01 20:02:59 +08:00
Tam Mullen 46ca4511cd Added k6 requests for my account 2021-07-01 13:02:16 +01:00
Rodel Calasagsag cd463d0a92 Implement it.each on front-end-my-account.test.js 2021-07-01 19:51:20 +08:00
Rodel Calasagsag 224d88f1b0 Implement it.each on front-end-checkout-coupons.test.js 2021-07-01 19:29:57 +08:00
Rodel Calasagsag a5c5451dc5 Implement it.each on front-end-cart-coupons.test.js 2021-07-01 19:23:23 +08:00
Tam Mullen 093ce67fcc Added product search request 2021-07-01 12:11:26 +01:00
Rodel Calasagsag ad139d821b Implement it.each on wp-admin-order-status-filters.test.js 2021-07-01 18:48:48 +08:00
Nestor Soriano 2fe8cce9b0
Fix unit tests for the LookupDataStore class 2021-07-01 12:01:07 +02:00
Rodel Calasagsag c25b23aafc Used API package to create orders by batch 2021-07-01 16:50:35 +08:00
Rodel Calasagsag 028c594bd6 Implemented on wp-admin-analytics-page-loads.test.js 2021-07-01 15:44:36 +08:00
Nestor Soriano d3131a67e6
Fix unit tests for the DataRegenerator class 2021-07-01 09:32:57 +02:00
Rodel Calasagsag c0b33e4909 it.each() on onboarding tests 2021-07-01 14:25:43 +08:00
Rodel Calasagsag 7934c9505b Merge branch 'trunk' into add/e2e-implement-describe-each 2021-07-01 13:45:34 +08:00
roykho 79e3f15696
Change order of wc_install to after db tables created 2021-06-30 19:49:56 -07:00
Tam Mullen 35f210091b Added requests for logging in as customer on checkout 2021-06-30 23:27:41 +01:00
roykho 574d82bd16
Update tests 2021-06-30 15:05:30 -07:00
Greg 5062c13f38 Broke out install function 2021-06-30 14:35:17 -06:00
Greg 6888759764 Pull in API package 2021-06-30 14:03:07 -06:00
Greg 4d40340785 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/block-concurrent-test-runs 2021-06-30 13:53:18 -06:00
Greg e08313d203 Code review feedback 2021-06-30 13:31:49 -06:00
Rodel Calasagsag fdad5c7c5f Added changelog entries 2021-06-30 19:11:30 +08:00
Rodel Calasagsag 53be6fb3d2 Used API package to create orders by batch 2021-06-30 18:48:10 +08:00
Nestor Soriano 38897a42e2
Add tests for product changes changes in LookupDataStore. 2021-06-28 12:25:48 +02:00
Tam Mullen 874da86155 removed some of the k6 checkout flow into separate k6 requests and moved headers to their own file. 2021-06-25 00:42:28 +01:00
Vedanshu Jain f367fcd4f7
Merge pull request #29966 from MoustafaMohsen/patch-1
Typo in example code block
2021-06-23 19:36:06 +05:30
Greg 74a9e1b0ec
Merge branch 'trunk' into add/install-all-pending-updates 2021-06-18 11:31:42 -06:00
Greg 9e9a124f52
Merge pull request #30056 from woocommerce/add/e2e-shopper-create-products-api
Add/e2e shopper create products api
2021-06-18 06:56:17 -06:00