Skip to content

Screenshots and Errors not expanding after v3.9.1 #421

@AllanJard

Description

@AllanJard

Environment (please complete the following information)

  • multiple-cucumber-html-reporter: 3.9.0

Describe the bug

The DataTable on the report landing page isn't working - the following error is shown in the console:

Uncaught TypeError: $(...).dataTable is not a function

It looks like commit bd58e2c went a little wobbly. For example the contents of jquery.dataTables.min.js was replaced, not with an update to DataTables core, but rather with the jQuery UI integration for DataTables, which I doubt is what you want since you have Bootstrap loaded on the page. Additionally, the dataTables.bootstrap.min.js file contains CSS.

To Reproduce

Install [email protected] and create a report. The main table on the index page will not be a DataTable.

Expected behavior

A DataTable should be created, like in the readme screenshots.

Additional context

Disclosure, I'm the author for DataTables and a friend let me know they were having problems after updating to 3.9.0.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions