-
Notifications
You must be signed in to change notification settings - Fork 8
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
Derive screnshot path from details like viewport size, browser and/or a label #9
Comments
From what I can gather, these are your suggestions:
There were a few other similar cases that I have thought of previously: a. Save baselines for different screen sizes Personally, I would prefer your second suggestion too. There's probably a good reason needle deprecated the first suggestion in their project. |
@moellering I started a branch, I've implemented my suggestions a. , b. & c. and I am now moving to your second suggestion. Branch: https://github.com/jlane9/pytest-needle/tree/issue_9 |
Thank you for taking your time and thinking of ways to improve the scripts. And I like the possiblity of distinguishing between runs. However what you are currently implementing is backwards incompatible and will screw up ppl who have written scripts around their testsuite. Remarks: However all of the above (especially b) and c) ) can be done already. If you want to add this functionality, that's fine, but changing default behavior will break peoples testing setups. That would be a big Nope for me. Maybe you can change the defaults later on when you to do major version step, but I'd propose to communicate that very clearly and early on. To keep things a little more tidy I created a new regarding my initial proposal: #10 |
Thanks for the feedback @moellering I've went ahead and made this mode optional (you have to specify using, rather than it being the default). I could someday make each toggleable but for now is all on or off with flag For you remarks: a) viewport-size is already defaulted to 1024x768, so viewport-size is not necessary I'll leave the auto creating baselines to #10. |
Feature Suggestion
Originally this was a feature suggestion which is continued in issue #10 (The original content of this issue can be found there)
Now this issue covers proposals by @jlane9
a. Save baselines for different screen sizes
b. Save baselines for different browsers
c. Save incremental baselines for each successful run, compare against most recent baseline set (Sort of like your 2nd suggestion)
The text was updated successfully, but these errors were encountered: