Commit Graph

958 Commits

Author SHA1 Message Date
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
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
Vedanshu Jain 7ee760f617
Merge pull request #30118 from woocommerce/update/woocommerce-admin/2.4.0-rc.1
Bump woocommerce-admin version to 2.4.0-rc.2
2021-06-18 17:57:54 +05:30
Ilyas Foo e0db9beb20 Add delay to reduce e2e test flakiness in OBW - Business Details 2021-06-18 18:19:27 +08:00
Rodel Calasagsag 639c091f61 Added changelog in utils package 2021-06-18 15:17:18 +08:00
Vedanshu Jain 39c057f636
Merge pull request #29971 from woocommerce/hide-pypl-on-new-sites
Hide PayPal Standard on new installs
2021-06-17 19:40:53 +05:30
vedanshujain 8fbb86e096 Remove PayPal test since its removed by default now. 2021-06-17 15:11:42 +05:30
vedanshujain 532998b6e8 No need to check for Paypal standard since its removed.
See #29971 but basically we want to remove PayPal standard in favor of PayPal checkout which has better experience. So this test is not valid anymore.
2021-06-17 14:34:22 +05:30
Greg 89d166e8b4 Added logic to draft and publish the ready page on each run 2021-06-16 15:28:04 -06:00
Greg 372064c49f Added flows for updating WP, themes, and plugins 2021-06-15 16:28:10 -06:00
Rodel Calasagsag 0cc9788ff6 Relocated instantiation statements 2021-06-09 17:44:20 +08:00
Rodel Calasagsag e5ed6dc81a Revert whitespaces for easier review 2021-06-09 17:38:20 +08:00
Rodel Calasagsag f2305a2486 Fix instantiation of grouped product variables 2021-06-09 17:08:45 +08:00
Rodel Calasagsag 78ef1e4411 Remove unnecessary import 2021-06-09 15:55:58 +08:00
Rodel Calasagsag 47a3ea0077 Revert default.json 2021-06-09 15:55:47 +08:00
Rodel Calasagsag d9cead9943 Merge branch 'trunk' into add/e2e-shopper-create-products-api 2021-06-07 18:48:11 +08:00
Rodel Calasagsag 179bad04b8 Fixed erroneous variables 2021-06-07 18:46:40 +08:00
Rodel Calasagsag 21d037900a Use API to create Grouped Products 2021-06-07 17:41:36 +08:00
Rodel Calasagsag 61992e2d2e Minor doc change 2021-06-07 16:11:41 +08:00
Rodel Calasagsag 779f618adf Refactor steps 2021-06-06 01:07:19 +08:00
Rodel Calasagsag 6ab74bf811 Fix variation factory to include all fields from params 2021-06-05 20:50:44 +08:00
Rodel Calasagsag ef90dc7ea3 REfactor first 2 tests 2021-06-05 20:49:43 +08:00
Rodel Calasagsag 81e05acdd6 Use API to generate all possible variations 2021-06-05 20:48:38 +08:00
Ron Rennick f3908c9fe9
add wait between loading shop and add to cart (#30017) 2021-06-03 16:07:55 +02:00
Rodel Calasagsag 95c088142b Removed unnecessary 3rd attribute in default variations object 2021-06-03 20:06:50 +08:00
Leif Singer b2ab18d168
fix Slack OAuth scopes typo in README 2021-06-03 13:42:10 +02:00
Rodel Calasagsag de56309f81 REmove unnecessary imports 2021-06-03 19:20:59 +08:00
Rodel Calasagsag 28c2597b0f Allow customization of variable product and variations 2021-06-03 19:16:20 +08:00
Rodel Calasagsag 46b5cf8803 Use factories object to create variable products 2021-06-02 21:12:31 +08:00
Rodel Calasagsag 0a6d38fc6b TODO: use factory instead 2021-06-02 18:46:12 +08:00
Rodel Calasagsag f616645f7b Select attributes based on what's written in default.json 2021-06-02 18:45:20 +08:00
Rodel Calasagsag c46a30be8c Added logo attribute to variation 2021-06-02 18:43:38 +08:00
Rodel Calasagsag ee50c0d4b2 Return variable product object from response 2021-06-02 16:43:55 +08:00
Rodel Calasagsag 2276f70fd2 Remove merchant login & logout steps surrounding createVariableProduct() 2021-06-01 20:06:00 +08:00
Rodel Calasagsag a028973279 Use api to create variable product 2021-06-01 20:04:04 +08:00
Rodel Calasagsag ddef1d8d95 updated property names to match those in API documentation 2021-06-01 20:03:25 +08:00
Ron Rennick d586d11ca2
add support for projects to suppress console output (#29960)
* add support for projects to suppress console output

* update E2E env readme, package lock maintenance
2021-05-26 13:20:08 +02:00
Ron Rennick e52bb139e8
release api package 0.2.0 (#29930) 2021-05-25 16:00:56 +02:00
Ron Rennick ba8597432d
support analytics page tests having charts (#29958) 2021-05-24 18:00:26 +02:00
Ron Rennick e1d5fc06a4
Packages/e2e releases (#29951)
* update env docs, bump version to 0.2.2

* update util docs, bump version to 0.1.5

* update core-tests docs, bump version to 0.1.4
2021-05-24 17:37:33 +02:00
Greg 7c5fd005fd
Merge pull request #29939 from woocommerce/e2e/remove-merchant-ui-login
Remove merchant login/logout calls
2021-05-22 10:06:33 -06:00
Moustafa Mohsen e13824fd19
Typo in example code block
Even though it's just an example ,It should reference the client not an undefined value
2021-05-22 18:06:17 +02:00
Rodel Calasagsag 072af834b9 Clear browser cache and cookies after each test.
Add merchant logins to relevant onboarding & setup tests
2021-05-21 19:27:50 +08:00
del 8a7f185652 Trash posts using WP API 2021-05-21 04:55:14 +08:00
del e455479db9 Removed unnecessary merchant logout 2021-05-21 04:43:47 +08:00
del 7751034808 Added necessary merchant logins 2021-05-21 04:43:29 +08:00
del 67e7521044 Reverted bulk trash logic 2021-05-21 01:18:46 +08:00
del d74d37ce67 Corrected logic prior to merchant logout 2021-05-20 23:43:22 +08:00
del 94f51fe808 Replace switchUserToTest with merchant.logout 2021-05-20 18:41:22 +08:00
del e149dfb12b Relocated merchant login call to improve readability 2021-05-20 18:27:54 +08:00
del d66f1b7075 Added necessary merchant login calls 2021-05-20 18:27:12 +08:00
del e7b8591d5c Removed unnecessary merchant logouts based on PR comment 2021-05-20 18:14:10 +08:00
del ab9532c81b Re-add necessary merchant UI login 2021-05-20 16:41:53 +08:00
del 22a355c3ce Remove unnecessary merchant util 2021-05-20 00:42:10 +08:00
del 6826cce834 Remove merchant login in the remaining shopper test that has it 2021-05-20 00:40:16 +08:00
del 0b1310cd44 Remove merchant login/logout calls 2021-05-19 00:44:33 +08:00
Ron Rennick 92d3bdfacb add draft status to deleteAllObjects 2021-05-14 17:00:30 -03:00
Ron Rennick bee633cef7
Update delete all to include trash (#29881)
* update stale to Stale in feedback label CI

* delete trashed objects, use api to delete imported products

* restore two lines deleted in merge
2021-05-14 17:49:55 +02:00
Ron Rennick 2a86d2b2ab update api package readme & changelog to prep for release 2021-05-13 16:06:28 -03:00
Greg 63fe943ef9
Merge pull request #29819 from woocommerce/fix/27873
Add order support to API package
2021-05-13 08:07:55 -06:00
dependabot[bot] d73c948c67
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/utils
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 15:45:21 +00:00
Claudio Sanches f48b96077d
Merge pull request #29863 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/api
2021-05-11 12:44:26 -03:00
Claudio Sanches a81d0358ef
Merge pull request #29864 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9 in /tests/e2e/api
2021-05-11 12:41:44 -03:00
Ron Rennick 7237051b67
three small e2e fixes found through smoke testing (#29834)
- remove merchant login for beforeAll in cart & checkout coupon tests. Test objects created with the rest API.
- eliminate error when merchant logout is called when merchant is not logged in
- eliminate rest API error when deleting an object that no longer exists
2021-05-10 17:16:31 +02:00
Ron Rennick c7afe437d7
small E2E coding fixes (#29816) 2021-05-10 16:27:01 +02:00
dependabot[bot] ce9fce8d0d
Bump hosted-git-info from 2.8.8 to 2.8.9 in /tests/e2e/api
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:44:27 +00:00
dependabot[bot] e25581c29b
Bump lodash from 4.17.20 to 4.17.21 in /tests/e2e/api
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:44:23 +00:00
Veljko ce1e2f260d Rename the test file 2021-05-05 09:29:38 +02:00
Ron Rennick f51dfdfd56 Merge branch 'trunk' into e2e/e2e-merchant-initiate-wccom 2021-05-04 22:28:09 -03:00
Greg c354a67292 Finish work on order; removed unused variable from test 2021-05-03 20:21:00 -06:00
Greg e9febd57ec Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873 2021-05-03 13:58:55 -06:00
Greg b9bd336b0f Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873 2021-05-02 15:24:22 -06:00
Ron Rennick 7b23b8c8aa two more minor E2E fixes
- add shipping zone for first checkout test
- increase wait time for product import to complete
2021-04-30 16:26:51 -03:00
Ron Rennick 946f8ec903 Merge branch 'trunk' into try/individual-test-files 2021-04-30 15:13:56 -03:00
Ron Rennick 2c72bf8a9f
Merge pull request #29734 from woocommerce/e2e/e2e-merchant-add-simple-product
Add new e2e scenario and update the existing - Merchant - Add Simple Product
2021-04-30 10:01:27 -03:00
Ron Rennick 43859058ec run cart/checkout setup tests first 2021-04-30 09:04:48 -03:00
Greg b61fe9859f Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873 2021-04-29 16:13:13 -06:00
Ron Rennick 98f7a8562d Merge branch 'trunk' into try/individual-test-files 2021-04-29 16:29:35 -03:00
Ron Rennick 4b99a24af2
Merge pull request #29728 from woocommerce/e2e/e2e-update-checkout-naming
Update test naming for the Cart tests to include adding product from shop page
2021-04-29 15:49:18 -03:00
Ron Rennick 4a78541cf5 merge trunk 2021-04-29 15:23:26 -03:00
Ron Rennick 5d4597c31c Merge branch 'trunk' into e2e/e2e-merchant-add-simple-product 2021-04-29 15:18:14 -03:00
Greg 3aca2b9248
Merge pull request #29776 from woocommerce/e2e/coupon-test-names
give cart and checkout coupon tests unique titles
2021-04-29 12:03:16 -06:00
Greg 69bab1a40c
Merge pull request #29774 from woocommerce/e2e/no-screenshot-title
return test name when there is no screenshot
2021-04-29 11:59:56 -06:00
Greg c47009c8f9
Merge pull request #29763 from woocommerce/e2e/remove-unused-product-import
remove unused product import function from jest setup script
2021-04-29 11:58:27 -06:00
Ron Rennick a1be8f9969 WIP orders rest repository 2021-04-29 14:10:50 -03:00
Ron Rennick d5d723f6d8 Merge branch 'trunk' into fix/27873 2021-04-29 13:48:07 -03:00
Ron Rennick 00f7e30db5 merge trunk 2021-04-29 13:47:25 -03:00
Ron Rennick 7e91998f1e Merge branch 'trunk' into e2e/remove-unused-product-import 2021-04-29 10:45:00 -03:00
Ron Rennick b251bca7b6 Merge branch 'trunk' into try/individual-test-files 2021-04-29 09:54:59 -03:00
Veljko a6388d9c34 Fix test by adding new shipping zone 2021-04-29 12:27:46 +02:00
Veljko V 45177c0a6e
Merge pull request #29775 from woocommerce/try/repeatable-onboarding-flow
update onboarding flow modal checks
2021-04-29 11:49:05 +02:00
Ron Rennick 6910b2080a Merge branch 'trunk' into try/individual-test-files 2021-04-28 14:28:27 -03:00
Ron Rennick f7447b12fa remove debug code 2021-04-28 14:27:32 -03:00
Ron Rennick 08599ea206 use evalAndClick on add coupon button 2021-04-28 12:15:13 -03:00
Ron Rennick 779cfc89d4 Merge branch 'trunk' into try/repeatable-onboarding-flow 2021-04-28 10:18:39 -03:00
Ron Rennick 0d7388e9d4 update for feedback, better wait impementation 2021-04-27 17:45:21 -03:00
Ron Rennick d67e340548 Merge branch 'trunk' into fix/order-search-test 2021-04-27 16:42:42 -03:00