Commit Graph

54 Commits

Author SHA1 Message Date
Greg d03e99a9ed Remove unused WP test install 2021-08-23 16:23:34 -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 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
Ron Rennick ef67fe8d33 bump the fallback WP version to 5.8.0 2021-08-18 15:06:20 -03:00
Ron Rennick 6f179e65ee make test environment container messages more generic 2021-08-17 14:58:20 -03:00
Greg 2f0aa1a30f Added default timeout override 2021-08-12 16:05:55 -06:00
Ron Rennick b63a166dbb user customer user for order search 2021-04-26 14:44:44 -03:00
Ron Rennick b389cdb76e merge changelog with trunk 2021-03-09 10:39:15 -04:00
Ron Rennick 50e9ff2783 make screenshots optional 2021-03-08 16:56:47 -04:00
Ron Rennick 0e6d14b12d create screenshot on e2e test failure 2021-03-08 15:07:29 -04:00
Jonathan Sadowski e472c99a5c Fix E2E shorthand script to allow for directories with spaces 2021-03-08 11:38:41 -06:00
Marcus 3201a99995 fix: only use customInitFile in e2e if it's a string
in WSL2 the second argument is an instance of Command and can not be used with path.resolve
2021-02-23 20:12:51 +01:00
Ron Rennick bb4e654cce
Return jest error for Travis (#28929)
* Return jest error for Travis

* fix onboarding flow for WCA 1.9.0
2021-01-26 21:59:40 +01:00
Ron Rennick 10880ae6e1
add admin user E2E config support (#28656)
* add admin user config support

* use merchant.login() is jest setup

* remove customer config from builtin readme

* fix missed merge change

Co-authored-by: Leif Singer <git@singer.sh>
2021-01-19 16:02:08 +01:00
Ron Rennick b477cb8d3a
only activate WooCommerce in E2E initialization (#28588)
* only activate WooCommerce in E2E initialization
* use project basename for default plugin path
2021-01-13 12:27:11 +01:00
Ron Rennick a7014d5496 introduce wc-e2e shorthand script 2021-01-08 15:03:12 +01:00
Ron Rennick 0d2a5ac5e9 Fixes needed for variable product E2E test
- Jest/Puppeteer sometimes will not find an element on page load when that element is outside the initial viewport
- There were duplicate .variation_tab classes which confused Jest/Puppeteer
- Add function for opening and verifying new product page
- Update test sequence for changes in flow in markup and Jest/Puppeteer
2021-01-05 13:19:49 +01:00
Ron Rennick ef61903822 add 12 hour delay to pulling new docker tags 2020-12-14 10:42:39 -04:00
Ron Rennick 7ebfdbeb0e add support for custom container initialization script 2020-10-21 10:53:48 -03:00
Ron Rennick 5815e5cf48
Merge pull request #27914 from woocommerce/fix/e2e-container-check
Only attempt to run E2E tests if testing host is ready
2020-10-15 13:44:55 -03:00
Ron Rennick f0e6e1761c
Merge pull request #27913 from woocommerce/fix/27820
add test:e2e-debug command
2020-10-15 13:44:32 -03:00
Ron Rennick 62acca06e1 don't run tests if testing host not ready 2020-10-09 05:14:57 -03:00
Ron Rennick 7f57906959 add test:e2e-debug command 2020-10-09 05:00:03 -03:00
Ron Rennick 31001036c9
Merge branch 'master' into fix/25962 2020-10-08 15:30:25 -03:00
Ron Rennick 3a980a1241 merge current master 2020-10-07 03:17:38 -03:00
Ron Rennick 5139c73029 allow running named test files that don't match test spec pattern 2020-10-05 09:16:27 -03:00
Ron Rennick 4af90518da lock file maintenance 2020-10-01 14:21:40 -03:00
Ron Rennick bde41799af merge master 2020-09-23 17:20:43 -03:00
Ron Rennick be8ba23801 merge master 2020-09-11 15:32:10 -03:00
Ron Rennick cd80e67717 merge master 2020-09-11 14:35:27 -03:00
Christopher Allford 2e7f1056e0 Replaced the environment dependency version resolution to use the Docker HTTP API
Since it's possible that the latest git tag isn't a Docker page we should get the latest version directly from Docker instead. This commit adds support for the `/v2/repositories/library/<image>/tags` endpoint and figures out the latest version from the response.
2020-09-10 14:26:44 -07:00
Ron Rennick 1c07d5ec5a restore looking up tags from git, add npm install to travis e2e script 2020-09-10 14:54:35 -03:00
Christopher Allford 16cf8c81be Revised the default environment variables to pull the version from the latest docker image 2020-09-02 12:47:27 -07:00
Ron Rennick 7a14368982 add small tweaks/checks for edge cases 2020-08-21 13:25:30 -03:00
Ron Rennick c14ce54752 fix e2e docker:ssh command to work in any repo 2020-08-10 14:54:10 -03:00
Ron Rennick 09a594443d restore non-dev puppeteer config, move test config to sequencer 2020-07-29 18:57:59 -03:00
Ron Rennick 1e365733b4 add local puppeteer config support 2020-07-29 15:13:22 -03:00
Ron Rennick d9e9faaa44 use @automattic/puppeteer-utils 2020-07-28 16:29:19 -03:00
Ron Rennick aca91f587d update version script to work in both desktop and Travis, add fallback versions 2020-07-24 17:02:33 -03:00
Ron Rennick 06e3ae9939 fix software version checks in Travis 2020-07-24 10:57:16 -03:00
Ron Rennick eaafc88d33 add port configuration support 2020-07-24 10:12:07 -03:00
Ron Rennick 4cffb9b95c eliminate project root docker-compose.yaml 2020-07-23 15:38:40 -03:00
Ron Rennick 28b537662a add PHP, MariaDB, WP env var version support 2020-07-23 14:30:24 -03:00
Ron Rennick dea4144be2 docker compose command line arg parsing for local and module 2020-05-08 16:26:30 -03:00
Ron Rennick 0e2e91371a update for review items 2020-05-06 13:29:13 -03:00
Ron Rennick 97a6110ae4 combine puppeteer config files 2020-05-04 16:16:21 -03:00
Ron Rennick 71fb49dc06 restore latest default.json from master 2020-05-01 13:28:59 -03:00
Ron Rennick 78e777f25f restore travis e2e setup script 2020-05-01 10:18:21 -03:00
Ron Rennick 6726f6423d merge travis config files 2020-04-30 19:58:37 -03:00