Steve Gravrock
00b09a9a04
Simplify HtmlReporterV2 initialization and boot1.js
2025-11-28 09:47:31 -08:00
Steve Gravrock
f5e9b61f73
Replace isArray helper with native Array.isArray
2025-11-28 08:09:51 -08:00
Steve Gravrock
51dc79dc22
rm dead code
2025-11-27 08:45:24 -08:00
Steve Gravrock
b559faec2a
HtmlReporterV2: show correct progress when running a subset of specs
2025-11-27 07:24:45 -08:00
Steve Gravrock
23894c1a0a
Detect monkey patching and emit a deprecation warning.
...
This isn't comprehensive but it should be broad enough to ensure that most
people who would be affected by blocking monkey patching see a warning.
Covers the jasmine namespace as well as classes that are monkey patched by
zone.js.
Replacing globals (describe/it/etc) doesn't trigger a warning because they
belong to the user and are expected to be replaced.
2025-11-27 07:23:57 -08:00
Steve Gravrock
1f31b4b0f6
Increase font size in HTML reporters
2025-11-15 09:06:19 -08:00
Steve Gravrock
3899d83fb6
HtmlReporterV2: show median and mean spec run time
2025-11-15 09:01:06 -08:00
Steve Gravrock
8f13684a01
Add a slowest specs list to HTMLReporterV2
2025-11-15 08:57:25 -08:00
Steve Gravrock
d31d33aeb3
Introduce a tab bar
...
This will make it easier to add a third tab to HtmlReporterV2.
2025-11-09 09:58:57 -08:00
Steve Gravrock
85322d1877
Re-add support for partial spec name filtering
...
No UI for this but users can construct URLs manually.
Fixes #2085 .
2025-10-24 17:26:49 -07:00
Steve Gravrock
6667a42301
Docs: Fix HtmlReporterV2 ctor example
2025-10-22 16:36:58 -07:00
Steve Gravrock
d66d0d9d2e
Fixed standalone distribution
2025-10-18 12:31:48 -07:00
Steve Gravrock
54ac39a192
Fix position of duration in both HTML reporters
2025-10-18 09:58:55 -07:00
Steve Gravrock
ea882c2f1e
HtmlReporterV2: Show a non-color indication of status while running
2025-10-18 09:46:16 -07:00
Steve Gravrock
4cc605756a
Extract an OverallStatusBar widget
2025-10-17 07:58:01 -07:00
Steve Gravrock
b6426d2414
Flesh out jasmine-html.js API reference
2025-10-15 21:50:56 -07:00
Steve Gravrock
2352249441
Clean up progress bar CSS
2025-10-15 19:42:46 -07:00
Steve Gravrock
4dfc34a7a0
Make AlertsView#add private
2025-10-15 19:37:18 -07:00
Steve Gravrock
695a805844
Backfill missing HTML reporter tests
2025-10-15 19:32:47 -07:00
Steve Gravrock
10bc655622
HtmlReporterV2: Show details of failures as soon as they occur
2025-10-14 21:49:33 -07:00
Steve Gravrock
4663280528
Move state tracking out of FailuresView
2025-10-14 21:46:07 -07:00
Steve Gravrock
86387c9068
HtmlReporterV2: replace dots with progress bar
2025-10-09 16:42:42 -07:00
Steve Gravrock
9b3cc08818
Deprecate HtmlReporter and HtmlSpecFilter
2025-10-09 16:42:42 -07:00
Steve Gravrock
0ad54fc6f0
Clicking a link in HtmlReporterV2 does exact filtering
2025-10-09 16:42:42 -07:00
Steve Gravrock
c042665d9c
HtmlReporterV2 doesn't need specStarted
2025-10-09 16:42:42 -07:00
Steve Gravrock
a457cf1b81
Simplify boot1.js
2025-10-09 16:42:42 -07:00
Steve Gravrock
77c3b8b07e
Clone HtmlSpecFilter and HtmlReporter in preparation for backward-incompatible changes
2025-10-09 16:42:42 -07:00
Steve Gravrock
bd89ef66c8
Move HtmlReporter components to their own files
2025-10-09 16:42:42 -07:00
Steve Gravrock
01f050eeaa
Turn DomContext class back into a function
2025-10-09 16:42:42 -07:00
Steve Gravrock
de44e909f2
Ignore HtmlReporter's createElement and createTextNode options
...
Injected DOM wrappers were a nice idea in theory but everyone just passes
wrappers around document.createElement/document.createTextNode. That
includes HtmlReporter's unit tests and karma-jasmine-html-reporter, the
only known 5.x-compatible library that constructs an HtmlReporter.
2025-10-09 16:42:42 -07:00
Steve Gravrock
10ad40357a
HTML reporter: cache configuration throughout each run
2025-10-09 16:42:42 -07:00
Steve Gravrock
1f521f2a7f
Convert what's left of HtmlReporter to an ES6 class
2025-10-09 16:42:42 -07:00
Steve Gravrock
5b3e12e4c5
Decompose HtmlReporter into smaller components
2025-10-09 16:42:37 -07:00
Steve Gravrock
cfd8f11b30
Merge branch '5.99' into 6.0
2025-10-05 10:08:40 -07:00
Steve Gravrock
dbc1f9244e
Revert "Clicking a link in the HTML reporter does exact filtering"
...
This change broke spec filtering in Karma by changing the format of the
`spec` query parameter. Although karma-jasmine-html-reporter uses
jasmine-core's HtmlSpecFilter, karm-jasmine provides its own spec filter
that interprets the query parameters itself.
This feature may be reintroduced in 6.0 as a breaking change.
This reverts commit 8309416cb2 .
2025-10-05 09:59:36 -07:00
Steve Gravrock
489b83c61b
Revert "Move knowledge of query parameters out of boot1.js"
...
This reverts commit 6715f24fd0 .
2025-10-05 09:54:25 -07:00
Steve Gravrock
68a7cbb991
Adopt strict mode throughout the codebase
2025-10-05 06:53:54 -07:00
Steve Gravrock
168ff0a751
Move private APIs to private namespace
...
Fixes #2078
2025-09-27 13:21:09 -07:00
Steve Gravrock
124effe04b
API reference docs for QueryString
2025-09-17 20:22:47 -07:00
Steve Gravrock
418e9a7728
Convert QueryString to an ES6 class
2025-09-17 18:35:01 -07:00
Steve Gravrock
6715f24fd0
Move knowledge of query parameters out of boot1.js
2025-09-17 18:23:45 -07:00
Steve Gravrock
fa481b2bd1
API reference docs for HTML reporter and spec filters
2025-09-17 07:30:34 -07:00
Steve Gravrock
8309416cb2
Clicking a link in the HTML reporter does exact filtering
...
This feature requires an update to boot1.js, as shown in this commit.
Users with an older boot1.js will get the older inexact filtering.
2025-09-17 07:30:20 -07:00
Steve Gravrock
3bcbc2e3af
Tweak spec duration margin
2025-08-30 12:37:15 -07:00
bonkevin
f16b81d4ef
feat: html-reporter with spec duration
2025-08-27 09:58:11 -04:00
Steve Gravrock
7a8d6e44e3
Fixed sass deprecation warning
2025-04-07 21:59:56 -07:00
Steve Gravrock
5ff7e7f9a1
Updated to eslint 9
...
This isn't officially compatible with the oldest version of Node that
Jasmine supports, but it works. If it stops working, we can always disable
linting in CI builds on older Node versions.
2025-04-07 21:39:58 -07:00
Steve Gravrock
ba7560f65e
HTML reporter: show debug logs with white-space: pre
2024-06-22 11:44:11 -07:00
Steve Gravrock
ff93277c0f
Accessibility: Always provide a non-color indication that a spec is pending
2023-04-29 11:45:21 -07:00
Steve Gravrock
90741b3cee
Accessibility: Improved contrast of version number and inactive tab links
2023-04-29 11:45:16 -07:00