pickles 0.1.2 → 0.1.3
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: b88674382914897752d9bcb69e46a941d7caa8cb
|
4
|
+
data.tar.gz: 3442c729baefa56eb638c1efb200b46a84a87766
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3367879a78a5d2bd0a8ce1d52718e4574d5c0dcae196e6aca83ea664282b4b505edca70249f018e39a74e3428398af5149084b06f314658d08f0458410fe4d24
|
7
|
+
data.tar.gz: 346b019fac361c97bcbdf01d3f5b2fd15bc2ec7ebee9e516bb2f41d59685065a773c1540c7bada794e1aa7202868577f42ec476a0253d1aeace6a75505d2ed6c
|
@@ -58,7 +58,7 @@ module NodeFinders
|
|
58
58
|
else
|
59
59
|
_rescued_find(search_params, locator || el_alias, within: within, message: "Detecting by #{xpath || css}") do
|
60
60
|
raise Capybara::ElementNotFound,
|
61
|
-
"Unable to detect node by locator #{locator}",
|
61
|
+
"Unable to detect node by locator #{css || xpath} #{locator}",
|
62
62
|
caller
|
63
63
|
end
|
64
64
|
end
|
@@ -3,7 +3,9 @@ within_reg = /\A\s*(.*)?\s*(?:["|'](.*?)["|'])?\s*\Z/
|
|
3
3
|
Transform(/(within .*)$/) do |within_info|
|
4
4
|
splitted = within_info.split('within').reject(&:blank?)
|
5
5
|
|
6
|
-
|
6
|
+
Waiter.wait_for_ajax
|
7
|
+
|
8
|
+
splitted.reverse_each.inject(page) do |within, info|
|
7
9
|
captures = Helpers::Regex::WITHIN.match(info).captures
|
8
10
|
el_alias = captures[0]
|
9
11
|
locator = captures[1]
|