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

Package creating multiple test runs when using cucumber #370

Open
liamharries opened this issue Aug 6, 2024 · 1 comment
Open

Package creating multiple test runs when using cucumber #370

liamharries opened this issue Aug 6, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@liamharries
Copy link

liamharries commented Aug 6, 2024

I have the oneReport setting set to true however this still results in one test run created per feature file.

Am I misconfigured or is this a bug?

import { config as sharedConfig } from './wdio.conf.ts';

export const config: WebdriverIO.Config = {
    ...sharedConfig,     
    capabilities: [
        {
          browserName: "chrome",
          'goog:chromeOptions': {
            args: ['headless', 'disable-gpu']
        }
        },
      ],
      reporters:[
        "spec",
        // "json", // uncomment to place json in the console output for entire run
        "cucumberjs-json",
        [
          'testrail',
          {
            projectId: 36,
            suiteId: 1, // invalid suite generates a run
            domain: 'company.testrail.io',
            username: '[email protected]',
            apiToken: 'TOKEN', 
            runName: `foo-web-qa ${new Date()}`,
            oneReport: true,
            includeAll: true,
            useCucumber: true,
            caseIdTagPrefix: 'C', // used only for multi-platform Cucumber Scenarios
          },
        ],
      ]
}
@christian-bromann christian-bromann added bug Something isn't working help wanted Extra attention is needed labels Sep 21, 2024
@christian-bromann
Copy link
Contributor

Thanks for reporting, any contributions would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants