Comments (1)
Same here, getting:
An error was thrown in your plugins file while executing the handler for the after:run event.
The error we received was:
Error: Pattern /Users/bojandimitrovski/Projects/top/top-web/scripts/tests/cypress/cypress/reports/html/.jsons/*.json matched no report files
at /Users/bojandimitrovski/Projects/top/top-web/scripts/tests/cypress/node_modules/mochawesome-merge/lib/index.js:14:11
at Array.map (<anonymous>)
at /Users/bojandimitrovski/Projects/top/top-web/scripts/tests/cypress/node_modules/mochawesome-merge/lib/utils.js:3:46
at merge (/Users/bojandimitrovski/Projects/top/top-web/scripts/tests/cypress/node_modules/mochawesome-merge/lib/index.js:82:17)
at mergeAndCreate (/Users/bojandimitrovski/Projects/top/top-web/scripts/tests/cypress/node_modules/cypress-mochawesome-reporter/lib/generateReport.js:12:24)
at generateReport (/Users/bojandimitrovski/Projects/top/top-web/scripts/tests/cypress/node_modules/cypress-mochawesome-reporter/lib/generateReport.js:56:20)
at afterRunHook (/Users/bojandimitrovski/Projects/top/top-web/scripts/tests/cypress/node_modules/cypress-mochawesome-reporter/lib/index.js:35:9)
at Object.handler (/Users/bojandimitrovski/Projects/top/top-web/scripts/tests/cypress/node_modules/cypress-mochawesome-reporter/plugin.js:9:11)
at invoke (/Users/bojandimitrovski/Library/Caches/Cypress/12.9.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_plugins.js:183:18)
at /Users/bojandimitrovski/Library/Caches/Cypress/12.9.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:59:14
at tryCatcher (/Users/bojandimitrovski/Library/Caches/Cypress/12.9.0/Cypress.app/Contents/Resources/app/node_modules/bluebird/js/release/util.js:16:23)
at Function.Promise.attempt.Promise.try (/Users/bojandimitrovski/Library/Caches/Cypress/12.9.0/Cypress.app/Contents/Resources/app/node_modules/bluebird/js/release/method.js:39:29)
at Object.wrapChildPromise (/Users/bojandimitrovski/Library/Caches/Cypress/12.9.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:58:23)
at RunPlugins.execute (/Users/bojandimitrovski/Library/Caches/Cypress/12.9.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_plugins.js:164:21)
at EventEmitter.<anonymous> (/Users/bojandimitrovski/Library/Caches/Cypress/12.9.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_plugins.js:56:12)
at EventEmitter.emit (node:events:527:28)
at EventEmitter.emit (node:domain:475:12)
at process.<anonymous> (/Users/bojandimitrovski/Library/Caches/Cypress/12.9.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:33:22)
at process.emit (node:events:527:28)
at process.emit (node:domain:475:12)
at process.emit.sharedData.processEmitHook.installedValue [as emit] (/Users/bojandimitrovski/Library/Caches/Cypress/12.9.0/Cypress.app/Contents/Resources/app/node_modules/@cspotcode/source-map-support/source-map-support.js:745:40)
at emit (node:internal/child_process:938:14)
at processTicksAndRejections (node:internal/process/task_queues:84:21)
whenever I want to run test in parallel, configured my script in package.json
like:
"tests:parallel": "cypress-parallel -s test -m false -t 2 -d 'cypress/e2e/*.spec.ts'"
from cypress-parallel.
Related Issues (20)
- Found 'path here' instead of resultsPath in cli HOT 2
- "-a" option: removing the escaped quotes HOT 4
- Spec files are not being split in different threads HOT 5
- Cannot exclude tests with Cypress command arguments (-a)
- Ability to list multiple directories to run HOT 1
- Error at installing because the [email protected] doesn't exists HOT 1
- Support yargs "stop parsing" instead of args flag
- How do I pass environment variable as arguments in command line HOT 4
- Is colors.js still an issue for this repo for anyone else? HOT 2
- There is not enough documentation on how to generate and combine reports with multireporters HOT 1
- TypeError: glob is not a function HOT 1
- Update `mocha` to v10.1.0
- Can we pass unique arguments to each thread? HOT 1
- Retries do not work when using cypress-paralllel HOT 2
- When we have cy-grep implemented to select specific tests, running it via cypress-parallel leads to failure while building report (causing buildkite build to fail)
- Unable to see complete spec name in result table HOT 1
- need to run specific test specs on respective thread. HOT 5
- Is it possible to only regenerate parallel-weights.json when the weights have changed?
- Issue: on successful run of one thread execution jenkins stops complete execution for cypress-parallel. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-parallel.