testomatio / check-cucumber

Cucumber checker for Testomat.io
8 stars 3 forks source link

Cypress retries tag is not well displayed #58

Open vlevelly35 opened 1 year ago

vlevelly35 commented 1 year ago

Describe the bug We use Cypress with Gherkin syntax for our automated scenarios but the Cypress flag "@retries(runMode=2)" that can be used to retry failed tests to help reduce test flakiness is not well interpreted in Testomat when we use the synchonisation feature : the tag is not well formed, and it also seems not to be compatible with creating with your feature "ids Auto-assign Test IDs in Source Code" (cf https://docs.testomat.io/reference/import/)

To Reproduce

  1. On a Cypress cucumber/gherkin test, add the tag "@retries(runMode=2)"
  2. Synchronise the Testomat project
  3. See how appears the test & its flags

Expected behavior the tag should be entire : "retries(runMode=2)" and the text "=2" should not appear in the title of the test

Screenshots 2023-07-25_15h47_04 2023-07-25_15h33_17 2023-07-25_15h34_39

Desktop (please complete the following information):

Additional context we use the plugin https://github.com/badeball/cypress-cucumber-preprocessor

Thanks

olexandr13 commented 8 months ago

tags, sent by check-cucumber to testomatio service

Image

thus, problem is on BE side

@DavertMik

reproduced with simple cucumber project too, no need to setup cypress with gherkin

vlevelly35 commented 3 months ago

some news about this issue please ?