From 7c04c5893c248c320a778bcf2a3f0394ae348859 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Tue, 18 Jan 2022 05:04:32 -0400 Subject: [PATCH] e2e package changelog cleanup --- packages/js/e2e-core-tests/CHANGELOG.md | 1 - packages/js/e2e-environment/CHANGELOG.md | 28 ++++++------------------ 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/packages/js/e2e-core-tests/CHANGELOG.md b/packages/js/e2e-core-tests/CHANGELOG.md index 8c730cde03c..e3c5f866a57 100644 --- a/packages/js/e2e-core-tests/CHANGELOG.md +++ b/packages/js/e2e-core-tests/CHANGELOG.md @@ -5,7 +5,6 @@ ## Added -- This package is now transpiled with Babel, which allows the usage of modern, yet compatible JS code. - A `specs/data` folder to store page element data. - Tests to verify that different top-level menu and their associated sub-menus load successfully. - Test scaffolding via `npx wc-e2e install @woocommerce/e2e-core-tests` diff --git a/packages/js/e2e-environment/CHANGELOG.md b/packages/js/e2e-environment/CHANGELOG.md index c95df593e68..6682dc86c1f 100644 --- a/packages/js/e2e-environment/CHANGELOG.md +++ b/packages/js/e2e-environment/CHANGELOG.md @@ -1,41 +1,27 @@ # Unreleased -## Fixed - -- Added the `resolveSingleE2EPath` method which builds a path to a specific E2E test - - It still supports the use of `plugins/woocommerce` and/or `tests/e2e` in file paths to avoid any breaking changes - -## Fixed - -- Added the ability to take screenshots from multiple test failures (when retried) in `utils/take-screenshot.js`. - ## Added - Added `post-results-to-github-pr.js` to post smoke test results to a GitHub PR. - Added jest flags to generate a json test report - Added more entries to `default.json` - -## Added - -- Added `await` for every call to `shopper.logout` -- Updated `getLatestReleaseZipUrl()` to allow passing in an authorization token and simplified arguments to just the repository name - Added `upload.ini` which increases the limits for uploading files (such as for plugins) in the Docker environment - Test setup, scaffolding, and removal via `wc-e2e install` and `wc-e2e uninstall` - -## Fixed - -- Updated the browserViewport in `jest.setup.js` to match the `defaultViewport` dimensions defined in `jest-puppeteer.config.js` - -## Added - - Added quotes around `WORDPRESS_TITLE` value in .env file to address issue with docker compose 2 "key cannot contain a space" error. - Added `LATEST_WP_VERSION_MINUS` that allows setting a number to subtract from the current WordPress version for the WordPress Docker image. - Support for PHP_VERSION, MARIADB_VERSION environment variables for built in container initialization - `resolveLocalE2ePath` to resolve path to local E2E file - `WC_E2E_FOLDER` for mapping plugin root to path within repo +- Added the `resolveSingleE2EPath` method which builds a path to a specific E2E test +- Added the ability to take screenshots from multiple test failures (when retried) in `utils/take-screenshot.js`. + +## Changed + +- Updated `getLatestReleaseZipUrl()` to allow passing in an authorization token and simplified arguments to just the repository name ## Fixed +- Updated the browserViewport in `jest.setup.js` to match the `defaultViewport` dimensions defined in `jest-puppeteer.config.js` - Use consistent `defaultViewport` in both headless and non-headless context # 0.2.3