bimblis 0.0.92 → 0.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/basic_methods.rb +0 -59
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDViMDhhOWY2MzM5ZGNhYWQ4OGFiMzhlNGRlNjcyYmJjMmYwMzJlMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2FjMjY4OWIyMjdkMGJmZWE5OGU1OTk1YmIyNzU0ODU4Nzk2ZjJjOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTA0YWE3OTU4NzYxMmFlODQ5Y2FjMTVlYzhlZDQ1ODEyOTdjNTkyN2JhMmEy
|
10
|
+
OTk2MDFiZThkNWRmYjExNjQxMGY1MmZkZTk1ZGM3NzYyZjA0MDljYjUyZTUx
|
11
|
+
MDZhYjc0OGMxZjM1YWNjMTA1ODU2YmJkMTA3YWVkMmQ5YWM1OGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjA5NThmY2ExYWY5MTI4ZTgxOWRiMGU1MTg1Y2NkYzY5OWY2NWQ1NWY4NzNh
|
14
|
+
MDIzNDI2NGNjN2VjZmFlNDljNzQwMzUxZTk3YTk5ZThkYTZiMzBiOTM4MjZk
|
15
|
+
OGNkZWYzNWIyZDVlNmZlNzU1MmRlMDhiZjI1MmVlOWY1MTljZGU=
|
data/lib/basic_methods.rb
CHANGED
@@ -4,10 +4,6 @@ module BasicMethods
|
|
4
4
|
include PageObject
|
5
5
|
include PageObject::PageFactory
|
6
6
|
|
7
|
-
#
|
8
|
-
# METHODS SECTION
|
9
|
-
#
|
10
|
-
|
11
7
|
def refresh_until_element_present (times, seconds, element)
|
12
8
|
element = element.downcase.gsub(' ', '_')
|
13
9
|
exists = send("#{element}?")
|
@@ -95,16 +91,6 @@ module BasicMethods
|
|
95
91
|
select.click
|
96
92
|
end
|
97
93
|
|
98
|
-
# def click_link (element)
|
99
|
-
# element = element.downcase.gsub(' ', '_')
|
100
|
-
# wait_until{send("#{element}_link?")}
|
101
|
-
#
|
102
|
-
# select = send("#{element}_link_element")
|
103
|
-
# wait_until{select.visible?}
|
104
|
-
#
|
105
|
-
# send("#{element}_link")
|
106
|
-
# end
|
107
|
-
|
108
94
|
def check_checkbox (check, element)
|
109
95
|
element = element.downcase.gsub(' ', '_')
|
110
96
|
wait_until{send("#{element}?")}
|
@@ -121,17 +107,6 @@ module BasicMethods
|
|
121
107
|
end
|
122
108
|
end
|
123
109
|
|
124
|
-
# def click_button(element)
|
125
|
-
# element = element.downcase.gsub(' ', '_')
|
126
|
-
# wait_until{send("#{element}_button?")}
|
127
|
-
#
|
128
|
-
# button = send("#{element}_button_element")
|
129
|
-
# wait_until{button.enabled?}
|
130
|
-
# wait_until{button.visible?}
|
131
|
-
#
|
132
|
-
# send("#{element}_button")
|
133
|
-
# end
|
134
|
-
|
135
110
|
def check_existence_element(exist, element)
|
136
111
|
element = element.downcase.gsub(' ', '_')
|
137
112
|
|
@@ -188,40 +163,6 @@ module BasicMethods
|
|
188
163
|
send("#{element}=", sample_text)
|
189
164
|
end
|
190
165
|
|
191
|
-
#def check_element_content(element)
|
192
|
-
# element = element.downcase.gsub(' ', '_')
|
193
|
-
# wait_until{send("#{element}?")}
|
194
|
-
# value = "false"
|
195
|
-
# select = send("#{element}")
|
196
|
-
#
|
197
|
-
# $text_info.each { |x|
|
198
|
-
# if select.downcase.include? x.downcase
|
199
|
-
# value = "true"
|
200
|
-
# end
|
201
|
-
# }
|
202
|
-
# unless value == "true"
|
203
|
-
# p select.downcase
|
204
|
-
# p $text_info
|
205
|
-
# raise 'Not found'
|
206
|
-
# end
|
207
|
-
#end
|
208
|
-
|
209
|
-
# def check_element_not_contains(element)
|
210
|
-
# element = element.downcase.gsub(' ', '_')
|
211
|
-
# wait_until{send("#{element}?")}
|
212
|
-
# value = "false"
|
213
|
-
# select = send("#{element}")
|
214
|
-
#
|
215
|
-
# $text_info.each { |x|
|
216
|
-
# if select.downcase.include? x.downcase
|
217
|
-
# value = "true"
|
218
|
-
# end
|
219
|
-
# }
|
220
|
-
# unless value == "false"
|
221
|
-
# raise 'Found!'
|
222
|
-
# end
|
223
|
-
# end
|
224
|
-
|
225
166
|
def check_element_contains(element_objective, element_memory)
|
226
167
|
element_objective = element_objective.downcase.gsub(' ', '_')
|
227
168
|
element_memory = element_memory.downcase.gsub(' ', '_')
|