Skip to content
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

Revert screenshot paddding work around #1038

Merged
merged 4 commits into from
Jul 5, 2021

Conversation

samtygier-stfc
Copy link
Collaborator

@samtygier-stfc samtygier-stfc commented Jul 5, 2021

Padding screenshots so that a fixed image size is sent to applitools
should no longer be needed.

Issue

Reverts change in #1004

Description

Remove padding

Also use a seed when generating a 'random' image, so that ignore regions are no longer needed.

Testing & Acceptance Criteria

Actions tests should pass.

Documentation

Not needed

Padding screenshots so that a fixed image size is sent to applitools
should no longer be needed.
Use the helper function instead of calling np.rand directly
For GUI tests we need determinist random output.
Get a deteministic random image
@samtygier-stfc samtygier-stfc force-pushed the revert_screenshot_padding branch from 3d295fd to 492ab84 Compare July 5, 2021 10:49
@samtygier-stfc
Copy link
Collaborator Author

If I make a deliberate change to a window size, it gets picked up now:

image

@samtygier-stfc samtygier-stfc force-pushed the revert_screenshot_padding branch from 1daed7d to 492ab84 Compare July 5, 2021 12:35
@samtygier-stfc samtygier-stfc marked this pull request as ready for review July 5, 2021 12:49
@samtygier-stfc samtygier-stfc added this to the Sprint 2021-07-02 milestone Jul 5, 2021
@DolicaAkelloEgwel DolicaAkelloEgwel merged commit 2ae2d17 into master Jul 5, 2021
@DolicaAkelloEgwel DolicaAkelloEgwel deleted the revert_screenshot_padding branch July 5, 2021 13:46
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