happo / happo-cypress

A Happo integration with Cypress.io
35 stars 4 forks source link

Allow logs to be hidden #112

Closed trotzig closed 6 months ago

trotzig commented 6 months ago

To help clean up the Cypress command log, we can allow people to pass in log: false when calling Happo commands.

I've cleaned up some options usage so that we consume the known options to us and then pass along all others to cy.task. This will allow people to also use timeout and potential future options as well. https://docs.cypress.io/api/commands/task#Arguments

Fixes https://github.com/happo/happo-cypress/issues/111