Cucumber data table not displayed in the Allure report
youvegotnigel opened this issue · comments
Describe the bug
Given when I execute a scenario as below:
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.
To Reproduce
Steps to reproduce the behavior:
- Clone this repo https://github.com/youvegotnigel/cypress-cucumber-allure-demo
- Execute below commands
npm i
npm run cy:run
npm run allure:report
- Open the index.html file in allure-repot folder via Live Sever.
Expected behavior
Cucumber table should be displayed like this
Environment (please complete the following information):
- Node version: 16.15.0
- Cypress version: 10.7
- OS: Windows 10
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^12.1.0",
"@bahmutov/cypress-esbuild-preprocessor": "^2.1.3",
"cypress": "^10.7.0",
"esbuild": "^0.14.48",
"multiple-cucumber-html-reporter": "^2.0.0",
"@shelex/cypress-allure-plugin": "^2.31.0",
"cypress-xpath": "^2.0.1",
"moment": "^2.29.4",
"moment-timezone": "^0.5.37"
}
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:
Is it possible to add this functionality to this plugin as well?
+1
+1
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.