selenium-connect 2.3.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.coveralls.yml +1 -0
- data/.gitignore +1 -0
- data/.rspec +6 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +16 -0
- data/Guardfile +6 -0
- data/README.md +121 -16
- data/Rakefile +36 -12
- data/lib/selenium-connect.rb +3 -82
- data/lib/selenium_connect.rb +49 -0
- data/lib/{selenium-connect → selenium_connect}/configuration.rb +4 -2
- data/lib/selenium_connect/job.rb +102 -0
- data/lib/selenium_connect/report/job_report.rb +17 -0
- data/lib/selenium_connect/report/main_report.rb +17 -0
- data/lib/selenium_connect/report/report_factory.rb +25 -0
- data/lib/{selenium-connect → selenium_connect}/runner.rb +9 -8
- data/lib/{selenium-connect → selenium_connect}/runners/chrome.rb +1 -1
- data/lib/{selenium-connect → selenium_connect}/runners/firefox.rb +1 -1
- data/lib/{selenium-connect → selenium_connect}/runners/ie.rb +1 -1
- data/lib/{selenium-connect → selenium_connect}/runners/no_browser.rb +1 -1
- data/lib/{selenium-connect → selenium_connect}/runners/phantomjs.rb +1 -1
- data/lib/{selenium-connect → selenium_connect}/runners/saucelabs.rb +2 -1
- data/lib/{selenium-connect → selenium_connect}/server.rb +2 -1
- data/selenium-connect.gemspec +9 -4
- data/spec/integration/lib/selenium_connect/runners/chrome_spec.rb +19 -0
- data/spec/integration/lib/selenium_connect/runners/firefox_spec.rb +55 -0
- data/spec/integration/lib/selenium_connect/runners/headless_spec.rb +33 -0
- data/spec/integration/lib/selenium_connect/runners/ie_spec.rb +24 -0
- data/spec/{runners → integration/lib/selenium_connect/runners}/phantomjs_spec.rb +4 -3
- data/spec/integration/lib/selenium_connect/runners/sauce_spec.rb +63 -0
- data/spec/integration/lib/selenium_connect_spec.rb +41 -0
- data/spec/spec_helper.rb +37 -0
- data/spec/{example.yaml → support/example.yaml} +0 -0
- data/spec/{acceptance/helper.rb → support/example_page_object.rb} +1 -1
- data/spec/support/integration_helper.rb +9 -0
- data/spec/unit/lib/selenium-connect_spec.rb +15 -0
- data/spec/{configuration_spec.rb → unit/lib/selenium_connect/configuration_spec.rb} +9 -3
- data/spec/unit/lib/selenium_connect/job_spec.rb +38 -0
- data/spec/unit/lib/selenium_connect/report/job_report_spec.rb +20 -0
- data/spec/unit/lib/selenium_connect/report/main_report_spec.rb +20 -0
- data/spec/unit/lib/selenium_connect/report/report_factory_spec.rb +27 -0
- data/spec/unit/lib/selenium_connect/runners/.gitkeep +0 -0
- data/spec/unit/lib/selenium_connect_spec.rb +58 -0
- metadata +125 -29
- data/spec/acceptance/chrome_spec.rb +0 -21
- data/spec/acceptance/firefox_spec.rb +0 -62
- data/spec/acceptance/headless_spec.rb +0 -29
- data/spec/acceptance/ie_spec.rb +0 -21
- data/spec/acceptance/logging_spec.rb +0 -28
- data/spec/acceptance/sauce_spec.rb +0 -27
- data/spec/quit_and_finish_spec.rb +0 -14
- data/spec/yaml_spec.rb +0 -51
@@ -1,10 +1,11 @@
|
|
1
1
|
# Encoding: utf-8
|
2
2
|
|
3
|
-
require '
|
4
|
-
require '
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium_connect/configuration'
|
5
|
+
require 'selenium_connect/runners/phantomjs'
|
5
6
|
require 'selenium-webdriver'
|
6
7
|
|
7
|
-
describe 'phantomjs runner'
|
8
|
+
describe 'phantomjs runner' do
|
8
9
|
it 'should match against phantomjs if configured as such' do
|
9
10
|
config = SeleniumConnect::Configuration.new
|
10
11
|
config.browser = 'phantomjs'
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium_connect'
|
5
|
+
|
6
|
+
describe 'Sauce Labs', selenium: true do
|
7
|
+
|
8
|
+
before(:each) do
|
9
|
+
opts = {
|
10
|
+
log: File.join('build', 'tmp'),
|
11
|
+
host: 'saucelabs',
|
12
|
+
sauce_username: 'testing_arrgyle',
|
13
|
+
sauce_api_key: 'ab7a6e17-16df-42d2-9ef6-c8d2539cc38a',
|
14
|
+
os: 'windows',
|
15
|
+
browser: 'iexplore',
|
16
|
+
browser_version: '7',
|
17
|
+
}
|
18
|
+
config = SeleniumConnect::Configuration.new opts
|
19
|
+
@sc = SeleniumConnect.start config
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'just execute a sauce job successfully' do
|
23
|
+
job = @sc.create_job
|
24
|
+
name = 'successful sauce job'
|
25
|
+
driver = job.start name: name
|
26
|
+
execute_simple_test driver
|
27
|
+
report = job.finish passed: true
|
28
|
+
sauce_id = report.data[:sauce_data][:id]
|
29
|
+
report.data[:sauce_data][:name].should be == name
|
30
|
+
report.data[:sauce_data][:passed].should be_true
|
31
|
+
File.exist?(File.join(Dir.pwd, 'build', 'tmp', "sauce_job_#{sauce_id}.log")).should be_true
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'should mark a sauce job as failed' do
|
35
|
+
job = @sc.create_job
|
36
|
+
name = 'failing sauce job'
|
37
|
+
job.start name: name
|
38
|
+
# we don't even need to run anything
|
39
|
+
report = job.finish failed: true
|
40
|
+
report.data[:sauce_data][:passed].should be false
|
41
|
+
end
|
42
|
+
|
43
|
+
it 'should download save a screenshot on failure' do
|
44
|
+
# pending 'need to resolve the api issues first'
|
45
|
+
job = @sc.create_job
|
46
|
+
name = 'failshot'
|
47
|
+
driver = job.start name: name
|
48
|
+
|
49
|
+
driver.get 'http://www.yahoo.com'
|
50
|
+
driver.get 'http://www.google.com'
|
51
|
+
|
52
|
+
unless driver.title =~ /Poogle/
|
53
|
+
# simulate a failure situation
|
54
|
+
report = job.finish failed: true, failshot: true
|
55
|
+
end
|
56
|
+
|
57
|
+
report.data[:sauce_data][:passed].should be false
|
58
|
+
end
|
59
|
+
|
60
|
+
after(:each) do
|
61
|
+
@sc.finish
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium_connect'
|
5
|
+
|
6
|
+
describe SeleniumConnect, selenium: true do
|
7
|
+
|
8
|
+
it 'should run a simple job by default' do
|
9
|
+
config = SeleniumConnect::Configuration.new
|
10
|
+
sc = SeleniumConnect.start config
|
11
|
+
job = sc.create_job
|
12
|
+
driver = job.start
|
13
|
+
|
14
|
+
execute_simple_test driver
|
15
|
+
|
16
|
+
driver.get 'http://www.google.com'
|
17
|
+
driver.title.should include('Google')
|
18
|
+
|
19
|
+
job.finish
|
20
|
+
sc.finish
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'should return log files to a location' do
|
24
|
+
log_path = File.join('build', 'tmp')
|
25
|
+
config = SeleniumConnect::Configuration.new log: log_path
|
26
|
+
sc = SeleniumConnect.start config
|
27
|
+
job = sc.create_job
|
28
|
+
driver = job.start
|
29
|
+
|
30
|
+
execute_simple_test driver
|
31
|
+
|
32
|
+
job.finish
|
33
|
+
sc.finish
|
34
|
+
|
35
|
+
server_log = File.read(File.join(ENV['BUILD_PATH'], 'tmp', 'server.log'))
|
36
|
+
server_log.empty?.should be false
|
37
|
+
|
38
|
+
browser_log = File.read(File.join(ENV['BUILD_PATH'], 'tmp', 'firefox.log'))
|
39
|
+
browser_log.empty?.should be false
|
40
|
+
end
|
41
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
|
3
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
4
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
5
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
6
|
+
# loaded once.
|
7
|
+
#
|
8
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
9
|
+
|
10
|
+
require 'simplecov'
|
11
|
+
require 'coveralls'
|
12
|
+
|
13
|
+
require 'support/integration_helper'
|
14
|
+
|
15
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
16
|
+
SimpleCov::Formatter::HTMLFormatter,
|
17
|
+
Coveralls::SimpleCov::Formatter
|
18
|
+
]
|
19
|
+
SimpleCov.start do
|
20
|
+
coverage_dir 'build/coverage'
|
21
|
+
end
|
22
|
+
|
23
|
+
RSpec.configure do |config|
|
24
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
25
|
+
config.run_all_when_everything_filtered = true
|
26
|
+
config.filter_run :focus
|
27
|
+
config.before(:all) do
|
28
|
+
setup_test_environment
|
29
|
+
end
|
30
|
+
config.order = 'random'
|
31
|
+
end
|
32
|
+
|
33
|
+
def setup_test_environment
|
34
|
+
ENV['SUPPORT_PATH'] = File.join(Dir.pwd, 'spec', 'support')
|
35
|
+
ENV['BUILD_PATH'] = File.join(Dir.pwd, 'build')
|
36
|
+
end
|
37
|
+
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium-connect'
|
5
|
+
|
6
|
+
describe SeleniumConnect do
|
7
|
+
it 'should allow the old require statement' do
|
8
|
+
config = double 'SeleniumConnect::Configuration'
|
9
|
+
allow(config).to receive(:is_a?).and_return(true)
|
10
|
+
allow(config).to receive(:host).and_return(false)
|
11
|
+
report_factory = double 'SeleniumConnect::Report::ReportFactory'
|
12
|
+
selenium_connect = SeleniumConnect.new config, report_factory
|
13
|
+
selenium_connect.should be_an_instance_of SeleniumConnect
|
14
|
+
end
|
15
|
+
end
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Encoding: utf-8
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium_connect/configuration'
|
4
5
|
|
5
6
|
describe SeleniumConnect::Configuration do
|
6
7
|
|
@@ -12,6 +13,11 @@ describe SeleniumConnect::Configuration do
|
|
12
13
|
@configuration = SeleniumConnect::Configuration.new
|
13
14
|
end
|
14
15
|
|
16
|
+
it 'can recieve a simple hash of options on initialization' do
|
17
|
+
config = SeleniumConnect::Configuration.new host: 'newhost'
|
18
|
+
config.host.should == 'newhost'
|
19
|
+
end
|
20
|
+
|
15
21
|
it 'can be populated by a hash' do
|
16
22
|
@configuration.populate_with_hash jar: VALID_JAR, host: VALID_HOST
|
17
23
|
@configuration.jar.should eq VALID_JAR
|
@@ -19,12 +25,12 @@ describe SeleniumConnect::Configuration do
|
|
19
25
|
end
|
20
26
|
|
21
27
|
it 'can be populated with a yaml file' do
|
22
|
-
@configuration.populate_with_yaml "#{
|
28
|
+
@configuration.populate_with_yaml "#{ENV['SUPPORT_PATH']}/example.yaml"
|
23
29
|
@configuration.sauce_username.should eq VALID_SAUCE_USERNAME
|
24
30
|
end
|
25
31
|
|
26
32
|
it 'supports the config_file= method' do
|
27
|
-
@configuration.config_file= "#{
|
33
|
+
@configuration.config_file= "#{ENV['SUPPORT_PATH']}/example.yaml"
|
28
34
|
@configuration.sauce_username.should eq VALID_SAUCE_USERNAME
|
29
35
|
end
|
30
36
|
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium_connect/job'
|
5
|
+
|
6
|
+
describe SeleniumConnect::Job do
|
7
|
+
|
8
|
+
before(:each) do
|
9
|
+
config = double 'SeleniumConnect::Configuration'
|
10
|
+
report_factory = double 'SeleniumConnect::Report::ReportFactory'
|
11
|
+
@report = double 'SeleniumConnect::Report::JobReport'
|
12
|
+
allow(report_factory).to receive(:build).and_return(@report)
|
13
|
+
@job = SeleniumConnect::Job.new config, report_factory
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'should be initialized' do
|
17
|
+
@job.should be_an_instance_of SeleniumConnect::Job
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'should respond to start' do
|
21
|
+
@job.should respond_to :start
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'should return the driver on start' do
|
25
|
+
pending('need to pass in something to build the driver here...')
|
26
|
+
@job.start
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'should respond to finish' do
|
30
|
+
@job.should respond_to :finish
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'should return a report on finish' do
|
34
|
+
pending('need to pass in something to build the driver here...')
|
35
|
+
@job.finish.should be @report
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium_connect/report/job_report'
|
5
|
+
|
6
|
+
describe SeleniumConnect::Report::JobReport do
|
7
|
+
|
8
|
+
before(:each) do
|
9
|
+
@data = { key: 'value' }
|
10
|
+
@report = SeleniumConnect::Report::JobReport.new @data
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'should be initialized with data' do
|
14
|
+
@report.should be_an_instance_of SeleniumConnect::Report::JobReport
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'should simply return the data for now' do
|
18
|
+
@report.data.should be @data
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium_connect/report/main_report'
|
5
|
+
|
6
|
+
describe SeleniumConnect::Report::MainReport do
|
7
|
+
|
8
|
+
before(:each) do
|
9
|
+
@data = { key: 'value' }
|
10
|
+
@report = SeleniumConnect::Report::MainReport.new @data
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'should be initialized with data' do
|
14
|
+
@report.should be_an_instance_of SeleniumConnect::Report::MainReport
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'should simply return the data for now' do
|
18
|
+
@report.data.should be @data
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium_connect/report/report_factory'
|
5
|
+
|
6
|
+
describe SeleniumConnect::Report::ReportFactory do
|
7
|
+
|
8
|
+
before(:each) do
|
9
|
+
@report_factory = SeleniumConnect::Report::ReportFactory.new
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'should return an empty main report' do
|
13
|
+
report = @report_factory.build :main, {}
|
14
|
+
report.should_not be_nil
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'should return an empty job report' do
|
18
|
+
report = @report_factory.build :job, {}
|
19
|
+
report.should_not be_nil
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'should throw an esception for unknown report type' do
|
23
|
+
expect do
|
24
|
+
@report_factory.build :not_real, {}
|
25
|
+
end.to raise_error ArgumentError, 'Report type "not_real" unknown!'
|
26
|
+
end
|
27
|
+
end
|
File without changes
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'selenium_connect'
|
5
|
+
|
6
|
+
describe SeleniumConnect do
|
7
|
+
|
8
|
+
before(:each) do
|
9
|
+
@config = double 'SeleniumConnect::Configuration'
|
10
|
+
allow(@config).to receive(:is_a?).and_return(true)
|
11
|
+
allow(@config).to receive(:host).and_return(false)
|
12
|
+
|
13
|
+
report_factory = double 'SeleniumConnect::Report::ReportFactory'
|
14
|
+
@report = double 'SeleniumConnect::Report::MainReport'
|
15
|
+
|
16
|
+
allow(report_factory).to receive(:build).and_return(@report)
|
17
|
+
|
18
|
+
@selenium_connect = SeleniumConnect.new @config, report_factory
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'should be created with the start method' do
|
23
|
+
SeleniumConnect.should respond_to :start
|
24
|
+
SeleniumConnect.start(@config).should be_an_instance_of SeleniumConnect
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'can be initialized' do
|
28
|
+
@selenium_connect.should be_an_instance_of SeleniumConnect
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'should fail for non config object' do
|
32
|
+
['foo', nil, 10, { bar: 'baz' }].each do |config|
|
33
|
+
expect do
|
34
|
+
SeleniumConnect.new config, nil
|
35
|
+
end.to raise_error ArgumentError, 'Instance of SeleniumConnect::Configuration expected.'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'can return the config' do
|
40
|
+
sc = SeleniumConnect.start @config
|
41
|
+
sc.config.should be @config
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'should respond to finish' do
|
45
|
+
sc = SeleniumConnect.start @config
|
46
|
+
sc.should respond_to :finish
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'should return an main report on finish' do
|
50
|
+
@selenium_connect.finish.should be @report
|
51
|
+
end
|
52
|
+
|
53
|
+
it 'should respond to create_job' do
|
54
|
+
opts = { name: 'test-job' }
|
55
|
+
@selenium_connect.create_job opts
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selenium-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-07-
|
13
|
+
date: 2013-07-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: selenium-webdriver
|
@@ -60,22 +60,70 @@ dependencies:
|
|
60
60
|
- - ~>
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 2.4.4
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: sauce_whisk
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 0.0.8
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 0.0.8
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: curb
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 0.8.4
|
87
|
+
type: :runtime
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ~>
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 0.8.4
|
63
95
|
- !ruby/object:Gem::Dependency
|
64
96
|
name: rspec
|
65
97
|
requirement: !ruby/object:Gem::Requirement
|
66
98
|
none: false
|
67
99
|
requirements:
|
68
|
-
- -
|
100
|
+
- - ~>
|
69
101
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
102
|
+
version: 2.14.1
|
71
103
|
type: :development
|
72
104
|
prerelease: false
|
73
105
|
version_requirements: !ruby/object:Gem::Requirement
|
74
106
|
none: false
|
75
107
|
requirements:
|
76
|
-
- -
|
108
|
+
- - ~>
|
77
109
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
110
|
+
version: 2.14.1
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: mocha
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ~>
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 0.14.0
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ~>
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 0.14.0
|
79
127
|
- !ruby/object:Gem::Dependency
|
80
128
|
name: rubocop
|
81
129
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,7 +140,40 @@ dependencies:
|
|
92
140
|
- - ~>
|
93
141
|
- !ruby/object:Gem::Version
|
94
142
|
version: 0.9.0
|
95
|
-
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: guard-rspec
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
147
|
+
requirements:
|
148
|
+
- - ~>
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 3.0.2
|
151
|
+
type: :development
|
152
|
+
prerelease: false
|
153
|
+
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
155
|
+
requirements:
|
156
|
+
- - ~>
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 3.0.2
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: coveralls
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
163
|
+
requirements:
|
164
|
+
- - ~>
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.6.7
|
167
|
+
type: :development
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
171
|
+
requirements:
|
172
|
+
- - ~>
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 0.6.7
|
175
|
+
description: Major refactoring of the public api which now includes correct updating
|
176
|
+
of sauce lab job status and fetching screenshots on failure
|
96
177
|
email:
|
97
178
|
- dave@arrgyle.com
|
98
179
|
- jason@arrgyle.com
|
@@ -100,41 +181,56 @@ executables: []
|
|
100
181
|
extensions: []
|
101
182
|
extra_rdoc_files: []
|
102
183
|
files:
|
184
|
+
- .coveralls.yml
|
103
185
|
- .gitignore
|
186
|
+
- .rspec
|
104
187
|
- .rubocop.yml
|
105
188
|
- .ruby-gemset
|
106
189
|
- .ruby-version
|
107
190
|
- .travis.yml
|
108
191
|
- CHANGELOG.md
|
109
192
|
- Gemfile
|
193
|
+
- Guardfile
|
110
194
|
- README.md
|
111
195
|
- Rakefile
|
112
196
|
- bin/chromedriver
|
113
197
|
- bin/phantomjs
|
114
198
|
- bin/selenium-server-standalone-2.33.0.jar
|
115
199
|
- lib/selenium-connect.rb
|
116
|
-
- lib/
|
117
|
-
- lib/
|
118
|
-
- lib/
|
119
|
-
- lib/
|
120
|
-
- lib/
|
121
|
-
- lib/
|
122
|
-
- lib/
|
123
|
-
- lib/
|
124
|
-
- lib/
|
200
|
+
- lib/selenium_connect.rb
|
201
|
+
- lib/selenium_connect/configuration.rb
|
202
|
+
- lib/selenium_connect/job.rb
|
203
|
+
- lib/selenium_connect/report/job_report.rb
|
204
|
+
- lib/selenium_connect/report/main_report.rb
|
205
|
+
- lib/selenium_connect/report/report_factory.rb
|
206
|
+
- lib/selenium_connect/runner.rb
|
207
|
+
- lib/selenium_connect/runners/chrome.rb
|
208
|
+
- lib/selenium_connect/runners/firefox.rb
|
209
|
+
- lib/selenium_connect/runners/ie.rb
|
210
|
+
- lib/selenium_connect/runners/no_browser.rb
|
211
|
+
- lib/selenium_connect/runners/phantomjs.rb
|
212
|
+
- lib/selenium_connect/runners/saucelabs.rb
|
213
|
+
- lib/selenium_connect/server.rb
|
125
214
|
- selenium-connect.gemspec
|
126
|
-
- spec/
|
127
|
-
- spec/
|
128
|
-
- spec/
|
129
|
-
- spec/
|
130
|
-
- spec/
|
131
|
-
- spec/
|
132
|
-
- spec/
|
133
|
-
- spec/
|
134
|
-
- spec/example.yaml
|
135
|
-
- spec/
|
136
|
-
- spec/
|
137
|
-
- spec/
|
215
|
+
- spec/integration/lib/selenium_connect/runners/chrome_spec.rb
|
216
|
+
- spec/integration/lib/selenium_connect/runners/firefox_spec.rb
|
217
|
+
- spec/integration/lib/selenium_connect/runners/headless_spec.rb
|
218
|
+
- spec/integration/lib/selenium_connect/runners/ie_spec.rb
|
219
|
+
- spec/integration/lib/selenium_connect/runners/phantomjs_spec.rb
|
220
|
+
- spec/integration/lib/selenium_connect/runners/sauce_spec.rb
|
221
|
+
- spec/integration/lib/selenium_connect_spec.rb
|
222
|
+
- spec/spec_helper.rb
|
223
|
+
- spec/support/example.yaml
|
224
|
+
- spec/support/example_page_object.rb
|
225
|
+
- spec/support/integration_helper.rb
|
226
|
+
- spec/unit/lib/selenium-connect_spec.rb
|
227
|
+
- spec/unit/lib/selenium_connect/configuration_spec.rb
|
228
|
+
- spec/unit/lib/selenium_connect/job_spec.rb
|
229
|
+
- spec/unit/lib/selenium_connect/report/job_report_spec.rb
|
230
|
+
- spec/unit/lib/selenium_connect/report/main_report_spec.rb
|
231
|
+
- spec/unit/lib/selenium_connect/report/report_factory_spec.rb
|
232
|
+
- spec/unit/lib/selenium_connect/runners/.gitkeep
|
233
|
+
- spec/unit/lib/selenium_connect_spec.rb
|
138
234
|
homepage: https://github.com/arrgyle/selenium-connect
|
139
235
|
licenses:
|
140
236
|
- MIT
|
@@ -156,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
252
|
version: '0'
|
157
253
|
segments:
|
158
254
|
- 0
|
159
|
-
hash:
|
255
|
+
hash: -448221364801641841
|
160
256
|
requirements: []
|
161
257
|
rubyforge_project:
|
162
258
|
rubygems_version: 1.8.25
|