1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.htmlunit.libraries;
16
17 import org.htmlunit.WebClient;
18 import org.htmlunit.junit.BrowserRunner;
19 import org.htmlunit.junit.annotation.Alerts;
20 import org.htmlunit.junit.annotation.BuggyWebDriver;
21 import org.junit.Test;
22 import org.junit.runner.RunWith;
23
24
25
26
27
28
29 @RunWith(BrowserRunner.class)
30 public class HtmxTest1x9x10 extends HtmxTest {
31
32
33
34
35 @Test
36 @Alerts("passes:679failures:0")
37 @BuggyWebDriver(CHROME = "passes:679failures:1", EDGE = "passes:679failures:1")
38 public void htmx() throws Exception {
39 htmx("htmx-1.9.10");
40 }
41
42 @Override
43 protected void setupWebClient(final WebClient webClient) {
44 super.setupWebClient(webClient);
45
46
47 webClient.getOptions().setThrowExceptionOnScriptError(false);
48 }
49 }