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

Adding sync params to screenshot call. #237

Merged
merged 5 commits into from
Jan 31, 2024
Merged

Conversation

prklm10
Copy link
Contributor

@prklm10 prklm10 commented Jan 23, 2024

  • Adding sync params to screenshot call
  • Timeout will be handled in CLI, will update the minimum version.

@prklm10 prklm10 requested a review from a team as a code owner January 23, 2024 09:24
} = {}) {
let response = null;
let error;
sync = sync || false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove default value

Copy link
Contributor Author

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
Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@ninadbstack ninadbstack left a comment

Choose a reason for hiding this comment

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

Blind lgtm

@this-is-shivamsingh this-is-shivamsingh merged commit f538724 into master Jan 31, 2024
5 checks passed
@prklm10 prklm10 deleted the PER-2862 branch June 24, 2024 10:04
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.

6 participants