Giter Club home page Giter Club logo

Comments (4)

ma-jahn avatar ma-jahn commented on June 25, 2024 1

@leafarenuk Thank you for your feedback.

I'll doublecheck with a Testrail 7.1 instance and get back to you asap.
If i can't reproduce i'll make the suite_id configurable.

Cheers

from cypress-testrail-reporter.

ma-jahn avatar ma-jahn commented on June 25, 2024

Hi @leafarenuk

in the testrail docs i found the following

suite_id | int | The ID of the test suite for the test run (optional if the project is operating in single suite mode, required otherwise)

So i assume you are trying to use the cypress testrail reporter in a multi suite mode (if that's the correct name).
To get this working for you i'll have to allow a suite_id to be passed from outside.

Would the following work for you and your use case?

yarn cypress-testrail-reporter --name SOME_NAME --reportFilename PATH_TO_YOUR_REPORT --suiteId 123

Alternatively a suite ID could also be maintained in the cypress.json (as a fallback).

from cypress-testrail-reporter.

leafarenuk avatar leafarenuk commented on June 25, 2024

@ma-jahn thanks for your investigation and answer!

yes that should be fine.

I think it would be also good to set the suiteId in cypress.json. That would everyone who uses the "multi suite mode"

from cypress-testrail-reporter.

ma-jahn avatar ma-jahn commented on June 25, 2024

Hi @leafarenuk

the merge request was merged #3 and you should be able to install Version 1.2.6.

There are 2 ways of setting the suiteId.

  1. Within your testrailReporter section of your cypress.json
  2. As argument like yarn cypress-testrail-reporter --suiteId "123"

Please let me know if this works for you.
Cheers!

from cypress-testrail-reporter.

Related Issues (5)

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.