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

create script to automatically generate screenshots for plugins that will be displayed on plugins.piwik.org #6305

Closed
diosmosis opened this issue Sep 26, 2014 · 1 comment
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@diosmosis
Copy link
Member

The tool would execute during travis builds (once per entire build) and use special fixtures that provide meaningful data for screenshots. Plugins would provide the special fixtures and instructions on what elements to take screenshots of, what to do before taking the screenshots, etc.

The tool could use the existing screenshot testing code, but that code is more for testing than it is for browser automation. It may be better to use casperjs.

Whatever code a plugin needs to provide to make use of this tool should be minimal.

@diosmosis diosmosis added c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels Sep 26, 2014
@diosmosis diosmosis changed the title create screenshot generating script for automatic screenshot generation for plugins create script to automatically generate screenshots for plugins that will be displayed on plugins.piwik.org Sep 26, 2014
@mattab
Copy link
Member

mattab commented Sep 26, 2014

There are a few uses to generating these screenshots automatically:

  • screenshots are used to test against regression - see UI Tests
  • screenshots are used for the marketplace listing page - example of Custom Alerts plugin
  • screenshots could even be used in the User Guides and developer documentation.. so that screenshots in the documentations are always automatically up to date! 👍

@mattab mattab added this to the Mid term milestone Sep 26, 2014
@mattab mattab modified the milestones: Mid term, Long term Oct 11, 2014
@mattab mattab added the c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. label Oct 12, 2014
@mattab mattab closed this as completed Nov 25, 2015
@mattab mattab added the wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. label Nov 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants