eyes_selenium 2.25.0 → 2.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/applitools/eyes.rb +6 -0
- data/lib/applitools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc336145cdef7b30addf33f7c4f6dee87a9848a5
|
4
|
+
data.tar.gz: 6e67c615a5a95dec663d325aa0ff940a7adf2404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84b810da238bc26c21e4243a20da8dc74939b1c654ce07866d1249f5dd664fbef4a6635902ec8f6462bb9cfa92089eb4d7344d6532d4ab04e143d0070183019a
|
7
|
+
data.tar.gz: 79914dc38cbd922a1ece782e96c1610922771a9a476a237be35087b6d5950eb49f74cf5fbbe199aa14e3d3fd338779486e95f085f17129f49f58724889a3e6bf
|
data/lib/applitools/eyes.rb
CHANGED
@@ -145,7 +145,13 @@ class Applitools::Eyes
|
|
145
145
|
|
146
146
|
@user_inputs = []
|
147
147
|
@app_name = options.fetch(:app_name)
|
148
|
+
if @app_name.nil? || @app_name.empty?
|
149
|
+
raise Applitools::EyesError.new('App name must be a non empty string.')
|
150
|
+
end
|
148
151
|
@test_name = options.fetch(:test_name)
|
152
|
+
if @test_name.nil? || @test_name.empty?
|
153
|
+
raise Applitools::EyesError.new('Test name must be a non empty string.')
|
154
|
+
end
|
149
155
|
@viewport_size = options.fetch(:viewport_size, nil)
|
150
156
|
|
151
157
|
@is_open = true
|
data/lib/applitools/version.rb
CHANGED
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.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|