effective_test_bot 1.5.6 → 1.5.7
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f86b5ccc8292ae859595990c098b6ef9b0e68151ac13d9c1bc27d28288ef28c
|
4
|
+
data.tar.gz: 2b9a9054448b9298c23bc204145d3b6f0ac1b8d975f0f342f46b1d4e36b76770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e019e7a80ee2febd569b9087f5f49f33353afb39ae3ace0697c33af7c0381bd7394b522de3217c2f06ba6fb69181d11ad6144bb8a9f2ce78376d892164bf901
|
7
|
+
data.tar.gz: 429cdc8e54934ca69327b82655c44239c45f2df094d13f68fbd3e5cdebc9da9819f66518cccfacc5c7f873e0b4992f2c8a42549a05c8bf249bf9bbae524459f4
|
@@ -94,6 +94,14 @@ module EffectiveTestBotTestHelper
|
|
94
94
|
click_link(label, match: :first)
|
95
95
|
end
|
96
96
|
|
97
|
+
def click_dropdown_link(label)
|
98
|
+
dropdown = first(".btn.dropdown-toggle")
|
99
|
+
raise("Unable to find a .btn.dropdown-toggle") unless dropdown.present?
|
100
|
+
|
101
|
+
dropdown.click
|
102
|
+
within_first("div.dropdown-menu") { submit_form(label) }
|
103
|
+
end
|
104
|
+
|
97
105
|
def effective_bootstrap_custom_data_confirm?
|
98
106
|
(page.evaluate_script('$.rails.effective_bootstrap_custom_data_confirm') rescue nil) ||
|
99
107
|
(page.evaluate_script('window.Rails.effective_bootstrap_custom_data_confirm') rescue nil)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_test_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|