Code Monkey home page Code Monkey logo

Comments (6)

paulmwhite avatar paulmwhite commented on September 27, 2024 1

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.

diogogt avatar diogogt commented on September 27, 2024 1

It's works for me, try to remove the rp-reporter.js and use just:
"reporterEnabled": "agent-js-cypress, mochawesome",

from agent-js-cypress.

mleonard0826 avatar mleonard0826 commented on September 27, 2024

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.

diogogt avatar diogogt commented on September 27, 2024

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.

vishallanke avatar vishallanke commented on September 27, 2024

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.

ElenaRomanchuk avatar ElenaRomanchuk commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.