pickles 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0bfe1549c5e6a5186821c6124058cfcbf19fdd7
|
4
|
+
data.tar.gz: bc2592e9194a7aca7fc06217441ff80e34e4f7a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b595bc158eab97ee7e77368519b8898ca6977dab1c2db67cf4b5d721f2a34ff5f3bc3df0b4ed6905a9c2f29c8fa692774c987eeca557559c63ca337e4859ecfa
|
7
|
+
data.tar.gz: 6ee7189666de0394d495b4c4b5ad30c737ca6c141ee31c9043cc14b552abb6d1ce410115e6efab0534cb44217ecd31ca9e0b4bca353210943f9f3dc6bb386540
|
@@ -7,15 +7,16 @@ class FillIN::JsSelect
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def call
|
10
|
-
input = FillIN::Input.new(@label, @value, @within).call
|
11
|
-
|
12
10
|
locator, index = Locator::Index.execute(@value)
|
13
11
|
locator, xpath = Locator::Equal.execute(locator)
|
14
12
|
|
15
13
|
index ||= 1
|
16
14
|
|
15
|
+
input = FillIN::Input.new(@label, locator, @within).call
|
16
|
+
|
17
17
|
Waiter.wait do
|
18
|
-
|
18
|
+
# prev version "(./ancestor::*[#{xpath}][#{index}]/#{xpath})[#{index}]"
|
19
|
+
input.find(:xpath, "(./ancestor::*[#{xpath}]/#{xpath})[#{index}]").click
|
19
20
|
end
|
20
21
|
|
21
22
|
Pickles.blur(input)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pickles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|