Skip to content

Conversation

mattonem
Copy link

@mattonem mattonem commented Sep 1, 2021

With default screen size the "Sign in" might not be displayed on Github.com

With default screen size the "Sign in" might not be displayed on Github.com
@@ -20,6 +20,7 @@ exports.config = {
output: './output',
helpers: {
Puppeteer: {
windowSize: '1920x1080',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the screen resolution is smaller than part of the window will go out of the screen.
Lets try the viewport: null option which maximises the browser window according to the screen resolution

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the default viewport setting but I cannot really tell if it make any difference on BS side... Any idea how to test it?

Adding `defaultViewport: null` as you suggested.
Following recommendation from that issue:
codeceptjs/CodeceptJS#1209
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants