MichaelWest22
408850a08e
Additional Code Coverage ( #3282 )
...
* Improve loc coverage by removing dead paths caused by bad type checks and add some tests for other paths
* removed exception for https://github.com/microsoft/playwright/issues/5894 that was fixed in 2022 with webkit 16.0
2025-04-24 13:54:43 -06:00
MichaelWest22
21dc121fce
handle removing request lock on errors ( #3284 )
...
* handle removing request lock on errors
* Fixed non function verifyUrl tests and added tests for the double requests this PR fixes
2025-04-24 13:53:14 -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
Carson Gross
8928efc40a
restore tests and dynamic hx-on behavior
2024-05-16 14:16:43 -06:00
Carson Gross
20b42aaf88
Merge branch 'master' into dev
...
# Conflicts:
# src/htmx.d.ts
# src/htmx.js
# test/core/security.js
# www/content/docs.md
2024-05-16 12:50:13 -06:00
Carson Gross
b991f20c3a
make hx-on respect the hx-disable attribute
2024-04-25 09:49:50 -06:00
Alexander Petros
4b890ce72d
Run linter on the tests too
2023-12-21 13:22:10 -05:00
Carson Gross
5c42b3442b
flip defaults for 2.0
2023-11-21 14:57:52 -07:00
Vincent
bb5413dfd2
[Tests] Fix test pipeline timing issues ( #1818 )
...
Fix test pipeline timing issues
2023-09-21 15:43:49 -06:00
Carson Gross
295d9f83eb
remove a logAll()
2023-08-04 17:05:42 -06:00
Carson Gross
14e2a8c611
Merge remote-tracking branch 'origin/dev' into dev
2023-08-04 14:59:19 -06:00
Carson Gross
1acbbe5057
add test to ensure I don't screw up the sameHost
value
2023-08-04 14:59:10 -06:00
Alexander Petros
fc4723c95f
Remove logAll from tests ( #1657 )
2023-08-01 18:04:44 -05:00
Carson Gross
36e6a426f9
security improvement
...
- add the `htmx.config.allowScriptTags` option
2023-07-31 12:12:44 -06:00
Carson Gross
19cb15caef
security improvements
...
- add the `htmx.config.selfRequestsOnly` option
- add the `htmx:validateUrl` event
- better security documentation (incomplete, need to finish CORS)
2023-07-31 11:31:42 -06:00
Vincent
e89c9c6402
[Bugfix] Handle dynamically added hx-disable ( #1567 )
...
Handle dynamically added hx-disable, clean up element #1176
2023-07-18 10:12:28 -06:00
carson
91d677e60d
change to hx-disable
2021-04-04 10:08:28 -06:00
carson
0488f233ae
bump version + disable-htmx
security feature
2021-04-04 04:03:52 -06:00