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

qase-playwright v2: Test run title not generated by default #544

Open
NickVolynkin opened this issue Apr 8, 2024 · 1 comment
Open

qase-playwright v2: Test run title not generated by default #544

NickVolynkin opened this issue Apr 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@NickVolynkin
Copy link
Contributor

Test run title should be generated from current timestamp, if it's not specified in the config, CLI or ENV.

$ npx playwright test
...
Running 2 tests using 1 worker
...
  2 passed (4.3s)
qase: Unable to publish the run results to the upstream reporter:
  Caused by:
    Message: Data is invalid.
      title: The title field is required.
      
    Error: Request failed with status code 400
        at createError (./node_modules/axios/lib/core/createError.js:16:15)
        at settle (./node_modules/axios/lib/core/settle.js:17:12)
        at IncomingMessage.handleStreamEnd (./node_modules/axios/lib/adapters/http.js:269:11)
        at IncomingMessage.emit (node:events:531:35)
        at endReadableNT (node:internal/streams/readable:1696:12)
        at processTicksAndRejections (node:internal/process/task_queues:82:21)
  Error: Cannot create run
      at TestOpsReporter.createRun (./node_modules/qase-javascript-commons/dist/reporters/testops-reporter.js:180:19)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at TestOpsReporter.publish (./node_modules/qase-javascript-commons/dist/reporters/testops-reporter.js:47:32)
      at QaseReporter.publish (./node_modules/qase-javascript-commons/dist/qase.js:171:17)
      at PlaywrightQaseReporter.onEnd (./node_modules/playwright-qase-reporter/dist/reporter.js:208:9)
      at ReporterV2Wrapper.onEnd (./node_modules/playwright/lib/reporters/reporterV2.js:91:12)
      at wrapAsync (./node_modules/playwright/lib/reporters/multiplexer.js:79:12)
      at Multiplexer.onEnd (./node_modules/playwright/lib/reporters/multiplexer.js:51:25)
      at InternalReporter.onEnd (./node_modules/playwright/lib/reporters/internalReporter.js:69:12)
      at Runner.runAllTests (./node_modules/playwright/lib/runner/runner.js:84:28)
      at runTests (./node_modules/playwright/lib/program.js:180:93)
      at t.<anonymous> (./node_modules/playwright/lib/program.js:53:7)
@NickVolynkin NickVolynkin added the bug Something isn't working label Apr 8, 2024
@NickVolynkin NickVolynkin changed the title Test run title not generated by default playwright v2: Test run title not generated by default Apr 8, 2024
@NickVolynkin NickVolynkin changed the title playwright v2: Test run title not generated by default qase-playwright v2: Test run title not generated by default Apr 8, 2024
Copy link

stale bot commented Jul 8, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jul 8, 2024
@stale stale bot closed this as completed Jul 16, 2024
@NickVolynkin NickVolynkin reopened this Jul 16, 2024
@stale stale bot removed the wontfix This will not be worked on label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant