MichaelWest22
c091b95fa3
Move currentPathForHistory to session storage ( #3330 )
...
* Move currentPathForHistory to session storage
* update test
* fix more sessionStorage from localStorage
2025-06-16 18:24:39 -05:00
MichaelWest22
7388d0c057
Move History storage to sessionStorage ( #3305 )
...
* Move History storage to sessionStorage and history path to window
* Fix type warnings
* Revert currentPathForHistory to move it to its own PR
* fix test
2025-06-16 18:08:34 -05:00
MichaelWest22
05d37e6ea6
Remove old IE support ( #3277 )
...
* Remove old IE support
* don't need regex in normalizePath
* fix verifyPath to handle about: situations like some iframes now that there is no fallback
* improve diff
* fix logic mistake in last diff improvment
* Update url normlization test post testing upgrade
* remove un-needed document
2025-04-24 13:56:05 -06:00
MichaelWest22
d3bcd787ba
proxy window.location for testing and extension overrides ( #3283 )
...
* proxy window.location for testing and extension overrides
* when not whe in test name
2025-04-24 13:55:27 -06:00
MichaelWest22
24a0106f76
Update testing framework to web-test-runner and improve code coverage ( #3273 )
...
* Fix old npm dependencies
* implement web-test-runner tests for headless alongside Mocha browser tests
* Increase test and code coverage
* update to 100% coverage and impove eslint
* Update testing Doco
* revert all htmx changes and updates/disable tests needed
* fix browser mocha test
* Default testing to use playwrite only instead of puppeter
* playwright install fix
* Imporve test summary reporting
* flatten false looks closer to original
2025-04-17 17:55:43 -06:00
Alexander Petros
0e67ac8081
Format tests
2024-01-18 10:20:34 -05:00
Carson Gross
5cdd50ebbe
fix test
2024-01-05 11:00:08 -07:00
Alexander Petros
4b890ce72d
Run linter on the tests too
2023-12-21 13:22:10 -05:00
Carson Gross
892173c355
fix tests
2022-07-11 16:29:40 -06:00
carson
d2b1e10719
all for want of a p: don't blow history out on first successful cache usage :/
...
potentially fixes https://github.com/bigskysoftware/htmx/issues/370
2021-02-18 11:13:15 -07:00
carson
165586b777
docs and tests for trigger filters
2020-10-17 13:21:15 -06:00
carson
d018ef4f0f
catch on history cache save
...
fixes https://github.com/bigskysoftware/htmx/issues/209
2020-10-13 17:02:15 -06:00
carson
bf5e1804ac
strip the request class from content before snapshotting for history
...
includes both a logical and perf test, to make sure we perform reasonably well with large page sizes
fixes https://github.com/bigskysoftware/htmx/issues/200
2020-09-22 09:40:38 -06:00
carson
416ee3dde2
fix test
2020-06-30 12:17:34 -07:00
carson
b22b1d104c
Merge remote-tracking branch 'origin/dev' into dev
2020-06-30 10:45:38 -07:00
carson
4f3cf2d889
Move events from <event name>.htmx
(jQuery style) to htmx:<event name>
(zepto style)
...
fixes https://github.com/bigskysoftware/htmx/issues/109
2020-06-30 10:45:30 -07:00
Ben Croker
a4a550d9ea
Added test for when string
2020-06-26 15:52:21 +02:00
carson
99d18d347f
test fix
2020-06-17 15:35:58 -07:00
chg20
025b043918
Merge branch 'dev' into json-parse
2020-06-17 15:28:33 -07:00
carson
b6f1c834cf
include perf tests
2020-06-17 12:30:52 -07:00
carson
a65c37ec4f
Include full path w/ variables when pushing a GET
...
Fixes https://github.com/bigskysoftware/htmx/issues/58
2020-06-10 16:37:03 -07:00
Robert Schroll
1060c9e88a
Avoid throwing errors when parsing malformed JSON
...
Instead, treat it as if no value was present.
2020-06-08 00:55:09 -07:00
carson
ba6d38e9dd
Fix https://github.com/bigskysoftware/htmx/issues/19
...
clean up uses of getRawAttribute() and add a `data-*` test for all attribute tests.
2020-05-23 04:52:52 -07:00
carson
3aa8c64754
le big re-rename
2020-05-17 05:22:19 -07:00