serenity-bdd / serenity-cucumber

Cucumber integration for the Serenity BDD Reporting library
Other
78 stars 74 forks source link

How to shrink the Example datatable in serenity report #260

Open amamgaq5 opened 3 years ago

amamgaq5 commented 3 years ago

We run aggregator and generate Index.html. We use Example datable to pass data to request but with increasing columns this table is big. Is there any way we can shrink this data table. Also if there a way we can enable vertical scrolling on table.

wakaleo commented 3 years ago

Do you have an example of one of these scenarios and the corresponding report?

amamgaq5 commented 3 years ago

Here is an example

Examples: | ACCT_KEY | orderStatus | orderStatusDsc | Account_Income | docResponseData | PARTY_ID | TRANF_ACCT_SEQ_NBR | FCMSCaseStatus | externalStatusCode | FCMSCaseStatusChangeUserId | IncomeLogic | CaseStatus | ExternalStatus | letterId | memo | queueName | account_number | addressLine1 | addressLine2 | city | state | zipCode | primaryName | emailAddress |

And below is Screen Shot of table image

Unfortunately Can share much because of my organization policy.

wakaleo commented 3 years ago

Are you sure all of of these columns are necessary? Generally speaking, a well written scenario only needs a handful of columns to actually illustrate the rule in question - the rest can come from templates or generated data.