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

New Feature: Fixed capture.canvas issue as seen in #822 #829

Merged
merged 3 commits into from Sep 2, 2021

Conversation

Thomas-Boi
Copy link
Member

@Thomas-Boi Thomas-Boi commented Aug 29, 2021

New feature section

Double check these details before you open a PR

  • PR does not match another non-stale PR currently opened
  • PR name matches the format New Feature: a brief description of feature

This PR adds/fixes

Fixes an issue where peek-bot can't take a screenshot as seen in #822. This turns out to be caused by elements not being visible when the screenshot function is called (see this).

The script now gets the screenshot elements in a different way and check that they are visible before screenshotting them.

Notes

This closes #828

@Thomas-Boi Thomas-Boi force-pushed the thomas/bugFix/peekScriptBugFix branch from 19a7120 to 3b5aa34 Compare August 29, 2021 05:59
@Thomas-Boi
Copy link
Member Author

@Panquesito7 after we merged this fix, we can re-run it on your windows11 PR.

Just fyi: I tested the script and it ran properly. It spotted that your original-wordmark version contains strokes in the SVG => You should convert them to path elements

@Thomas-Boi Thomas-Boi mentioned this pull request Aug 29, 2021
2 tasks
@Panquesito7 Panquesito7 added the devops Use this label for devops related enhancements label Aug 29, 2021
@Thomas-Boi Thomas-Boi force-pushed the thomas/bugFix/peekScriptBugFix branch from 3b5aa34 to 65cc891 Compare August 30, 2021 17:08
@Thomas-Boi Thomas-Boi force-pushed the thomas/bugFix/peekScriptBugFix branch from 65cc891 to c1bd4a6 Compare August 30, 2021 17:09
@Thomas-Boi
Copy link
Member Author

The force push is because I forgot to clean up after I finished testing my code

@Thomas-Boi Thomas-Boi merged commit b6adba3 into develop Sep 2, 2021
@Panquesito7 Panquesito7 deleted the thomas/bugFix/peekScriptBugFix branch September 2, 2021 01:07
This was referenced Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Use this label for devops related enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants