Merge pull request #31103 from woocommerce/fix/30137
use consistent defaultViewport
This commit is contained in:
commit
a7b1ceaf6a
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue