Skip to content

Commit d7c491f

Browse files
committed
Clean up generated files and enhance HTML reporter documentation with comprehensive screenshots
1 parent 6e03d9f commit d7c491f

File tree

11 files changed

+33
-1640
lines changed

11 files changed

+33
-1640
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ examples/selenoid-example/output
1717
test/data/app/db
1818
test/data/sandbox/steps.d.ts
1919
test/data/sandbox/configs/custom-reporter-plugin/output/result.json
20-
test/data/sandbox/configs/html-reporter-plugin/output/report.html
20+
test/data/sandbox/configs/html-reporter-plugin/output/
21+
output/
22+
test/runner/output/
2123
testpullfilecache*
2224
.DS_Store
2325
package-lock.json

docs/plugins.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,28 @@ The generated HTML report includes:
776776
- **Detailed Test Information**: Expandable sections showing steps, hooks, metadata, and artifacts
777777
- **Export Integration**: JSON stats export for external analysis tools
778778
779+
### Screenshots
780+
781+
#### Main Dashboard
782+
783+
![HTML Reporter Main Dashboard](shared/html-reporter-main-dashboard.png)
784+
_Interactive dashboard with test statistics, pie chart visualization, and comprehensive filtering options_
785+
786+
#### Test Details View
787+
788+
![HTML Reporter Test Details](shared/html-reporter-test-details.png)
789+
_Expandable test details showing step-by-step execution with timing, status indicators, and comprehensive test information_
790+
791+
#### Advanced Filtering
792+
793+
![HTML Reporter Filtering](shared/html-reporter-filtering.png)
794+
_Real-time filtering capabilities allowing users to filter by status, features, tags, retry status, and test type_
795+
796+
#### BDD/Gherkin Support
797+
798+
![HTML Reporter BDD Details](shared/html-reporter-bdd-details.png)
799+
_Comprehensive BDD/Gherkin support with feature information, scenario formatting, proper step keywords (Given, When, Then, And), hooks, and visual indicators_
800+
779801
### Stats Export for Grafana Integration
780802
781803
Enable stats export to integrate with monitoring tools:
@@ -839,40 +861,44 @@ No special configuration required - BDD support is automatically enabled when us
839861
exports.config = {
840862
gherkin: {
841863
features: './features/*.feature',
842-
steps: './step_definitions/*.js'
864+
steps: './step_definitions/*.js',
843865
},
844866
plugins: {
845867
htmlReporter: {
846868
enabled: true,
847869
output: './output',
848-
reportFileName: 'report.html'
849-
}
850-
}
870+
reportFileName: 'report.html',
871+
},
872+
},
851873
}
852874
```
853875
854876
#### BDD Report Features
855877
856878
**Feature Display:**
879+
857880
- Feature name and description prominently displayed
858881
- Feature-level tags shown with purple styling
859882
- File path information for traceability
860883
- Language support for internationalized Gherkin
861884
862885
**Scenario Formatting:**
886+
863887
- Clear "Scenario:" prefix for test titles
864888
- "Feature:" prefix for feature grouping
865889
- Purple "Gherkin" badge for easy identification
866890
- Visual left border styling for BDD tests
867891
868892
**Step Visualization:**
893+
869894
- Proper Gherkin keywords: Given, When, Then, And
870895
- Step text displayed with original Gherkin formatting
871896
- Execution timing for each step
872897
- Status indicators (pass/fail) for individual steps
873898
- Support for data tables and docstrings in step comments
874899
875900
**Enhanced Filtering:**
901+
876902
- Test Type filter to show BDD-only or regular tests
877903
- All existing filters (tags, status, feature) work with BDD tests
878904
- Combined filtering for complex test selection
540 KB
Loading
356 KB
Loading
362 KB
Loading
-257 KB
Binary file not shown.
371 KB
Loading

0 commit comments

Comments
 (0)