Visual-Regression-Tracker / agent-cypress

Visual Regression Tracker integration plugin
Apache License 2.0
74 stars 9 forks source link

Update dependencies like its mid july 2023 #238

Closed paazmaya closed 1 year ago

paazmaya commented 1 year ago

How to test this fully?

pashidlos commented 1 year ago

I used to utilise example repos for testing new version e2e also upgrading it there

paazmaya commented 1 year ago
(uncaught exception)CypressError: Cypress detected that you returned a promise from a command while also invoking one or more cy commands in that promise.

The command that returned the promise was:

> cy.screenshot()

The cy command you invoked inside the promise was:

> cy.task()

Because Cypress commands are already promise-like, you don't need to wrap them or return your own promise.

Cypress will resolve your command with whatever the final Cypress command yields.

The reason this is an error instead of a warning is because Cypress internally queues commands serially whereas Promises execute as soon as they are invoked. Attempting to reconcile this would prevent Cypress from ever resolving.

This is the current status.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 5.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: