File tree 1 file changed +4
-5
lines changed
src/test/java/com/pluralsight
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ public class Module1_Task1_thru_4_IT {
26
26
27
27
@ Before
28
28
public void setUp () throws IOException {
29
+ // Turning off HTMLUnit Logging
30
+ java .util .logging .Logger .getLogger ("com.gargoylesoftware" ).setLevel (java .util .logging .Level .OFF );
31
+ System .setProperty ("org.apache.commons.logging.Log" , "org.apache.commons.logging.impl.NoOpLog" );
32
+
29
33
indexUrl = "http://localhost:8080" ; //System.getProperty("integration.base.url");
30
34
webClient = new WebClient ();
31
35
// Open the admin page
@@ -40,11 +44,6 @@ public void setUp() throws IOException {
40
44
quantityInput .setAttribute ("value" , "1" );
41
45
HtmlSubmitInput submitButton = (HtmlSubmitInput )listForm .getInputByValue ("Add to Cart" );
42
46
cartPage = submitButton .click ();
43
-
44
- // Turning off HTMLUnit Logging
45
- java .util .logging .Logger .getLogger ("com.gargoylesoftware" ).setLevel (java .util .logging .Level .OFF );
46
- System .setProperty ("org.apache.commons.logging.Log" , "org.apache.commons.logging.impl.NoOpLog" );
47
-
48
47
49
48
// Get form
50
49
try {
You can’t perform that action at this time.
0 commit comments