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(
5959    '//java/client/test/org/openqa/selenium:helpers' ,
6060    '//java/client/test/org/openqa/selenium/environment:environment' ,
6161    '//java/client/test/org/openqa/selenium/testing:helpers' ,
62+     '//java/client/test/org/openqa/selenium/testing:test-base' ,
6263    '//java/client/test/org/openqa/selenium/testing/drivers:browser' ,
6364    '//java/client/test/org/openqa/selenium/testing/drivers:drivers' ,
6465    '//java/server/test/org/openqa/selenium:server-with-tests' ,
Original file line number Diff line number Diff line change 1818
1919package  com .thoughtworks .selenium .corebased ;
2020
21+ import  static  org .junit .Assume .assumeFalse ;
22+ import  static  org .junit .Assume .assumeTrue ;
23+ 
2124import  com .thoughtworks .selenium .InternalSelenseTestBase ;
2225
26+ import  org .junit .Assume ;
2327import  org .junit .Test ;
28+ import  org .openqa .selenium .HasCapabilities ;
29+ import  org .openqa .selenium .WebDriver ;
2430import  org .openqa .selenium .environment .GlobalTestEnvironment ;
2531import  org .openqa .selenium .environment .webserver .AppServer ;
32+ import  org .openqa .selenium .internal .WrapsDriver ;
33+ import  org .openqa .selenium .testing .TestUtilities ;
2634
2735import  java .net .MalformedURLException ;
2836import  java .net .URL ;
2937
3038public  class  TestBasicAuth  extends  InternalSelenseTestBase  {
3139  @ Test 
3240  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 ()));
3345    selenium .open (getUrl ());
3446    assertEquals (selenium .getTitle (), "Welcome" );
3547  }
Original file line number Diff line number Diff line change 2828import  org .openqa .selenium .remote .CapabilityType ;
2929
3030public  class  TestClickAt  extends  InternalSelenseTestBase  {
31-   @ Test 
31+   @ Test ( timeout  =  60000 ) 
3232  public  void  testClickAt () throws  Exception  {
3333    selenium .open ("../tests/html/test_click_page1.html" );
3434    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() {
167167
168168    verifyItIsMarionette (localDriver );
169169  }
170-    
170+ 
171171  @ Test 
172172  public  void  canPassCapabilitiesBinaryAndProfileSeparately () throws  IOException  {
173173    FirefoxBinary  binary  = spy (new  FirefoxBinary ());
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments