Przeglądaj źródła

Add test for firefox and marionette

Vangelis Katsikaros 9 lat temu
rodzic
commit
960af879eb
1 zmienionych plików z 0 dodań i 18 usunięć
  1. 0 18
      t/CanStartBinary.t

+ 0 - 18
t/CanStartBinary.t

@@ -79,24 +79,6 @@ FIREFOX: {
         my $firefox = Selenium::Firefox->new;
         isnt( $firefox->port, 4444, 'firefox can start up its own binary');
         ok( Selenium::CanStartBinary::probe_port( $firefox->port ), 'the firefox binary is listening on its port');
-        $firefox->shutdown_binary;
-
-      PROFILE: {
-            my $encoded = 0;
-            {
-                package FFProfile;
-                use Moo;
-                extends 'Selenium::Firefox::Profile';
-
-                sub _encode { $encoded++ };
-                1;
-            }
-
-            my $p = FFProfile->new;
-            my $firefox_with_profile = Selenium::Firefox->new(firefox_profile => $p);
-            $firefox_with_profile->shutdown_binary;
-            is($encoded, 0, 'Binary firefox does not encode profile unnecessarily');
-        }
 
         my $firefox_marionette = Selenium::Firefox->new(
             marionette_enabled => 1