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

[terra-functional-testing] VR Service - RTL Popup Element results in Incorrect Offsets #477

Closed
emilyrohrbough opened this issue Nov 13, 2020 · 1 comment

Comments

@emilyrohrbough
Copy link
Contributor

Summary of zinserjan/wdio-screenshot#94

Description

When taking a screenshot of a hookshot/pop-up element with dir='rtl', using a specific selector results in the following screenshot:
Screen Shot 2019-05-03 at 1 21 25 PM

However, fullscreen is correct:
Screen Shot 2019-05-03 at 1 21 30 PM

I think this is an issue with the wdio-screenshot's virtual scroll / element reposition for cropped screenshots. I've seen this behavior on IE popups recently as well.

Steps to Reproduce

  1. Run terra-hookshot's hookshot-spec.js test. Specifically this test
  2. Add the following assertions here
Terra.should.matchScreenshot('fullscreen', { selector: '#root' });
Terra.should.matchScreenshot('use_element', { selector: '#ContentOffset-bounds' });
  1. See difference in the hook shot content position in the screenshots.

Environment

  • Browser Name and Version: chrome 3.11-californium

Linked Issue: https://github.com/cerner/terra-toolkit/issues/278

@emilyrohrbough emilyrohrbough changed the title [terra-functional-testing] Add [terra-functional-testing] VR Service - RTL Popup Element results in Incorrect Offsets Nov 13, 2020
@ryanthemanuel ryanthemanuel added this to the Backlog milestone Nov 16, 2020
@stale
Copy link

stale bot commented Oct 4, 2021

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed in seven days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Oct 4, 2021
@stale stale bot closed this as completed Oct 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants