Commit Graph

56 Commits

Author SHA1 Message Date
Moon b027461e44 Use WordPress 5.6 (https://github.com/woocommerce/woocommerce-admin/pull/7843) 2021-10-26 10:27:37 -07:00
louwie17 3b2cce8814 Include yoast phpunit polyfills in phpunit tests (https://github.com/woocommerce/woocommerce-admin/pull/7695)
* Include yoast phpunit polyfills in phpunit tests

* Do a normal composer install

* Use original composer.lock

* Remove the use of composer 1

* Fix asset url

* Fix failed test with file rename

* Make sure plugin_dir_url is pointing at a file

* Fix asset url take 3

* Fix lint error
2021-09-23 18:01:52 +08:00
renovate[bot] 9295de2bb6 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/7510)
* Lock file maintenance

* Rework package lock to revert all deps that has @wordpress/elements@3.2.0 update

* Update lock again

* Add missing deps for woocommerce/onboarding

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-09-04 12:40:45 +08:00
Moon 7559f324f0 Bump the fallback WP version to 5.8.0 (https://github.com/woocommerce/woocommerce-admin/pull/7532) 2021-08-18 14:20:17 -07:00
Moon 3398e03999 Add missing ---> tag (https://github.com/woocommerce/woocommerce-admin/pull/7494) 2021-08-11 07:11:13 -07:00
renovate[bot] c151950a6e Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/7448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-10 09:53:30 -04:00
Moon daf91d034c use Jetpack Changelogger for changelog management (https://github.com/woocommerce/woocommerce-admin/pull/6870)
* use Jetpack Changelogger for changelog management

* Extends Jetpack Changelogger's write command

* Uses changelog.txt

* Add Enhancement

* Remove use of WriteCommand and implement parse() in the Formatter

* Remove bin/changelogger.php wrapper

* Use semver

* Fix spacing

* Fix typo

* changelog.txt update to match readme.txt

* changelog PR template

* remove changelog from readme.txt

Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-08 19:03:51 -07:00
Tomek Wytrębowicz e48fabe964 Update issue templates (https://github.com/woocommerce/woocommerce-admin/pull/7088)
- Use headings in issues templates,
	instead of bold paragraphs.
	To match with PR template, to improve readability and accessibility.
- Add the "Actual behavior" section.
	The reviewer, would not have to get that from the description or test locally.
- Reorder sections,
	Screenshots (and actual behavior) describes what you have immediately after you perform "steps to reproduce", so therefore could be stated there. It's hard to make a screenshot of the "expected behavior", which is not happening.
- Move section descriptions to comments.
	This way the issuer could still keep them in place while filling the sections, answering those requests.
- Use ellipsis character instead of three dots.
	To make it more readable, by fully sighted and visually impaired readers https://tosbourn.com/the-importance-of-using-the-ellipsis-character not to read it as "dot dot dot"
2021-07-06 11:46:33 +02:00
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
renovate[bot] d822515b2f Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6959)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-11 14:01:24 +12: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
renovate[bot] 9052c25461 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6775)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 16:02:01 -03: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
renovate[bot] 5266784930 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6631)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-09 14:02:06 +10: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
Bec Scott 50304d683c Add/testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/6256)
* Add testing instructions

* test instructions for woocommerce/woocommerce-admin#5868

* test instructions for woocommerce/woocommerce-admin#6086

* testing instructions for woocommerce/woocommerce-admin#6094

* testing instructions for woocommerce/woocommerce-admin#5892

* testing instructions for woocommerce/woocommerce-admin#6122

* drop trailing line

* Add test instructions instruction to pull request template
2021-02-05 09:34:18 +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
Timmy Crawford 522c31b454 Add label-sync package and config. (https://github.com/woocommerce/woocommerce-admin/pull/5981) 2020-12-30 12:36:29 -08:00
Paul Sealock 8b0e058bfe Add changlog instructions (https://github.com/woocommerce/woocommerce-admin/pull/5769)
* Add changlog instructions

* handle packages
2020-12-02 15:18: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
Paul Sealock c207c545e6 Changelog: Use author's note, if supplied 2019-06-18 22:11:58 +12:00
Timmy Crawford 76ac6ec282 Add a prompt for Changelog entry in PR template. (https://github.com/woocommerce/woocommerce-admin/pull/2251) 2019-05-22 15:23:41 -07:00
Kelly Dwan 867b51a18e Add Accessibility section to the PR template (https://github.com/woocommerce/woocommerce-admin/pull/1133) 2018-12-19 17:33:02 -05:00
Kelly Dwan 3763ec5f16 Add the auto labeler config (https://github.com/woocommerce/woocommerce-admin/pull/1064) 2018-12-11 10:40:12 -06:00
Paul Sealock 4b64fd3a60 Add a note about using SwaggerHub in PR template 2018-11-14 12:06:50 +13:00
Jonathan Belcher 59a3db306e Remove unneeded leading whitespace (https://github.com/woocommerce/woocommerce-admin/pull/820)
This has made it difficult to quick create test instructions since I have to add a leading space before every step.
2018-11-12 16:50:03 -05:00