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: 6b246c85cb90145f058da79dac65a4826dce3c1f
4
- data.tar.gz: ec1754a3f0fc0bb06c87624d76152a19afb4a5a7
3
+ metadata.gz: a0bfe1549c5e6a5186821c6124058cfcbf19fdd7
4
+ data.tar.gz: bc2592e9194a7aca7fc06217441ff80e34e4f7a9
5
5
  SHA512:
6
- metadata.gz: 16ac3a5fb9385eb4278d1ca43ed330072e10438bde2779b23f43532e75dd77831802a9ff044f276c1f9241ef30611fb9128a7c33ee04fe5043c3d24fabe01d86
7
- data.tar.gz: b6f4f774eadf120d651b9047d193b215734023f2aa29837884d5daddfac46797c6a27354980e34513cc0621c82eeb50681d8bf7e6a99d06161994f84af874014
6
+ metadata.gz: b595bc158eab97ee7e77368519b8898ca6977dab1c2db67cf4b5d721f2a34ff5f3bc3df0b4ed6905a9c2f29c8fa692774c987eeca557559c63ca337e4859ecfa
7
+ data.tar.gz: 6ee7189666de0394d495b4c4b5ad30c737ca6c141ee31c9043cc14b552abb6d1ce410115e6efab0534cb44217ecd31ca9e0b4bca353210943f9f3dc6bb386540
@@ -22,6 +22,8 @@ Then(/^I can(not)? see:( within (?:.*))?$/) do |is_not, within_block, table|
22
22
  }
23
23
  end
24
24
 
25
+ Waiter.wait_for_ajax
26
+
25
27
  case table.headers.length
26
28
  when 1
27
29
  check = check.curry['']
@@ -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
- input.find(:xpath, "./ancestor::*[#{xpath}][#{index}]/#{xpath}").click
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)
@@ -1,3 +1,3 @@
1
1
  module Pickles
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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-09 00:00:00.000000000 Z
11
+ date: 2017-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara