Commit Graph

30 Commits

Author SHA1 Message Date
Sam Seay abe7d9d39f Attempt to remove fixed WP version in e2e. (https://github.com/woocommerce/woocommerce-admin/pull/7111) 2021-06-03 09:14:48 -03:00
Sam Seay edc8a1bdc5 Publish storybook docs, remove react docgen based docs (https://github.com/woocommerce/woocommerce-admin/pull/7055) 2021-06-02 15:54:00 +12:00
Ilyas Foo ff1e33bf9e Temporarily hardcode e2e workflow to use WordPress 5.7.1 (https://github.com/woocommerce/woocommerce-admin/pull/7054) 2021-05-24 10:01:25 +08:00
Ron Rennick fe2dd7cc24 remove unnecessary vars from e2e action (https://github.com/woocommerce/woocommerce-admin/pull/6826) 2021-05-10 13:11:56 +12:00
louwie17 3ff1e1375e Update E2E config to support screenshots on test failure (https://github.com/woocommerce/woocommerce-admin/pull/6858)
* Add login page wait script for e2e tests

* Re-navigate to login page, if initial selector does not exist

* Add screenshot if login page did not render

* Add screenshot code, and screenshot artifacts to GH action

* Update screenshot logic for login

* Update artifact task

* Update upload artifact workflow

* Update jest config to make sure the screenshots work on test failures

* Remove old screenshot code

* Add screenshots to daily e2e tests as well incase of failure

* Add changelog
2021-04-26 13:41:38 -03:00
louwie17 4141e5b59c Deleted and re-generated package lock to fix packages (https://github.com/woocommerce/woocommerce-admin/pull/6843)
* Deleted and re-generated package lock to fix packages

* Add changelog

* Add sleep after docker:up
2021-04-22 12:18:15 -03:00
Jeff Stieler a2e2db5ab6 Don't run Daily PHP tests on pull requests. (https://github.com/woocommerce/woocommerce-admin/pull/6793)
See: https://github.com/woocommerce/woocommerce-admin/pull/6715/files#r604712040
2021-04-13 12:04:43 -04:00
Adrian Duffell 7694bad218 Add Daily PHP Tests to CI (https://github.com/woocommerce/woocommerce-admin/pull/6715)
* Add daily PHP tests to CI

* Add support for WC_VERSION=latest env var

* Fix bug where wordpress used woocommerce version
2021-04-13 22:10:55 +08:00
louwie17 b29cd9a6c0 Add support for php8 unit tests (locally and in GH actions) (https://github.com/woocommerce/woocommerce-admin/pull/6678)
* Partial local version to run php8 unit tests

* Remove the post install scripts

* Remove tab

* Make sure woocommerce version contains patch number

* Remove unnecessary script

* Update bin settings and unit test script

* Remove phpunit binary

* Updated how php unit is being run

* Add specific phpunit version for php8

* Update bin phpunit composer.json

* Final cleanup of scripts

* Fix potential test where image is an object

* Move setting image below save

* Add changelog

* Do not convert obj/array to string for email_actions

* Remove some uses of tabs

* Set WP and WC version to minimum php 8 supported

* Remove unnecessary composer install within tests
2021-04-07 14:28:03 -03:00
Adrian Duffell be0afca544 Add Daily E2E Tests to CI (https://github.com/woocommerce/woocommerce-admin/pull/6716)
* Add daily E2E tests to CI

* Update command to start the E2E tests

* Remove pull_request triger
2021-04-06 14:02:13 +08:00
Sam Seay 9dd75e83f8 Improve page object encapsulation, refactor e2e suite, add more e2e tests. (https://github.com/woocommerce/woocommerce-admin/pull/6682) 2021-04-05 12:09:36 +12:00
Adrian Duffell 02e7d6870f Remove CI tests for WooCommerce 4.7 (https://github.com/woocommerce/woocommerce-admin/pull/6640) 2021-03-24 08:51:12 +08:00
Sam Seay 5a54314e3a Fix CI issues (https://github.com/woocommerce/woocommerce-admin/pull/6576)
* PHP unit tests were failing due to a change in the Github actions environment.
* E2E tests were failing because of that issue (they rely on port 8084 which is used in ubuntu 20 environment) and because of an issue with @woocommerce/e2e-environment
2021-03-12 14:14:35 +13:00
Sam Seay bc0460ebae Never skip changelog labelling, default to remove label. (https://github.com/woocommerce/woocommerce-admin/pull/6553) 2021-03-10 16:30:54 +13:00
Ilyas Foo 44020e3255 Fix renovate bot check in changelog lint (https://github.com/woocommerce/woocommerce-admin/pull/6541) 2021-03-10 10:09:37 +08:00
Sam Seay 42ed577632 Improve changelog linting automation (https://github.com/woocommerce/woocommerce-admin/pull/6443)
Don't run on renovate PRs and skip when an escape hatch is provided in PR description.
2021-02-25 13:19:04 +13:00
Sam Seay 7e4a2a6dc8 Add a changelog lint check and auto-labelling to PRs (https://github.com/woocommerce/woocommerce-admin/pull/6414) 2021-02-24 14:47:06 +13:00
renovate[bot] d66becd674 Update actions/setup-node action to v2.1.5 (https://github.com/woocommerce/woocommerce-admin/pull/6433)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-24 14:38:12 +13:00
Paul Sealock 993e236ce0 Update Minimum version in docs and test configs (https://github.com/woocommerce/woocommerce-admin/pull/6342)
* update min version in docs and tests

* update woocommerce-admin.php

* update docker versions

* one more 5.3

* Docker image: back to min versions

* fix main file's min PHP to 7.0, same as Woo Core and readme.txt

* docs/readme

* get_dependency_errors
2021-02-19 11:22:56 +13:00
Timmy Crawford ebd9b5bb8e Add all feature labels to stalebot exclusion list. (https://github.com/woocommerce/woocommerce-admin/pull/6318) 2021-02-15 11:53:50 -08:00
Sam Seay 6847c44869 Add the Mollie payment provider setup task (https://github.com/woocommerce/woocommerce-admin/pull/6257)
* Whitelist the mollie plugin and ensure it does not crash on activation.

* Improve error messages for failed plugin installs.

* Add the payment provider screen for the Mollie payment provider.

* Revert change to try/catch activation, its not needed.

* Move the whitelist of mollie to Onboarding.php.

* Add api fetch to dep list of components, update the node setup workflow on gh actions.

* Pass indsutry to the klarna tests to avoid a crash.

* Add some tests for the mollie payment method.

* Remove redundant change to handler.

* Add a changelog entry for the feature.

* fix name of option

* Add testing instructions

Co-authored-by: Rebecca Scott <me@becdetat.com>
2021-02-05 13:41:55 +10:00
Sam Seay 242bdb475d Migrate the Travis unit test suite to Github actions (https://github.com/woocommerce/woocommerce-admin/pull/6164)
Add a matrix of tests against WP and WC versions and migrate the lint and js test to separate jobs.
2021-02-01 15:24:11 +13:00
Sam Seay 053db8512c Turn on stalebot. (https://github.com/woocommerce/woocommerce-admin/pull/6154) 2021-01-27 00:01:14 +13:00
Sam Seay 592a4f2491 Make stale bot use 60 days for PRs and issues (https://github.com/woocommerce/woocommerce-admin/pull/6152) 2021-01-22 16:47:52 +13:00
Adrian Duffell fdb1a4c7e3 Update stale action to use ascending order (https://github.com/woocommerce/woocommerce-admin/pull/6151)
This ensures the oldest issues/PRs are processed first
2021-01-22 08:53:41 +08:00
Sam Seay 5799daafd7 Increase the max ops per run so we can see everything it will mark stale. (https://github.com/woocommerce/woocommerce-admin/pull/6149) 2021-01-22 13:31:12 +13:00
Sam Seay 52f00e6ceb Go to v3 of stale action. (https://github.com/woocommerce/woocommerce-admin/pull/6147) 2021-01-22 13:02:40 +13:00
Sam Seay ea2b01f65a Add a stale check to PRs and issues (as a dry run for now). (https://github.com/woocommerce/woocommerce-admin/pull/6082) 2021-01-21 21:21:54 +13:00
renovate[bot] d12fb1cc9a Update shivammathur/setup-php action to v2.9.0 (https://github.com/woocommerce/woocommerce-admin/pull/6011)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-07 12:51:43 +13:00
Sam Seay 364b764eb5 Fix the travis build and move the e2e tests to GH actions (https://github.com/woocommerce/woocommerce-admin/pull/5635) 2020-11-16 17:33:06 +13:00