Visual-Regression-Tracker / agent-cypress

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

error adding commands from documentation #217

Closed victorxavieratlas closed 1 year ago

victorxavieratlas commented 1 year ago

I'm using the latest version of VRT Agent Cypress. After adding the command settings from the documentation, I get this error when running the tests.

Error

image

support/commands.js

image

pashidlos commented 1 year ago

@victorxavieratlas what cypress version are you using? could you reproduce the issue with code from examples? https://github.com/Visual-Regression-Tracker/examples-js/tree/master/agent-cypress

victorxavieratlas commented 1 year ago

@pashidlos cypress version 12.3.0 Between today and tomorrow I will have time to try to reproduce the error in the example code :)

pashidlos commented 1 year ago

@victorxavieratlas I'm using version 10, seems to be version compatibility changes need to migrate code to newest version

paazmaya commented 1 year ago

Migration work has started in #238

paazmaya commented 1 year ago

@victorxavieratlas please try with https://github.com/Visual-Regression-Tracker/agent-cypress/releases/tag/v5.7.0 which has upgraded to Cypress 12