Comments (6)
This works for me:
cypress.json
"reporter": "cypress-multi-reporters",
"reporterOptions": {
"configFile": "reporter.json"
}
reporter.json
{
"reporterEnabled": "mochawesome, agent-js-cypress",
"mochawesomeReporterOptions": {
"reportDir": "cypress/artifacts/reports/",
"reportFilename": "value",
"reportTitle": "value ",
"overwrite": true,
"html": false,
"json": true
},
"agentJsCypressReporterOptions": {
"endpoint": "value/api/v2",
"token": "value",
"launch": "value",
"project": "value",
"description": "value",
"autoMerge": true
}
}
from agent-js-cypress.
It's works for me, try to remove the rp-reporter.js and use just:
"reporterEnabled": "agent-js-cypress, mochawesome",
from agent-js-cypress.
Thanks to you both. After following Paul's suggestion, I'm no longer getting errors in command line regarding the use of the reporters. My tests are still hanging with the launch never finishing, though (which was happening with just using agent-js-cypress too). I see other open issues that reference that problem. Has either of you gotten the launches to complete successfully without having to stop them manually?
from agent-js-cypress.
On slack I found a suggest to use the dependencies from master:
"agent-js-cypress": "https://github.com/reportportal/agent-js-cypress.git#master",
In some cases some specs didn't finish and I put to finish automatically on ReportPortal
from agent-js-cypress.
agent-js-cypress latest release - When I execute Git Pipeline, test case execution does not get uploaded inside report portal. If spec passes, then no issues, spec and tests gets uploaded successfully. But if any test from spec test failed, then execution result does not get uploaded to report portal. It gets stuck. If I do force finish, then also I can see that test cases does not get uploaded.
Locally everything works, but in Pipeline.
Any solution ... ?
from agent-js-cypress.
There is an issues #37 and #35 regarding not-finished lanches.
@diogogt , we will appreciate if you can describe in details cases when launches stuck in relevant issue (or create separate issue if it's needed). This could help us to reproduce a bug. Thank you!
I close this issue because the original problem was resolved.
from agent-js-cypress.
Related Issues (20)
- which Cypress Version is supported by this plugin? HOT 7
- Error thrown when spec finishes for new Cypress 10 HOT 5
- Complete set of results not getting pushed into Report Portal. HOT 3
- Test execution doesn't stop when automerge is enable HOT 3
- Lunches are not stopped HOT 5
- Error in auto merge using Cypress flag --config-file HOT 5
- Finish launches and merges HOT 23
- Request failed with status code 405 HOT 4
- [help]: Cypress reports uploading to Report portal does not have screenshots/videos on failure HOT 3
- cy.setStatusPassed(suite) usage throws error, we need to see the steps in the report portal HOT 7
- Is it possible to upload the successful screenshots & videos for test evidence to ReportPortal using cypress? HOT 3
- Is it possible to incorporate this plugin while executions done from cypress open? HOT 1
- Automatically merge launches custom script is not working HOT 10
- Auto merge: plugin is not installed. Use reporterOptions settings for calculation. Configuration property not set! Neither for cypress <= 9 nor cypress >= 10 HOT 5
- launchId is not working/recognized HOT 1
- Auto merge: plugin is not installed. Use reporterOptions settings for calculation. Configuration property not set! Neither for cypress <= 9 nor cypress >= 10 HOT 10
- Launches do not get merged on parallel execution even though autoMerge flag is set HOT 3
- The report-portal.js plugin procreates an enormous amount of processes during execution HOT 1
- Test run is broken when there is retry for test and parameter reportHooks set to true in reporter configuration HOT 2
- Video attachement won't play after downloading HOT 1
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 agent-js-cypress.