1414 */
1515package org .htmlunit .libraries ;
1616
17+ import org .htmlunit .WebClient ;
1718import org .htmlunit .junit .annotation .Alerts ;
1819import org .htmlunit .junit .annotation .HtmlUnitNYI ;
1920import org .junit .jupiter .api .Test ;
@@ -33,8 +34,10 @@ public class HtmxTest2x0x0 extends HtmxTest {
3334 FF = "passes:570failures:0" ,
3435 FF_ESR = "passes:570failures:0" )
3536 @ HtmlUnitNYI (
36- CHROME = "passes:570failures:0" ,
37- EDGE = "passes:570failures:0" )
37+ CHROME = "passes:569failures:1" ,
38+ EDGE = "passes:569failures:1" ,
39+ FF = "passes:569failures:1" ,
40+ FF_ESR = "passes:569failures:1" )
3841 public void htmx () throws Exception {
3942 htmx ("htmx-2.0.0" , false );
4043 }
@@ -43,13 +46,24 @@ public void htmx() throws Exception {
4346 * @throws Exception if an error occurs
4447 */
4548 @ Test
46- @ Alerts (DEFAULT = "passes:570failures:1 " ,
47- FF = "passes:570failures:0 " ,
48- FF_ESR = "passes:570failures:0 " )
49+ @ Alerts (DEFAULT = "passes:506failures:65 " ,
50+ FF = "passes:506failures:64 " ,
51+ FF_ESR = "passes:506failures:64 " )
4952 @ HtmlUnitNYI (
50- CHROME = "passes:570failures:0" ,
51- EDGE = "passes:570failures:0" )
53+ CHROME = "passes:505failures:65" ,
54+ EDGE = "passes:505failures:65" ,
55+ FF = "passes:505failures:65" ,
56+ FF_ESR = "passes:505failures:65" )
5257 public void htmxMin () throws Exception {
5358 htmx ("htmx-2.0.0" , true );
5459 }
60+
61+ @ Override
62+ protected void setupWebClient (final WebClient webClient ) {
63+ super .setupWebClient (webClient );
64+
65+ // min
66+ // ReferenceError: "getInputValues" is not defined.
67+ webClient .getOptions ().setThrowExceptionOnScriptError (false );
68+ }
5569}
0 commit comments