envoyproxy / playground

Playing nice with the neighbours
Apache License 2.0
8 stars 4 forks source link

Add "snapshot" integration testing #271

Closed phlax closed 3 years ago

phlax commented 3 years ago

as the integration tests will generate the screenshots for the docs, but not actually commit them to git, it would be good to test that none have changed - and force the committer to run make screenshots and commit any changes if they are happy with them.

phlax commented 3 years ago

the main complexity with this is that the positioning of the icons is random

it might be possible to use selenium to move the icons, but that would be pretty complex

the other option is manipulating them in js - but im not sure off hand how to talk to react/redux from the outside