Skip to content

Update codecept.conf.js #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

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