inluxc / playwright-xray

XRAY reporter for Playwright
MIT License
24 stars 10 forks source link

Skipped test status causes error when sending results to JIRA #52

Closed qasamppa closed 7 months ago

qasamppa commented 1 year ago

Describe the bug Skipped test status causes error.

To Reproduce Steps to reproduce the behavior:

  1. Set one test with e.g. test.fixme flag
  2. Execute tests

Expected behavior Skipped tests could be set as status TODO or custom status in JIRA.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Niklas-Back commented 8 months ago

This shouldn't be too much work to implement I think. I will look at it for the next release

NiklasBack commented 7 months ago

I tried to set the status to fixme in our Jira/Xray but it registered the status as TODO. According to the Xray documentation the default statues are PASSED, FAILED, EXECUTING and TODO so I'll contact Xray regarding this.

NiklasBack commented 7 months ago

According to Xray, tests marked as skipped are automatically converted to TODO. Meaning that playwright tests marked as fixme or skipped will be reported as to do in Xray

inluxc commented 7 months ago

That sucks :(