eyes_selenium 2.15.0 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -2
- data/.travis.yml +16 -0
- data/Gemfile +1 -1
- data/README.md +14 -4
- data/Rakefile +8 -1
- data/eyes_selenium.gemspec +26 -17
- data/lib/applitools/base/batch_info.rb +19 -0
- data/lib/applitools/base/dimension.rb +21 -0
- data/lib/applitools/base/environment.rb +19 -0
- data/lib/applitools/base/mouse_trigger.rb +33 -0
- data/lib/applitools/base/point.rb +21 -0
- data/lib/applitools/base/region.rb +77 -0
- data/lib/applitools/base/server_connector.rb +113 -0
- data/lib/applitools/base/session.rb +15 -0
- data/lib/applitools/base/start_info.rb +34 -0
- data/lib/applitools/base/test_results.rb +36 -0
- data/lib/applitools/base/text_trigger.rb +22 -0
- data/lib/applitools/eyes.rb +393 -0
- data/lib/applitools/eyes_logger.rb +40 -0
- data/lib/applitools/method_tracer.rb +22 -0
- data/lib/applitools/selenium/driver.rb +194 -0
- data/lib/applitools/selenium/element.rb +66 -0
- data/lib/applitools/selenium/keyboard.rb +27 -0
- data/lib/applitools/selenium/match_window_data.rb +24 -0
- data/lib/applitools/selenium/match_window_task.rb +190 -0
- data/lib/applitools/selenium/mouse.rb +62 -0
- data/lib/applitools/selenium/viewport_size.rb +128 -0
- data/lib/applitools/utils/image_delta_compressor.rb +150 -0
- data/lib/applitools/utils/image_utils.rb +63 -0
- data/lib/applitools/utils/utils.rb +52 -0
- data/lib/applitools/version.rb +3 -0
- data/lib/eyes_selenium.rb +9 -29
- data/spec/driver_passthrough_spec.rb +25 -25
- data/spec/spec_helper.rb +5 -8
- data/test/appium_example_script.rb +57 -0
- data/{test_script.rb → test/test_script.rb} +7 -9
- data/{watir_test.rb → test/watir_test_script.rb} +6 -4
- metadata +120 -48
- data/appium_eyes_example.rb +0 -56
- data/lib/eyes_selenium/capybara.rb +0 -21
- data/lib/eyes_selenium/eyes/agent_connector.rb +0 -76
- data/lib/eyes_selenium/eyes/batch_info.rb +0 -19
- data/lib/eyes_selenium/eyes/dimension.rb +0 -15
- data/lib/eyes_selenium/eyes/driver.rb +0 -266
- data/lib/eyes_selenium/eyes/element.rb +0 -78
- data/lib/eyes_selenium/eyes/environment.rb +0 -15
- data/lib/eyes_selenium/eyes/eyes.rb +0 -396
- data/lib/eyes_selenium/eyes/eyes_keyboard.rb +0 -25
- data/lib/eyes_selenium/eyes/eyes_mouse.rb +0 -60
- data/lib/eyes_selenium/eyes/failure_reports.rb +0 -4
- data/lib/eyes_selenium/eyes/match_level.rb +0 -8
- data/lib/eyes_selenium/eyes/match_window_data.rb +0 -18
- data/lib/eyes_selenium/eyes/match_window_task.rb +0 -182
- data/lib/eyes_selenium/eyes/mouse_trigger.rb +0 -23
- data/lib/eyes_selenium/eyes/region.rb +0 -72
- data/lib/eyes_selenium/eyes/screenshot_taker.rb +0 -18
- data/lib/eyes_selenium/eyes/session.rb +0 -14
- data/lib/eyes_selenium/eyes/start_info.rb +0 -32
- data/lib/eyes_selenium/eyes/test_results.rb +0 -32
- data/lib/eyes_selenium/eyes/text_trigger.rb +0 -19
- data/lib/eyes_selenium/eyes/viewport_size.rb +0 -105
- data/lib/eyes_selenium/eyes_logger.rb +0 -47
- data/lib/eyes_selenium/utils.rb +0 -6
- data/lib/eyes_selenium/utils/image_delta_compressor.rb +0 -149
- data/lib/eyes_selenium/utils/image_utils.rb +0 -76
- data/lib/eyes_selenium/version.rb +0 -3
data/lib/eyes_selenium.rb
CHANGED
@@ -1,41 +1,21 @@
|
|
1
|
-
require 'json'
|
2
|
-
require 'eyes_selenium/eyes_logger'
|
3
|
-
require 'json'
|
4
1
|
module Applitools
|
5
|
-
|
2
|
+
ROOT_DIR = File.join(File.dirname(File.expand_path(__FILE__)), 'applitools').freeze
|
3
|
+
|
4
|
+
Dir["#{ROOT_DIR}/*.rb"].each {|f| require f}
|
5
|
+
Dir["#{ROOT_DIR}/**/*.rb"].each {|f| require f}
|
6
|
+
|
6
7
|
class EyesError < StandardError; end
|
7
8
|
class EyesAbort < EyesError; end
|
8
9
|
|
9
10
|
class TestFailedError < StandardError
|
10
11
|
attr_accessor :test_results
|
11
|
-
|
12
|
+
|
13
|
+
def initialize(message, test_results = nil)
|
12
14
|
super(message)
|
15
|
+
|
13
16
|
@test_results = test_results
|
14
17
|
end
|
15
18
|
end
|
16
|
-
class NewTestError < TestFailedError; end
|
17
19
|
|
18
|
-
|
19
|
-
require 'eyes_selenium/version'
|
20
|
-
require 'eyes_selenium/eyes/agent_connector'
|
21
|
-
require 'eyes_selenium/eyes/batch_info'
|
22
|
-
require 'eyes_selenium/eyes/dimension'
|
23
|
-
require 'eyes_selenium/eyes/driver'
|
24
|
-
require 'eyes_selenium/eyes/element'
|
25
|
-
require 'eyes_selenium/eyes/environment'
|
26
|
-
require 'eyes_selenium/eyes/eyes'
|
27
|
-
require 'eyes_selenium/eyes/eyes_keyboard'
|
28
|
-
require 'eyes_selenium/eyes/eyes_mouse'
|
29
|
-
require 'eyes_selenium/eyes/failure_reports'
|
30
|
-
require 'eyes_selenium/eyes/match_level'
|
31
|
-
require 'eyes_selenium/eyes/match_window_data'
|
32
|
-
require 'eyes_selenium/eyes/match_window_task'
|
33
|
-
require 'eyes_selenium/eyes/mouse_trigger'
|
34
|
-
require 'eyes_selenium/eyes/region'
|
35
|
-
require 'eyes_selenium/eyes/screenshot_taker'
|
36
|
-
require 'eyes_selenium/eyes/session'
|
37
|
-
require 'eyes_selenium/eyes/start_info'
|
38
|
-
require 'eyes_selenium/eyes/test_results'
|
39
|
-
require 'eyes_selenium/eyes/text_trigger'
|
40
|
-
require 'eyes_selenium/eyes/viewport_size'
|
20
|
+
class NewTestError < TestFailedError; end
|
41
21
|
end
|
@@ -1,57 +1,57 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe '
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
@driver.
|
3
|
+
describe 'passthrough methods' do
|
4
|
+
let(:static_file) { "file://#{File.dirname(__FILE__)}/fixtures/static_test_file.html" }
|
5
|
+
let(:eyes) { Applitools::Eyes.new }
|
6
|
+
let(:web_driver) { Selenium::WebDriver.for :phantomjs }
|
7
|
+
|
8
|
+
before do |example|
|
9
|
+
eyes.api_key = 'dummy_key'
|
10
|
+
|
11
|
+
@driver = eyes.open(app_name: 'Specs', test_name: example.metadata[:full_description],
|
12
|
+
viewport_size: {width: 800, height: 600}, driver: web_driver)
|
13
|
+
@driver.get static_file
|
12
14
|
end
|
13
15
|
|
14
|
-
after
|
15
|
-
|
16
|
+
after do
|
17
|
+
eyes.close
|
18
|
+
|
16
19
|
@driver.quit
|
17
20
|
end
|
18
21
|
|
19
22
|
it 'current_url' do
|
20
23
|
url = @driver.current_url
|
21
|
-
expect(url).to eq
|
24
|
+
expect(url).to eq(static_file)
|
22
25
|
end
|
23
26
|
|
24
27
|
describe 'find_element(s)' do
|
25
28
|
context 'single element' do
|
26
|
-
|
27
29
|
it 'explicit' do
|
28
30
|
link = @driver.find_element(:css, 'a')
|
29
|
-
expect(link).
|
30
|
-
expect(link).to be_a
|
31
|
+
expect(link).not_to be_nil
|
32
|
+
expect(link).to be_a(Applitools::Selenium::Element)
|
31
33
|
end
|
32
34
|
|
33
35
|
it 'by hash' do
|
34
36
|
link = @driver.find_element(css: 'a')
|
35
|
-
expect(link).
|
36
|
-
expect(link).to be_a
|
37
|
+
expect(link).not_to be_nil
|
38
|
+
expect(link).to be_a(Applitools::Selenium::Element)
|
37
39
|
end
|
38
|
-
|
39
40
|
end
|
40
41
|
|
41
42
|
context 'all elements' do
|
42
|
-
|
43
43
|
it 'explicit' do
|
44
44
|
collection = @driver.find_elements(css: 'a')
|
45
|
-
expect(collection).
|
46
|
-
expect(collection[0]).to be_a
|
47
|
-
expect(collection[1]).to be_a
|
45
|
+
expect(collection).not_to be_nil
|
46
|
+
expect(collection[0]).to be_a(Applitools::Selenium::Element)
|
47
|
+
expect(collection[1]).to be_a(Applitools::Selenium::Element)
|
48
48
|
end
|
49
49
|
|
50
50
|
it 'by hash' do
|
51
51
|
collection = @driver.find_elements(css: 'a')
|
52
|
-
expect(collection).
|
53
|
-
expect(collection[0]).to be_a
|
54
|
-
expect(collection[1]).to be_a
|
52
|
+
expect(collection).not_to be_nil
|
53
|
+
expect(collection[0]).to be_a(Applitools::Selenium::Element)
|
54
|
+
expect(collection[1]).to be_a(Applitools::Selenium::Element)
|
55
55
|
end
|
56
56
|
end
|
57
57
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,19 +1,16 @@
|
|
1
1
|
require 'eyes_selenium'
|
2
2
|
|
3
|
-
STATIC_FILE = "file://#{File.dirname(__FILE__)}/fixtures/static_test_file.html"
|
4
|
-
|
5
3
|
RSpec.configure do |config|
|
6
4
|
config.before do
|
7
|
-
|
8
|
-
|
9
|
-
Applitools::Session.new('dummy_id', 'dummy_url', true )
|
5
|
+
allow_any_instance_of(Applitools::Base::ServerConnector).to receive(:start_session) do
|
6
|
+
Applitools::Base::Session.new('dummy_id', 'dummy_url', true )
|
10
7
|
end
|
11
8
|
|
12
|
-
allow_any_instance_of(Applitools::
|
13
|
-
Applitools::TestResults.new()
|
9
|
+
allow_any_instance_of(Applitools::Base::ServerConnector).to receive(:stop_session) do
|
10
|
+
Applitools::Base::TestResults.new()
|
14
11
|
end
|
15
12
|
|
16
|
-
allow_any_instance_of(Applitools::
|
13
|
+
allow_any_instance_of(Applitools::Base::ServerConnector).to receive(:match_window) do
|
17
14
|
true
|
18
15
|
end
|
19
16
|
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
require_relative '../lib/eyes_selenium'
|
2
|
+
|
3
|
+
require 'logger'
|
4
|
+
require 'appium_lib'
|
5
|
+
|
6
|
+
# Based on Appium example: https://github.com/appium/appium/blob/master/sample-code/examples/ruby/
|
7
|
+
|
8
|
+
def android_caps
|
9
|
+
{
|
10
|
+
deviceName: 'Samsung Galaxy S4 Emulator',
|
11
|
+
platformName: 'Android',
|
12
|
+
platformVersion: 4.4,
|
13
|
+
app: ENV['ANDROID_NOTES_LIST_APP'],
|
14
|
+
appPackage: 'com.example.android.notepad',
|
15
|
+
appActivity: '.NotesList',
|
16
|
+
# orientation: 'landscape',
|
17
|
+
newCommandTimeout: 300
|
18
|
+
}
|
19
|
+
end
|
20
|
+
|
21
|
+
def ios_caps
|
22
|
+
{
|
23
|
+
deviceName: 'iPhone 6',
|
24
|
+
platformName: 'ios',
|
25
|
+
platformVersion: 8.3,
|
26
|
+
app: ENV['IOS_DEMO_APP'],
|
27
|
+
orientation: 'landscape',
|
28
|
+
newCommandTimeout: 300
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
def appium_opts
|
33
|
+
{
|
34
|
+
server_url: 'http://127.0.0.1:4723/wd/hub',
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
eyes = Applitools::Eyes.new
|
39
|
+
eyes.log_handler = Logger.new(STDOUT)
|
40
|
+
eyes.api_key = ENV['APPLITOOLS_API_KEY']
|
41
|
+
|
42
|
+
begin
|
43
|
+
# driver = Appium::Driver.new({caps: android_caps, appium_lib: appium_opts})
|
44
|
+
driver = Appium::Driver.new(caps: ios_caps, appium_lib: appium_opts)
|
45
|
+
driver.start_driver
|
46
|
+
# driver.driver.rotate :landscape
|
47
|
+
puts "Screen size: #{driver.driver.manage.window.size}"
|
48
|
+
puts "orientation: #{driver.driver.orientation}"
|
49
|
+
puts driver.caps
|
50
|
+
eyes.open(app_name: 'Ruby SDK', test_name: 'Appium Notepad', driver: driver)
|
51
|
+
|
52
|
+
eyes.check_window('No notes')
|
53
|
+
eyes.close
|
54
|
+
ensure
|
55
|
+
eyes.abort_if_not_closed
|
56
|
+
driver.driver_quit
|
57
|
+
end
|
@@ -1,18 +1,16 @@
|
|
1
|
-
|
2
|
-
require 'logger'
|
1
|
+
require_relative '../lib/eyes_selenium'
|
3
2
|
|
4
|
-
|
5
|
-
# OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
3
|
+
require 'logger'
|
6
4
|
|
7
5
|
eyes = Applitools::Eyes.new
|
8
|
-
|
9
|
-
my_webdriver = Selenium::WebDriver.for :chrome
|
10
6
|
eyes.api_key = ENV['APPLITOOLS_API_KEY']
|
11
7
|
eyes.log_handler = Logger.new(STDOUT)
|
12
8
|
|
13
|
-
|
14
9
|
begin
|
15
|
-
|
10
|
+
web_driver = Selenium::WebDriver.for :chrome
|
11
|
+
|
12
|
+
eyes.test(app_name: 'Ruby SDK', test_name: 'Applitools website test', viewport_size: {width: 900, height: 600},
|
13
|
+
driver: web_driver) do |driver|
|
16
14
|
driver.get 'http://www.applitools.com'
|
17
15
|
eyes.check_window('initial')
|
18
16
|
eyes.check_region(:css, '.pricing', 'Pricing button')
|
@@ -20,5 +18,5 @@ begin
|
|
20
18
|
eyes.check_window('pricing page')
|
21
19
|
end
|
22
20
|
ensure
|
23
|
-
|
21
|
+
web_driver.quit
|
24
22
|
end
|
@@ -1,15 +1,17 @@
|
|
1
|
-
|
1
|
+
require_relative '../lib/eyes_selenium'
|
2
|
+
|
2
3
|
require 'logger'
|
3
4
|
require 'watir-webdriver'
|
4
5
|
|
5
|
-
|
6
|
-
browser = Watir::Browser.new
|
7
6
|
eyes = Applitools::Eyes.new
|
8
7
|
eyes.api_key = ENV['APPLITOOLS_API_KEY']
|
9
8
|
eyes.log_handler = Logger.new(STDOUT)
|
10
9
|
|
10
|
+
browser = Watir::Browser.new
|
11
|
+
|
11
12
|
begin
|
12
|
-
eyes.test(app_name: 'Ruby SDK', test_name: 'Applitools website test', viewport_size: {width:
|
13
|
+
eyes.test(app_name: 'Ruby SDK', test_name: 'Applitools website test', viewport_size: {width: 900, height: 600},
|
14
|
+
driver: browser) do |driver|
|
13
15
|
driver.get 'http://www.applitools.com'
|
14
16
|
eyes.check_window('initial')
|
15
17
|
eyes.check_region(:css, '.pricing', 'Pricing button')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_selenium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Applitools
|
7
|
+
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.45.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: oily_png
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,33 +39,47 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: faraday
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: oj
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- - "
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
75
|
+
version: '0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- - "
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rake
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,30 +100,86 @@ dependencies:
|
|
86
100
|
requirements:
|
87
101
|
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
103
|
+
version: '3'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
110
|
+
version: '3'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
112
|
+
name: watir-webdriver
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - ">="
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
117
|
+
version: '0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - ">="
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: appium_lib
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry-byebug
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry-doc
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
111
181
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
182
|
+
name: pry-stack_explorer
|
113
183
|
requirement: !ruby/object:Gem::Requirement
|
114
184
|
requirements:
|
115
185
|
- - ">="
|
@@ -131,47 +201,46 @@ extra_rdoc_files: []
|
|
131
201
|
files:
|
132
202
|
- ".gitignore"
|
133
203
|
- ".rspec"
|
204
|
+
- ".travis.yml"
|
134
205
|
- Gemfile
|
135
206
|
- LICENSE.txt
|
136
207
|
- README.md
|
137
208
|
- Rakefile
|
138
|
-
- appium_eyes_example.rb
|
139
209
|
- certs/cacert.pem
|
140
210
|
- eyes_selenium.gemspec
|
211
|
+
- lib/applitools/base/batch_info.rb
|
212
|
+
- lib/applitools/base/dimension.rb
|
213
|
+
- lib/applitools/base/environment.rb
|
214
|
+
- lib/applitools/base/mouse_trigger.rb
|
215
|
+
- lib/applitools/base/point.rb
|
216
|
+
- lib/applitools/base/region.rb
|
217
|
+
- lib/applitools/base/server_connector.rb
|
218
|
+
- lib/applitools/base/session.rb
|
219
|
+
- lib/applitools/base/start_info.rb
|
220
|
+
- lib/applitools/base/test_results.rb
|
221
|
+
- lib/applitools/base/text_trigger.rb
|
222
|
+
- lib/applitools/eyes.rb
|
223
|
+
- lib/applitools/eyes_logger.rb
|
224
|
+
- lib/applitools/method_tracer.rb
|
225
|
+
- lib/applitools/selenium/driver.rb
|
226
|
+
- lib/applitools/selenium/element.rb
|
227
|
+
- lib/applitools/selenium/keyboard.rb
|
228
|
+
- lib/applitools/selenium/match_window_data.rb
|
229
|
+
- lib/applitools/selenium/match_window_task.rb
|
230
|
+
- lib/applitools/selenium/mouse.rb
|
231
|
+
- lib/applitools/selenium/viewport_size.rb
|
232
|
+
- lib/applitools/utils/image_delta_compressor.rb
|
233
|
+
- lib/applitools/utils/image_utils.rb
|
234
|
+
- lib/applitools/utils/utils.rb
|
235
|
+
- lib/applitools/version.rb
|
141
236
|
- lib/eyes_selenium.rb
|
142
|
-
- lib/eyes_selenium/capybara.rb
|
143
|
-
- lib/eyes_selenium/eyes/agent_connector.rb
|
144
|
-
- lib/eyes_selenium/eyes/batch_info.rb
|
145
|
-
- lib/eyes_selenium/eyes/dimension.rb
|
146
|
-
- lib/eyes_selenium/eyes/driver.rb
|
147
|
-
- lib/eyes_selenium/eyes/element.rb
|
148
|
-
- lib/eyes_selenium/eyes/environment.rb
|
149
|
-
- lib/eyes_selenium/eyes/eyes.rb
|
150
|
-
- lib/eyes_selenium/eyes/eyes_keyboard.rb
|
151
|
-
- lib/eyes_selenium/eyes/eyes_mouse.rb
|
152
|
-
- lib/eyes_selenium/eyes/failure_reports.rb
|
153
|
-
- lib/eyes_selenium/eyes/match_level.rb
|
154
|
-
- lib/eyes_selenium/eyes/match_window_data.rb
|
155
|
-
- lib/eyes_selenium/eyes/match_window_task.rb
|
156
|
-
- lib/eyes_selenium/eyes/mouse_trigger.rb
|
157
|
-
- lib/eyes_selenium/eyes/region.rb
|
158
|
-
- lib/eyes_selenium/eyes/screenshot_taker.rb
|
159
|
-
- lib/eyes_selenium/eyes/session.rb
|
160
|
-
- lib/eyes_selenium/eyes/start_info.rb
|
161
|
-
- lib/eyes_selenium/eyes/test_results.rb
|
162
|
-
- lib/eyes_selenium/eyes/text_trigger.rb
|
163
|
-
- lib/eyes_selenium/eyes/viewport_size.rb
|
164
|
-
- lib/eyes_selenium/eyes_logger.rb
|
165
|
-
- lib/eyes_selenium/utils.rb
|
166
|
-
- lib/eyes_selenium/utils/image_delta_compressor.rb
|
167
|
-
- lib/eyes_selenium/utils/image_utils.rb
|
168
|
-
- lib/eyes_selenium/version.rb
|
169
237
|
- spec/driver_passthrough_spec.rb
|
170
238
|
- spec/fixtures/static_test_file.html
|
171
239
|
- spec/spec_helper.rb
|
172
|
-
-
|
173
|
-
-
|
174
|
-
|
240
|
+
- test/appium_example_script.rb
|
241
|
+
- test/test_script.rb
|
242
|
+
- test/watir_test_script.rb
|
243
|
+
homepage: https://www.applitools.com
|
175
244
|
licenses:
|
176
245
|
- Apache License, Version 2.0
|
177
246
|
metadata: {}
|
@@ -199,3 +268,6 @@ test_files:
|
|
199
268
|
- spec/driver_passthrough_spec.rb
|
200
269
|
- spec/fixtures/static_test_file.html
|
201
270
|
- spec/spec_helper.rb
|
271
|
+
- test/appium_example_script.rb
|
272
|
+
- test/test_script.rb
|
273
|
+
- test/watir_test_script.rb
|