GithubHelp home page GithubHelp logo

zealous-tech / testrail-reporter Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 0.0 15.97 MB

TestRail Reporter for all popular JavaScript (JS) and TypeScript (TS) based testing frameworks, enabling easy submission of test results to TestRail.

License: MIT License

TypeScript 1.75% JavaScript 98.25%
automation jest playwright qa reporter reporting testing testrail vitest

testrail-reporter's People

Contributors

dmanukyan avatar nersestamazyan5 avatar zealoustechadmin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

testrail-reporter's Issues

Failing reporting

`TestRail Reporter Log: The reporter started successfully!
TestRail Reporter Log: The Run started, utilizing an existing run in TestRail with the ID=2211.
D:\tests-ui\node_modules@zealteam\testrail-reporter\src\reporters\caller-playwright.js:147
const stepsDoMatch = testRailCaseSteps.length === resultSteps.length;
^

TypeError: Cannot read properties of undefined (reading 'length')
at CallerPlaywright.stepResultComment (D:\tests-ui\node_modules@zealteam\testrail-reporter\src\reporters\caller-playwright.js:147:48)
at CallerPlaywright.onTestEnd (D:\tests-ui\node_modules@zealteam\testrail-reporter\src\reporters\caller-playwright.js:91:18)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:540:9)
at processTimers (node:internal/timers:514:7)
at PlaywrightTestRailReporter.onTestEnd (D:\tests-ui\node_modules@zealteam\testrail-reporter\index.js:41:9)
`

Different config files for Reporter

name: "stage", use: { ...devices['Desktop Chrome'], viewport: {width: 375, height: 812}, }, testMatch: ["**/tests/stage/**/*.spec.js"], reporter: [['@zealteam/testrail-reporter', testRailConfigStage]], },

Im trying to run specific testrail config file for each stage. But during run testrail-reporter is not loaded at all:

`PS D:\tests-ui> npx playwright test --workers 5 --project "stage"

Running 1 test using 1 worker
1 passed (15.3s)
โฉ Slack reporter - no failures found

To open last HTML report run:

npx playwright show-report

`

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.