1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
From: =?utf-8?q?J=C3=A9r=C3=A9my_Bobbio?= <lunar@debian.org>
Date: Fri, 22 Mar 2013 09:10:43 +0000
Subject: Inhibit tests for the :selenium driver
The :selenium driver is deactivated until ruby-selenium-webdriver lands in
Debian (see #703492), so let's just skip its tests.
---
spec/selenium_spec.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/spec/selenium_spec.rb b/spec/selenium_spec.rb
index 6b94d59..2bc7219 100644
--- a/spec/selenium_spec.rb
+++ b/spec/selenium_spec.rb
@@ -1,5 +1,4 @@
require 'spec_helper'
-require "selenium-webdriver"
Capybara.register_driver :selenium_focus do |app|
profile = Selenium::WebDriver::Firefox::Profile.new
@@ -7,6 +6,7 @@ Capybara.register_driver :selenium_focus do |app|
Capybara::Selenium::Driver.new(app, browser: :firefox, profile: profile)
end
+<<PENDING
module TestSessions
Selenium = Capybara::Session.new(:selenium_focus, TestApp)
end
@@ -16,8 +16,11 @@ Capybara::SpecHelper.run_specs TestSessions::Selenium, "selenium", :skip => [
:status_code,
:trigger
]
+PENDING
describe Capybara::Session do
+pending "waiting for a ruby-selenium-driver package in Debian" do
+
context 'with selenium driver' do
before do
@session = TestSessions::Selenium
@@ -57,3 +60,4 @@ describe Capybara::Session do
end
end
end
+end
|