Closed esetnik closed 1 year ago
We see the same issue, but we are using 1.26.2 CLI Version. @percy-bot can you check this guys, because we lost testing coverage, this error broke all our tests (api, e2e, integration, staging)
Thankyou for reporting, we'll look into it today.
Hi ! Waiting for the fix, do you know what are the latest versions of @percy/cli and @percy/cypress that are working well with each other ?
Thanks !
CLI version prior to v1.27.0
should work with percy-cypress
[ this error trace code reported is coming from v1.27.0
]
I do have this issue with: "@percy/cli": "1.10.4" & "@percy/cypress": "3.1.2" and I understood @newsuk-apnikolov also having the issue with "@percy/cli": "1.26.2".
Do we know 2 versions that works together ?
@sdedieu check you cypress version, we used 12.17.3. So once I updated the version to 12.17.4 (Cypress update the webpack version from 4-5 ) this resolved my issue. Also I tried with older versions of Cypress - 10+ and 11+ I face the same error.
Hi All, We have identified the issue, we are working on the fix for the same. It seems like that webpack 4 is not compatible with the syntax of static variables inside class
. The error trace code is from @percy/cli version
: v1.27.0, which was released recently.
Hi All, We have released a latest CLI Version with the fix. CLI Version v1.27.1
should not have any issues.
Release Details: https://github.com/percy/cli/releases/tag/v1.27.1
The problem
Environment
@percy/cli
version: v1.27.0