Merge pull request #31103 from woocommerce/fix/30137

use consistent defaultViewport
This commit is contained in:
Greg 2021-11-08 11:48:03 -07:00 committed by GitHub
commit a7b1ceaf6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,10 @@
- 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.
## Fixed
- Use consistent `defaultViewport` in both headless and non-headless context
# 0.2.3
## Added

View File

@ -8,6 +8,10 @@ if ( 'no' == global.process.env.node_config_dev ) {
launch: {
// Required for the logged out and logged in tests so they don't share app state/token.
browserContext: 'incognito',
defaultViewport: {
width: 1280,
height: 800,
},
},
};
} else {