From abd17efeb630ed0919b4a5aeb3aa235f7c0fa5d8 Mon Sep 17 00:00:00 2001 From: Jari Bakken Date: Thu, 17 Oct 2013 21:47:58 +0200 Subject: [PATCH] Remove chrome custom profile spec (not compatible with chromedriver 2) --- .../selenium/webdriver/chrome/profile_spec.rb | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/rb/spec/integration/selenium/webdriver/chrome/profile_spec.rb b/rb/spec/integration/selenium/webdriver/chrome/profile_spec.rb index be5533e2d790a..6a829f3fe78f5 100755 --- a/rb/spec/integration/selenium/webdriver/chrome/profile_spec.rb +++ b/rb/spec/integration/selenium/webdriver/chrome/profile_spec.rb @@ -5,15 +5,17 @@ module Chrome describe Profile do let(:profile) { Profile.new } - it "launches Chrome with a custom profile" do - profile['autofill.disabled'] = true - - begin - driver = WebDriver.for :chrome, :profile => profile - ensure - driver.quit if driver - end - end + # Won't work on ChromeDriver 2.0 + # + # it "launches Chrome with a custom profile" do + # profile['autofill.disabled'] = true + # + # begin + # driver = WebDriver.for :chrome, :profile => profile + # ensure + # driver.quit if driver + # end + # end it "should be serializable to JSON" do profile['foo.boolean'] = true