Feature request: screenshots
kmturley opened this issue · comments
Use-cases to support screenshots
1) Debugging visual issues
When testing a plugin, you need to test functionality and also visual, layout and accessibility. Being able to take screenshots during the testing process allow developers to check that the build on that platform (Linux, Mac, Windows) "looks" correct.
Currently pluginval can load a plugin in the GUI and perform automated actions/tests. When there is an issue a log is outputted. This is similar to other test automation frameworks such as Selenium or Jest. However other test frameworks commonly support screenshots to debug visual issues. Visual issues are important to fix and prevent.
2) Automate plugin preview images
Plugin sites require some plugin preview images to display to users before they download and install plugins. Currently screenshots are made manually by developers for every release.
If pluginval supported screenshots, developers could run pluginval in their CI pipeline to test and also auto-generate the preview image of that build for a release e.g.
- Linux-v2.1.0.png
- Mac-v2.1.0.png
- Windows-v2.1.0.png
Thank-you!