The goal of this issue is to improve the command
development:sync-ui-test-screenshots so that it lets us synchronise screenshots of Plugins as well as core.
This will be very useful for our Green Builds Monday effort #6544 where after changing the OmniFixture we see many UI tests failing simply because of data changes.
Currently it only lets us sync the core screenshots. We would like to do something like:
./console development:sync-ui-test-screenshots --plugin WhiteLabel --user=username --password=password. the username and password are needed for Premium plugins where the artifacts are password protected. This command would automatically copy the screenhots from
http://builds-artifacts.piwik.org/protected/ui-tests.master.WhiteLabel/$build-number into the plugin directory
plugins/WhiteLabel/tests/UI/expected-ui-screenshots/ similarly to how it's done for core UI screenhots currently.