Shelex / cypress-allure-plugin

cypress plugin to use allure reporter api in tests
https://shelex.github.io/cypress-allure-plugin-example/
Apache License 2.0
156 stars 43 forks source link

Cucumber data table not displayed in the Allure report #162

Open youvegotnigel opened 1 year ago

youvegotnigel commented 1 year ago

Describe the bug Given when I execute a scenario as below:

image

Since I have used a cucumber data table in the step;

    When A user provides incorrect credentials
        | username | password |
        | <un>     | <pw>     |

This should be visible in the allure report as well.

But the cucumber data table is not displayed.

image

To Reproduce Steps to reproduce the behavior:

  1. Clone this repo https://github.com/youvegotnigel/cypress-cucumber-allure-demo
  2. Execute below commands
    npm i
    npm run cy:run
    npm run allure:report
  3. Open the index.html file in allure-repot folder via Live Sever.

Expected behavior Cucumber table should be displayed like this image

Environment (please complete the following information):

Additional context Add any other context about the problem here. I have previously used allure reports with cucumber-java, and have observed that data tables can be displayed in allure as below:

Test Scenario:

image

Allure Report: image

Is it possible to add this functionality to this plugin as well?

przedab commented 1 year ago

+1

ameduza commented 1 year ago

+1

casalribeiro commented 1 year ago

+1 currently I see my datatables like this:

image
thuongdv commented 1 year ago

+1 currently I see my datatables like this: image

Hi,

I am running into the same issue.

This is my dependencies:

"devDependencies": {
    "@badeball/cypress-cucumber-preprocessor": "17.2.1",
    "@cypress/browserify-preprocessor": "3.0.2",
    "@cypress/skip-test": "2.6.1",
    "@faker-js/faker": "7.5.0",
    "@shelex/cypress-allure-plugin": "2.40.0",
    "@types/chai-subset": "1.3.3",
    "@types/luxon": "2.3.2",
    "@types/node": "^12.20.37",
    "allure-commandline": "2.17.2",
...

If the table shows correct format, it would be very helpful for us to replicate an issue if the test failed.