-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adding sync params to screenshot call. #237
Conversation
prklm10
commented
Jan 23, 2024
- Adding sync params to screenshot call
- Timeout will be handled in CLI, will update the minimum version.
} = {}) { | ||
let response = null; | ||
let error; | ||
sync = sync || false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove default value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for app automate we can have default value right? Removing it and adding null.
@@ -100,7 +102,8 @@ module.exports = async function percyScreenshot(driver, name, options = {}) { | |||
scrollableXpath, | |||
topScrollviewOffset, | |||
bottomScrollviewOffset, | |||
scrollableId | |||
scrollableId, | |||
sync |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add return statement inside percyOnAutomate function as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
fix: changed response.data -> response.body.data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blind lgtm