SpecFlowOSS / SpecFlow

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
https://www.specflow.org/
Other
2.23k stars 752 forks source link

Living Doc preview table messed up when number of columns gets big, or large block of data added #2596

Open jcullen89 opened 2 years ago

jcullen89 commented 2 years ago

SpecFlow Version

latest

Which test runner are you using?

SpecFlow+ Runner

Test Runner Version Number

latest

.NET Implementation

.NET 5.0

Project Format of the SpecFlow project

Sdk-style project format

.feature.cs files are generated using

SpecFlow.Tools.MsBuild.Generation NuGet package

Test Execution Method

Visual Studio Test Explorer

SpecFlow Section in app.config or content of specflow.json

No response

Issue Description

Could we get a way to hide columns we don't need to see in a preview table within livingdoc to make it more readable, when there is large amounts of data provided for the test cases. or let the table expand and make it horizontally scrollable to avoid it looking like the below

image

Steps to Reproduce

image

Link to Repro Project

No response

SabotageAndi commented 2 years ago

do you really need all these columns in your example table?

jcullen89 commented 2 years ago

do you really need all these columns in your example table?

do you really need all these columns in your example table?

We are testing apis, so the input parameters are required which are provided by QA, we are going by QA testcases so for each testcase all values can be different in the example table. there is 20-30 test cases. so using the scenario outline is the best way for this rather then having 20-30 separate scenario's for each, so the scenario outline is causing that table preview to show. They can filter by the dropdown and view the information in the scenario that way which is fine, but the table preview looks bad, especially when QA and business people will be viewing this livingdoc. Im just wondering is there anything that can be done to improve the look of it or even hide it

mitchell-castillo commented 2 years ago

I am getting the same issue