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

fix: Snapshot makes shot even when its failed on specific functionality #177

Merged
merged 7 commits into from
Apr 29, 2019

Conversation

lukasr22
Copy link
Contributor

AyeSpy have special functionality : removeElements, hideElements, waitForElement, onReadyScript, ... and when its selector cannot be found snapshot is not available. This fix pretend this step and even selector is not defined correctly or missing on page which still goes to make shot of page and compare with Baseline.

src/snapshotter.js Outdated Show resolved Hide resolved
L0wry
L0wry previously requested changes Mar 25, 2019
Copy link
Contributor

@L0wry L0wry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good, couple things to think about.

Im wondering as well if something does fail maybe we should append it to the report?

@L0wry
Copy link
Contributor

L0wry commented Mar 27, 2019

It would also be good to have an e2e test making sure that both the application exits when connection to grid fails + a wait fails but we still snap

@milesillsley milesillsley merged commit 34392dc into master Apr 29, 2019
@milesillsley milesillsley deleted the fix/SnapshoterFix branch April 29, 2019 11:56
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.

3 participants