Turns every table into a section the report's own links point at
All 2 scenarios hold
A report is normally a directory of pages. Single-file mode writes it as one self-contained HTML file instead. You can mail that file, attach it to a build, or open it from a memory stick with nothing beside it.
The rules below read a report of one test class, org.example.CalendarTest, with two tables: leapYear and monthLength.
Each table has a page of its own in the default report. Here it becomes a section of the one file, named after the path it had. The sidebar and the search results point at that name as an anchor in the page. Navigation that crossed files in the default report therefore scrolls inside this one.
expected outcome
broken scenario
| Scenario | Page URL | Section holding the table? | Link to it from the sidebar? |
|---|---|---|---|
| The first table | /calendar-test/leap-year | calendar-test__leap-year | #calendar-test__leap-year |
| The second table | /calendar-test/month-length | calendar-test__month-length | #calendar-test__month-length |