Closed ecoPortalMarkR closed 2 years ago
@ecoPortalMarkR I had had the same problem and I have tried everything.
My solution to this problem strange, but its works:
reporter.js
with compiled qase-cypress-reporter/src/index.tsqase-cypress-reporter
on %project_dir%/reporter.js in cypress.json/reporterThanks, @sasha-t, that worked like a charm.
Cypress is running from the 'spec' folder in a Ruby on Rails project. Running
QASE_REPORTER=1 npx cypress run --browser chrome --headless
causes the following error and stack trace.The problem seems to be with the
deasync
node module. It builds in thebuild
folder but then renames itbin
; cypress-qase-reporter looks for a binding file in thebuild
folder which has been renamed tobin
which contains manydeasync.node
files.