Skip to content

🐛 Fix additional snapshot options#393

Merged
wwilsman merged 1 commit intomasterfrom
ww/fix-additional-snapshot-options
Jun 25, 2021
Merged

🐛 Fix additional snapshot options#393
wwilsman merged 1 commit intomasterfrom
ww/fix-additional-snapshot-options

Conversation

@wwilsman
Copy link
Copy Markdown
Contributor

@wwilsman wwilsman commented Jun 24, 2021

What is this?

@chris-dura helped point out in #392 that additional snapshot options were being passed incorrectly to the page.snapshot() method.

The additional options (opts) should override parent options (conf). We also don't need to explicitly provide execute since it is included in opts and wasn't being extracted from the additional snapshot anyway.

@wwilsman wwilsman added the 🐛 bug Something isn't working label Jun 24, 2021
@wwilsman wwilsman requested a review from Robdel12 June 24, 2021 23:25
Copy link
Copy Markdown
Contributor

@Robdel12 Robdel12 left a comment

Choose a reason for hiding this comment

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

🏁 Ahhh, good stuff.

@wwilsman wwilsman merged commit 16c6d7a into master Jun 25, 2021
@wwilsman wwilsman deleted the ww/fix-additional-snapshot-options branch June 25, 2021 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants