Comments (4)
@cwolf24 maybe the key is called differently in the agent.
This is what ReportPortal awaits https://github.com/reportportal/client-javascript#startlaunch
Maybe you will be able to find how agent-js-cypress renames this key in the source code of the agent.
from agent-js-cypress.
Hello @cwolf24 !
You can just add an attributes
field to reporter options.
https://github.com/reportportal/examples-js/blob/master/example-cypress/cypress.json#L21
I'll update the readme file to mention this field.
from agent-js-cypress.
@AmsterGet Thanks, with attributes
it works now. 👍
from agent-js-cypress.
Hi,
When calling tests, I want to set special attributes that have a key and a value, and not just a value. I've tried different forms of notation, but at best only the value is passed. I need this to use filters by attribute values. I studied all the documentation, but I still couldn’t pass an array with attributes to the reportport. Please tell me the correct form.
If you pass attributes like this, they work, but I just need the key and value.
--reporter-options description=Shema,attributes=[attr1,attr2,arrt3]
I've tried many options, some give an error, some just don't transfer.
--reporter-options description=Shema,attributes=["key12:SLID"]
--reporter-options description=Shema,attributes=[{"key12:SLID"}]
--reporter-options description=Shema,attributes=[{"key12":"SLID"}]
what is the correct option?
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.