testcentricity_web 2.2.0 → 2.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: a22d10e0a98ccb67cbad9cbd9b53ec13aca5e5a8
|
4
|
+
data.tar.gz: 080382fb259e781f11dbdd2482273c990dc89abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8deb7b3f53d6e059a1fecceb37054b8818b28c1f50c627769d6b2e0e21fa6acc9e4ce3d0b99423cabafb1da729b3b396fdfebf31b3031b8c236db48dc1b22cf5
|
7
|
+
data.tar.gz: 6b504a926fb6d58edd47331207fb5af0185eba4d84eb50f0eac39be82e7193ad836606fa74665e8226a60253cb9a3733f6c77802a51317ec28eb1ca067f9957b
|
@@ -49,7 +49,11 @@ module TestCentricity
|
|
49
49
|
page.find(:css, "li[class*='active-result']", text: item.strip).click
|
50
50
|
end
|
51
51
|
else
|
52
|
-
|
52
|
+
if option.is_a?(Hash)
|
53
|
+
page.find(:css, "li[class*='active-result']:nth-of-type(#{option[:index]})").click if option.has_key?(:index)
|
54
|
+
else
|
55
|
+
first(:css, "li[class*='active-result']", text: option).click
|
56
|
+
end
|
53
57
|
end
|
54
58
|
else
|
55
59
|
if option.is_a?(Array)
|