Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Capture screenshot using viewport size instead of window size. #706

Merged
merged 3 commits into from
Sep 2, 2021

Conversation

benbcai
Copy link
Contributor

@benbcai benbcai commented Sep 1, 2021

Summary

The size of the viewports is currently set to the browser's window size. It should be set to the viewable screenshot size so that screenshot dimensions captured in IE is consistent.

Closes #705

Additional Details

This PR is to bring back the changes made on #673 which was intentionally removed in terra-functional-testing V2 because we opted to increase the large viewport size.

@cerner/terra

@benbcai benbcai self-assigned this Sep 1, 2021
@mjhenkes mjhenkes temporarily deployed to terra-toolki-viewport-s-izoiep September 1, 2021 22:45 Inactive
@mjhenkes mjhenkes temporarily deployed to terra-toolki-viewport-s-izoiep September 2, 2021 14:39 Inactive
@mjhenkes mjhenkes temporarily deployed to terra-toolki-viewport-s-izoiep September 2, 2021 18:27 Inactive
@benbcai benbcai merged commit 4d79a54 into main Sep 2, 2021
@benbcai benbcai deleted the viewport-size branch September 2, 2021 19:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[terra-functional-testing] Inconsistent IE screenshot dimension
5 participants