jotty-mcclure / cypress-attest Goto Github PK
View Code? Open in Web Editor NEWAn integration of Worldspace Attest for the Cypress testing tool
License: MIT License
An integration of Worldspace Attest for the Cypress testing tool
License: MIT License
Error: Cannot find module 'attest-reporter'
Require stack:
- D:\Other Stuff\GenesisLab\Repos\VSTSCypressRepo\CypressTestAutomationFramework\node_modules\cypress-attest\tasks.js
- D:\Other Stuff\GenesisLab\Repos\VSTSCypressRepo\CypressTestAutomationFramework\cypress\plugins\index.js
- C:\Users\c.jayasinghe\AppData\Local\Cypress\Cache\4.1.0\Cypress\resources\app\packages\server\lib\plugins\child\run_plugins.js
- C:\Users\c.jayasinghe\AppData\Local\Cypress\Cache\4.1.0\Cypress\resources\app\packages\server\lib\plugins\child\index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:717:15)
at Module._load (internal/modules/cjs/loader.js:622:27)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Module.require (internal/modules/cjs/loader.js:775:19)
at require (internal/modules/cjs/helpers.js:68:18)
at Object.<anonymous> (D:\Other Stuff\GenesisLab\Repos\VSTSCypressRepo\CypressTestAutomationFramework\node_modules\cypress-attest\tasks.js:2:24)
at Module._compile (internal/modules/cjs/loader.js:880:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:892:10)
at Module.load (internal/modules/cjs/loader.js:735:32)
at Module._load (internal/modules/cjs/loader.js:648:12)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Module.require (internal/modules/cjs/loader.js:775:19)
at require (internal/modules/cjs/helpers.js:68:18)
at Object.<anonymous> (D:\Other Stuff\GenesisLab\Repos\VSTSCypressRepo\CypressTestAutomationFramework\cypress\plugins\index.js:27:22)
Hey @joshuamcclure,
Our repository leverages workspaces, and running tests within our e2e workspace causes the following error with the current master version of cypress-attest
:
CypressError: cy.exec('node .///attest.js') failed because the command exited with a non-zero code.
Pass {failOnNonZeroExit: false} to ignore exit code failures.
Information about the failure:
Code: 1
Stderr:
internal/modules/cjs/loader.js:985
throw err;
^
Error: Cannot find module '/Users/travis.vanderhoop/dev/jupiter/cypress_e2e/account_app/attest.js'
at Function.Module._resolveFilename (inte...
We tracked the issue down to this line, and were able to get the test suite to blend by replacing node ./${__dirname}/attest.js
with node [ABSOLUTE_PATH_TO_ATTEST.JS]
, but that was just a hack to help us evaluate the enterprise tooling.
While we could execute the e2e tests from our project root rather than from the dedicated workspace (we have a large monorepo), this would be a change to our entire repository to accommodate this issue.
Getting this error while running cypress run.
` Error: Cannot find module '@deque/attest-reporter'
Require stack:
Please look into this and help me to get it resolved.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.