Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request about documentation #178

Open
RocioCruzS opened this issue Jun 20, 2023 · 1 comment
Open

Request about documentation #178

RocioCruzS opened this issue Jun 20, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@RocioCruzS
Copy link

Hi, I am integrating this package, my framework is in Webdriverio and Cucumber, I use the configuration in the README in first instance, but I realize that never include in the run the test cases. Then I see your code and detected your README is out of date, because for correct execution with the includeAll: true we need to include the interface useCucumber: true.
With both parameter in true execute the run and report correctly. But if we use includeAll: false always create the build in testRail platform without test cases. Do you think you can help me with the correct configuration, or update the documentation?

reporters: ['spec',
            ['testrail', {
                projectId: 1,
                suiteId: 1,
                domain: 'xxxxx.testrail.io',
                username: process.env.TESTRAIL_USERNAME,
                apiToken: process.env.TESTRAIL_API_TOKEN,
                runName: 'name for the test run',
                oneReport: true,
                includeAll: false,
                useCucumber: true,
               caseIdTagPrefix: 'C' // used only for multi-platform Cucumber Scenarios
            }
        ]

    ], 

imagen
imagen

imagen

Best regards and I look forward to your response.

@therealbrad
Copy link
Collaborator

@RocioCruzS includeAll is a flag in TestRail test runs. When set to true, the run will include all test cases in the suite, then results are added to each test as they are executed. When set to false, no test cases will be included and only added when there is a result.

If you have includeAll: false and you never see test cases in the run it means results are not being added to the test run.

@christian-bromann christian-bromann added the help wanted Extra attention is needed label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants