argos-ci / argos-cli

Argos command line interface.
https://www.argos-ci.com
MIT License
12 stars 4 forks source link

What generates the screenshots? #11

Closed fatso83 closed 5 years ago

fatso83 commented 7 years ago

I tried to get started with Argos CI and got as far as the /<org>/<proj>/getting-started which landed me here. It is impossible to understand what will create the screenshots. There is just talk of uploading through the cli.

Usually something like this would require a server to generate the components on a separate page, which would then be processed by PhantomCSS or similar, etc. But this is highly project dependent stuff, and not something you touch upon at all in the material presented to the user. Which is why I have the growing suspicion that you might be able to take some shortcuts by scoping this down to some subsegment, like only projects relying on React where you can render PureComponents somehow.

Really, I have no idea ... which is a bit of an adoption stopper :-)

oliviertassinari commented 7 years ago

What generates the screenshots?

Hey @fatso83, that's an excellent question! There are many many different ways to take those screenshots. We gonna start documenting them. I like how next.js is showing a large range of integration project. Basically, here is some of the projects we want to cover.

I have seen three categories of tools so far:

We don't know the best solution to this problem, we are experimenting different ones. What's setup do you have for running tests?

oliviertassinari commented 7 years ago

Here is the first integration example with wdio: https://github.com/argos-ci/argos/pull/300.

oliviertassinari commented 7 years ago

Here is a second integration example with vrtest: https://github.com/argos-ci/argos/pull/301

oliviertassinari commented 7 years ago

Again some new solutions:

oliviertassinari commented 7 years ago

Here is an example with happo: https://github.com/argos-ci/argos/pull/306. Things I want to cover next:

oliviertassinari commented 7 years ago

Again some new solutions:

oliviertassinari commented 7 years ago

Two new integrations:

oliviertassinari commented 7 years ago

Last integration I want to add before closing the issue:

oliviertassinari commented 7 years ago

New integration:

oliviertassinari commented 7 years ago

New integration: