Commit Graph

36190 Commits

Author SHA1 Message Date
Ron Rennick 8910357437 add missing test stubs 2020-10-01 10:25:22 -03:00
Ron Rennick be15429c30 restore ability to run individual tests 2020-09-30 17:05:02 -03:00
Ron Rennick 72219b2323 move merchant tests to package 2020-09-30 14:41:31 -03:00
Ron Rennick 76f591251a move front end tests to package 2020-09-29 17:00:34 -03:00
Ron Rennick 27e79f465f split activation, onboarding, setup tests into separate files 2020-09-29 16:16:43 -03:00
Ron Rennick 1abbe3f273 initial core test package files, move setup tests to package 2020-09-29 15:22:20 -03:00
Christopher Allford 73deab28a5
Merge pull request #27785 from woocommerce/fix/onboarding-flow-4-6
Update onboarding flow for 4.6
2020-09-25 13:16:19 -07:00
Ron Rennick 6b7d67e587 update onboarding flow for 4.6 2020-09-25 12:06:45 -03:00
Peter Fabian 51029986b5
Merge pull request #27759 from rodrigoprimo/fix/pre-push-hook
Fix pre-push hook used by husky
2020-09-25 12:52:44 +02:00
Julia Amosova dcd0c46ab5
Merge pull request #27714 from woocommerce/fix/headless-flag-e2e-dev-mode
Add missing headless flag for running e2e tests in dev mode + README updates
2020-09-23 17:05:45 -04:00
Rodrigo Primo 6e61398c83 Fix pre-push hook used by husky
The pre-push hook uses sh but contained syntax that is only supported by
bash. `=` in sh should be used instead of `==` to check for string
equality. Before this change, we were getting the following error when
pushing to any branch:

```
git push
husky > pre-push (node v10.22.1)
./bin/pre-push.sh: 7: [: refs/heads/master: unexpected operator
```

This error didn't block the push, but meant that the message asking
developers to confirm if they wanted to push to master was never
displayed. This problem was introduced in commit
8c25557bf5 added in PR #27028.
2020-09-23 10:42:23 -03:00
Rodrigo Primo 4dd4230931
Merge pull request #27747 from woocommerce/fix/setup-wizard-deprecated-version-number
Fix two minor issues related with the setup wizard deprecation
2020-09-22 11:49:35 -03:00
Rodrigo Primo c3a72b994a Fix version in which the setup wizard was deprecated
The setup wizard is going to be deprecated in WC 4.6.0 which should be
released soon. Some functions were marked as if they were deprecated in
WC 4.5.0 which is not the case.
2020-09-22 11:20:33 -03:00
Rodrigo Primo 51fd4af1b2 Remove call to __() from deprecation messages
Doing this as AFAIK we don't typically support traslation for
deprecation messages.
2020-09-22 11:18:43 -03:00
Rodrigo Primo 469101519a Remove WC 4.6 from changelog.txt as this version is yet to be released 2020-09-22 10:04:17 -03:00
Claudio Sanches 0d42a0419e
Update changelog.txt 2020-09-21 16:36:41 -03:00
Claudio Sanches 3391d8c0b0
Merge pull request #27718 from woocommerce/bump-versions-to-4.7.0
Bump WC version to 4.7.0
2020-09-21 16:21:09 -03:00
Claudio Sanches f648cec276 Updated package.json 2020-09-21 16:20:22 -03:00
Claudio Sanches eb99c1c857
Merge pull request #27719 from woocommerce/preparation/4.6.0-beta
Prepare 4.6.0 changelog
2020-09-21 16:19:54 -03:00
Claudio Sanches d9d62d8bd3
Fixed changelog 2020-09-21 16:19:40 -03:00
Claudio Sanches 0524d5f581
Restored "See changelog for all versions" link 2020-09-21 16:19:17 -03:00
Claudio Sanches ed4750f97a
Merge pull request #27715 from woocommerce/fix/post-merge-script-exit-status
Fix post-merge.sh exit status
2020-09-21 16:15:19 -03:00
Julia Amosova 12d546b280 Add `PUPPETEER_SLOWMO` to global process.env to enable it. 2020-09-20 15:34:47 -04:00
Rodrigo Primo 85c35a9ebd Remove WC 4.5.0 changelog from readme.txt
Once WC 4.6.0 changelog is finsihed in changelog.txt, we need to copy it
to readme.txt.
2020-09-19 15:37:17 -03:00
Rodrigo Primo f7d1fca384 Add WooCommerce Blocks changes to WC 4.6.0 changelog 2020-09-19 15:35:06 -03:00
Rodrigo Primo 6a641c4b1d Bump WC version to 4.7.0 2020-09-19 15:24:12 -03:00
Rodrigo Primo aaf4e189bb Add WooCommerce 4.6.0 changes to the changelog
Still pending the changelog for WooCommerce Admin and WooCommerce Blocks
2020-09-19 15:21:39 -03:00
Julia Amosova c78051c7a5 Place back `scrollIntoView` to OBW e2e test. 2020-09-18 19:15:53 -04:00
Christopher Allford b400e3bdb1
Merge pull request #27648 from woocommerce/package/e2e-environment/better-container-detection
Revise default version selection in @wordpress/e2e-environment
2020-09-18 16:07:09 -07:00
Julia Amosova ff8e5bbc8b Remove `scrollIntoView` from OBW e2e test as it is not needed. 2020-09-18 18:33:21 -04:00
Christopher Allford bf70a3ea74 Updated lock files 2020-09-18 14:43:00 -07:00
Christopher Allford d22ed6547e Merge branch 'master' into package/e2e-environment/better-container-detection 2020-09-18 14:32:11 -07:00
Julia Amosova 6a93c8dd68 Added note to README on how to use `PUPPETEER_SLOWMO` variable. 2020-09-18 16:53:48 -04:00
Julia Amosova 30c904db68 Added `headless` & `slowMo` flags back to Puppeteer config. 2020-09-18 16:39:45 -04:00
Rodrigo Primo 2100273398
Merge pull request #27712 from woocommerce/update/woocommerce-admin/1.6.0-beta.1
Bump woocommerce-admin to 1.6.0-beta.1
2020-09-18 17:32:28 -03:00
Julia Amosova 38f14747fa Update commands that need to be run to build e2e test env. 2020-09-18 16:05:36 -04:00
Rodrigo Primo 7401982d37
Merge pull request #27047 from woocommerce/fix/26972
Removed Features settings and home screen option
2020-09-18 16:46:43 -03:00
Timmy Crawford 3def445592 Update composer.lock 2020-09-18 12:39:49 -07:00
Julia Amosova 68c06683e7 Add note regarding re-initializing test container when `docker:down/up`. 2020-09-18 15:26:50 -04:00
Julia Amosova 24b987a409 Add link to `Test Variables` section when mentioning changing the port. 2020-09-18 15:22:25 -04:00
Julia Amosova 6a562f8dfa Correct type: from `MariaDV` to `MariaDB` throughout e2e README. 2020-09-18 15:17:59 -04:00
Rodrigo Primo 52e055368d
Merge pull request #26853 from woocommerce/fix/26173
deprecate wc-setup
2020-09-18 15:57:41 -03:00
Julia Amosova 085d7d884f Add `Install NVM` section to README's Table of Contents. 2020-09-18 14:52:46 -04:00
Julia Amosova 2455a82f36 Add to README how to run tests using custom WP, PHP and MariaDV versions. 2020-09-18 14:48:26 -04:00
Rodrigo Primo ac4c057740 Fix post-merge.sh exit status in some cases
This commit tweaks the function runOnChange() to make sure it always
returns the correct exit status. Before this change, this function would
return 1 instead of 0 when there was no change to composer.lock and
package-lock.json in the commits that were merged. This resulted in
husky mistakenly reporting a failure when actually the post-merge script
succeeded.
2020-09-18 15:46:58 -03:00
Julia Amosova d66e7ef3b3 Update README with more accurate details on how to run e2e tests. 2020-09-18 14:30:54 -04:00
Ron Rennick 9ae1ba92c6 remove WC_Admin_Setup_Wizard_Tracking from tracking classes 2020-09-18 15:26:18 -03:00
Ron Rennick 0735ed9f40 Merge branch 'fix/26173' of github.com:woocommerce/woocommerce into fix/26173 2020-09-18 15:23:08 -03:00
Ron Rennick 4b3b40d42e address feedback 2020-09-18 15:22:24 -03:00
Julia Amosova 98edbef9a9 Add missing headless flag for running e2e tests in dev mode. 2020-09-18 13:43:44 -04:00