File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed
com/thoughtworks/selenium
org/openqa/selenium/firefox Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ java_library(
59
59
'//java/client/test/org/openqa/selenium:helpers' ,
60
60
'//java/client/test/org/openqa/selenium/environment:environment' ,
61
61
'//java/client/test/org/openqa/selenium/testing:helpers' ,
62
+ '//java/client/test/org/openqa/selenium/testing:test-base' ,
62
63
'//java/client/test/org/openqa/selenium/testing/drivers:browser' ,
63
64
'//java/client/test/org/openqa/selenium/testing/drivers:drivers' ,
64
65
'//java/server/test/org/openqa/selenium:server-with-tests' ,
Original file line number Diff line number Diff line change 18
18
19
19
package com .thoughtworks .selenium .corebased ;
20
20
21
+ import static org .junit .Assume .assumeFalse ;
22
+ import static org .junit .Assume .assumeTrue ;
23
+
21
24
import com .thoughtworks .selenium .InternalSelenseTestBase ;
22
25
26
+ import org .junit .Assume ;
23
27
import org .junit .Test ;
28
+ import org .openqa .selenium .HasCapabilities ;
29
+ import org .openqa .selenium .WebDriver ;
24
30
import org .openqa .selenium .environment .GlobalTestEnvironment ;
25
31
import org .openqa .selenium .environment .webserver .AppServer ;
32
+ import org .openqa .selenium .internal .WrapsDriver ;
33
+ import org .openqa .selenium .testing .TestUtilities ;
26
34
27
35
import java .net .MalformedURLException ;
28
36
import java .net .URL ;
29
37
30
38
public class TestBasicAuth extends InternalSelenseTestBase {
31
39
@ Test
32
40
public void testBasicAuth () throws Exception {
41
+ assumeFalse (
42
+ "Geckodriver does not support basic auth without user interaction." ,
43
+ selenium instanceof WrapsDriver &&
44
+ TestUtilities .isFirefox (((WrapsDriver ) selenium ).getWrappedDriver ()));
33
45
selenium .open (getUrl ());
34
46
assertEquals (selenium .getTitle (), "Welcome" );
35
47
}
Original file line number Diff line number Diff line change 28
28
import org .openqa .selenium .remote .CapabilityType ;
29
29
30
30
public class TestClickAt extends InternalSelenseTestBase {
31
- @ Test
31
+ @ Test ( timeout = 60000 )
32
32
public void testClickAt () throws Exception {
33
33
selenium .open ("../tests/html/test_click_page1.html" );
34
34
verifyEquals (selenium .getText ("link" ), "Click here for next page" );
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ public void canUseSameProfileInCapabilitiesAndDirectly() {
167
167
168
168
verifyItIsMarionette (localDriver );
169
169
}
170
-
170
+
171
171
@ Test
172
172
public void canPassCapabilitiesBinaryAndProfileSeparately () throws IOException {
173
173
FirefoxBinary binary = spy (new FirefoxBinary ());
You can’t perform that action at this time.
0 commit comments