Commit Graph

3921 Commits

Author SHA1 Message Date
Ron Rennick d2a94ba5d9 update utils readme to include general utils 2021-09-10 15:56:16 -03:00
Ron Rennick 20cb447204 delete coupons instead of trashing them 2021-09-10 15:30:28 -03:00
Greg e09b43f099 Code review feedback 2021-09-09 12:23:23 -06:00
Greg 62453974dd Code review feedback 2021-09-09 11:01:13 -06:00
Greg edb10107cf Run API tests with regular run and add script 2021-09-09 08:41:36 -06:00
Greg 2efdcda7d3
Merge pull request #30658 from woocommerce/e2e/release-packages 2021-09-08 12:07:42 -06:00
Ron Rennick 94b7254e40 release package updates 2021-09-08 11:01:02 -03:00
Greg 3e2c04a97c Minor tweaks and fixed a bug 2021-09-07 19:02:58 -06:00
Greg aaad21bb8b Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/api-core-tests 2021-09-07 17:17:43 -06:00
Greg 83155f5275 Remove todo line 2021-09-07 16:21:52 -06:00
Greg 095a74347a Code review feedback 2021-09-07 16:20:44 -06:00
Rodel Calasagsag aa67c7e932 Merge branch 'trunk' into add/e2e-implement-describe-each 2021-09-01 14:30:15 +08:00
Rodel Calasagsag 7a835abaea Revert each() calls in onboarding tasklist tests 2021-09-01 14:29:55 +08:00
Greg 1ce5f7a863
Update README.md 2021-08-31 15:47:42 -06:00
Greg a17cc41a2f
Update customer.js 2021-08-31 08:42:57 -06:00
Greg b6fc307b9b
Update request.js 2021-08-31 08:41:09 -06:00
Greg a1648e5d60
Merge branch 'trunk' into fix/e2e-checkout-page-failures 2021-08-31 08:17:50 -06:00
Greg b2c281781e Skip WCCOM connection 2021-08-31 20:17:36 +08:00
rodelgc ecac17817b
Merge branch 'trunk' into add/e2e-implement-describe-each 2021-08-31 19:36:51 +08:00
Greg 4eaf1e1710 Update API call for zip code 2021-08-30 15:01:59 -06:00
Greg a130109445 Skip WCCOM connection 2021-08-30 14:22:23 -06:00
Greg 2624ad969d Merge branch 'add/e2e-get-environment-context' of github.com:woocommerce/woocommerce into add/e2e-get-environment-context 2021-08-30 13:24:12 -06:00
Greg b1990cfb85 Code review feedback 2021-08-30 13:23:54 -06:00
Greg 59c69e54dd Added updateSettingOption and updatePaymentGateway to withRestAPI flows 2021-08-30 12:00:31 -06:00
Greg eaed316450
Added missing semicolon 2021-08-30 11:00:54 -06:00
Greg 7276a4e489 Code review feedback 2021-08-30 10:33:45 -06:00
Greg 9234fb7f3b Fix typo 2021-08-27 17:36:39 -06:00
Greg a688716587 Remove extra whitespace 2021-08-27 16:08:33 -06:00
Greg e496f5ef15 Minor fix to README 2021-08-27 16:07:55 -06:00
Greg 0f1325d937 Added changelog and readme 2021-08-27 16:04:03 -06:00
Greg efbb119b31 Get environment context for tests 2021-08-27 15:59:44 -06:00
Ron Rennick 1cd8d14ac4 skip product search on WP versions < 5.8 2021-08-27 16:14:04 -03:00
Ron Rennick d129a980d9 reset onboarding on retest 2021-08-27 11:12:13 -03:00
jonathansadowski 614ae96516
Merge pull request #30585 from woocommerce/add/29461
Add 'modified_before' and 'modified_after' params to REST API
2021-08-27 08:25:23 -05:00
Tam Mullen 5ed9050d66 Some Perf Testing README corrections. 2021-08-27 09:59:58 +01:00
Tam Mullen cd5bf73f12 Updated README 2021-08-26 21:55:30 +01:00
Tam Mullen 8c2d78268a Added README 2021-08-26 21:53:08 +01:00
Greg a26951b6c6 Add page reload and split simple product page test 2021-08-26 13:23:42 -06:00
Ron Rennick 05e43a9711
Merge pull request #30587 from woocommerce/fix/e2e-variable-variation-timeout
Increase timeout waiting for variable is virtual selector
2021-08-26 13:54:05 -03:00
Ron Rennick f3bc3f6fe4
Merge pull request #30582 from woocommerce/fix/e2e-shipping-classes-test
Fix for not finding text in Merchant can add shipping classes test
2021-08-26 13:47:09 -03:00
Ron Rennick 7058368ad8
Merge pull request #30583 from woocommerce/fix/e2e-shipping-zone-tests
Added waits for the UI to be unblocked for shipping zone tests
2021-08-26 12:50:18 -03:00
Greg ce748b0f36 Increase timeout waiting for virtual selector 2021-08-26 09:37:34 -06:00
Greg 44cf40b781
Merge pull request #30558 from woocommerce/add/admin-e2e-tests
add admin E2E tests
2021-08-26 08:58:32 -06:00
Nestor Soriano 96d0a129b5
Fix: 'require's that should be 'require_once' instead. 2021-08-26 16:22:39 +02:00
Nestor Soriano 7cccf62a89
Move tthe date filtering tests to a trait.
Since the new date filtering parameters 'modified_before' and
'modified_after' applies to products, orders and coupons, the tests
for the date filtering have been moved to a trait and included
in the three corresponding test files.
2021-08-26 15:41:57 +02:00
Ron Rennick 76332ec0c8 update per feedback, add spacing, remove unused function 2021-08-26 10:07:13 -03:00
Tam Mullen a6a7fb1466 Add example ramping arrival rate scenario 2021-08-26 12:45:13 +01:00
Nestor Soriano 0b84d2d8b8
Add 'modified_before' and 'modified_after' params to REST API
The parameters are added to WC_REST_CRUD_Controller in v3 of the API.
2021-08-26 12:49:09 +02:00
Tam Mullen 9e7f1a277c Added additional hearbeat test and example ramping vus scenario to run all tests under load 2021-08-26 11:00:45 +01:00
Greg d4c4ae8948 Use timeout instead 2021-08-25 19:00:22 -06:00
Greg 03ef19285e Added waits for the UI to be unblocked 2021-08-25 16:15:06 -06:00
Greg 000e1a256b Use slug directly instead of as text 2021-08-25 15:24:03 -06:00
Greg 7cbed7f5dc
Merge pull request #30578 from woocommerce/fix/wp-capitalization
fix two mispellings of WordPress
2021-08-25 13:54:11 -06:00
Ron Rennick 8ba52cdf3f fix two mispellings of WordPress 2021-08-25 15:46:27 -03:00
Roy Ho 2445f7b303
Merge pull request #30472 from woocommerce/fix/unit-tests
Try fix WP nightly unit tests
2021-08-25 16:30:13 +01:00
Ron Rennick 67c675bdda
Merge pull request #30561 from woocommerce/fix/29388
Remove unused WP test install from e2e environment package
2021-08-25 11:50:48 -03:00
Greg f9f664d57f Code review feedback 2021-08-25 08:09:14 -06:00
Nestor Soriano b116f70b8c
Remove listener-loader.php as it's no longer used. 2021-08-25 15:36:00 +02:00
Ron Rennick 8cbb606c7e move all test setup api calls into error trap 2021-08-25 09:05:32 -03:00
Greg 671de68fa2 Fix for getting a bad archive for releases 2021-08-24 16:44:06 -06:00
Ron Rennick 2a2ffb4549 disabled duplicate analytics page tests 2021-08-24 16:34:19 -03:00
Ron Rennick b22e328e86 reorder admin tests to same order as home repo 2021-08-24 16:32:26 -03:00
Ron Rennick 596e378ffd Merge branch 'trunk' into add/admin-e2e-tests 2021-08-24 11:54:53 -03:00
Ron Rennick f99ea77eb8 use `PUT` to update ready page status 2021-08-24 11:02:17 -03:00
Nestor Soriano 07cdb5b6a4
Merge branch 'trunk' into fix/unit-tests 2021-08-24 09:33:00 +02:00
Greg 49aea3038b Minor formatting changes 2021-08-23 19:25:07 -06:00
Ron Rennick aecc662cad fix create variable product test 2021-08-23 21:49:18 -03:00
Greg d03e99a9ed Remove unused WP test install 2021-08-23 16:23:34 -06:00
Greg 0882fc245c Add try catch around updating ready page status 2021-08-23 15:27:38 -06:00
Greg a271c4a04b Minor spacing adjustments, updated readme, added comments 2021-08-23 14:51:33 -06:00
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