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

[terra-functional-testing] Set test page to the viewport size instead of the browser's window size #673

Merged
merged 3 commits into from
Jun 17, 2021

Conversation

benbcai
Copy link
Contributor

@benbcai benbcai commented Jun 17, 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 (AKA viewport size).

Additional Details

Fixes #671

See issue for more details of this change.

Validation PRs:

@cerner/terra

@benbcai benbcai self-assigned this Jun 17, 2021
@mjhenkes mjhenkes temporarily deployed to terra-toolki-viewport-s-mkfisg June 17, 2021 21:16 Inactive
@benbcai benbcai merged commit 4ada1f5 into main Jun 17, 2021
@benbcai benbcai deleted the viewport-size branch June 17, 2021 21:55
jmsv6d pushed a commit that referenced this pull request Jun 22, 2021
… instead of the browser's window size (#673)"

This reverts commit 4ada1f5.
mjhenkes added a commit that referenced this pull request Jul 16, 2021
* Upgrade wdio 7

* Update all wdio dependencies

* update constructor

* writeStream

* work around

* upgrade guide

* Update packages/terra-toolkit-docs/src/terra-dev-site/tool/terra-functional-testing/upgrade-guides.5/version-2-upgrade-guide.2.tool.md

Co-authored-by: Ben Cai <[email protected]>

* Fix merged jest tests. Code review comments

* node version

* Revert "[terra-functional-testing]  Set test page to the viewport size instead of the browser's window size (#673)"

This reverts commit 4ada1f5.

* Update large test viewport

* More doc updates

* Update packages/terra-functional-testing/src/services/wdio-visual-regression-service/modules/getTerraFormFactor.js

Co-authored-by: Matt Henkes <[email protected]>

* Update CHANGELOG.md

changelog oops

* lint

* Fix test

Co-authored-by: Ben Cai <[email protected]>
Co-authored-by: Matt Henkes <[email protected]>
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] IE browser viewport is slightly smaller then defined viewport
4 participants