File tree 5 files changed +51
-54
lines changed
5 files changed +51
-54
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,10 @@ def before_first
10
10
11
11
wait_opts = { timeout : 0.2 , interval : 0.2 } # max_wait, interval
12
12
13
- =begin
14
- There's no `must_not_raise` as the opposite of must_raise
15
-
16
- By default code is expected to not raise exceptions.
17
- must_not_raise is a no-op.
18
- =end
13
+ # There's no `must_not_raise` as the opposite of must_raise
14
+ #
15
+ # By default code is expected to not raise exceptions.
16
+ # must_not_raise is a no-op.
19
17
20
18
# wait is a success unless an error is raised
21
19
# max_wait=0 is infinity to use 0.1
@@ -180,23 +178,22 @@ def uibutton_text
180
178
# 8 local. 9 on sauce.
181
179
get_page_class . split ( "\n " ) . length . must_be :>= , 8
182
180
end
183
- =begin
184
- todo:
185
- get_page_class
186
- page_class
187
- tag
188
- tags
189
- px_to_window_rel
190
- lazy_load_strings
191
- xml_keys
192
- xml_values
193
- resolve_id
194
- string_visible_contains
195
- xpath_visible_contains
196
- xpaths_visible_contains
197
- string_visible_exact
198
- xpath_visible_exact
199
- xpaths_visible_exact
200
- raise_no_element_error
201
- =end
181
+
182
+ # TODO: write tests
183
+ # get_page_class
184
+ # page_class
185
+ # tag
186
+ # tags
187
+ # px_to_window_rel
188
+ # lazy_load_strings
189
+ # xml_keys
190
+ # xml_values
191
+ # resolve_id
192
+ # string_visible_contains
193
+ # xpath_visible_contains
194
+ # xpaths_visible_contains
195
+ # string_visible_exact
196
+ # xpath_visible_exact
197
+ # xpaths_visible_exact
198
+ # raise_no_element_error
202
199
end
Original file line number Diff line number Diff line change 1
- =begin
2
- Skip:
3
- status # status patches are already tested in driver.rb
4
- raw_execute # debug output for Pry
5
- =end
1
+ #
2
+ # Skip:
3
+ # status # status patches are already tested in driver.rb
4
+ # raw_execute # debug output for Pry
5
+ #
6
+
6
7
# rake ios[common/patch]
7
8
describe 'common/patch.rb' do
8
9
def before_first
Original file line number Diff line number Diff line change 3
3
end
4
4
5
5
# TODO: write tests
6
- =begin
7
- pinch
8
- zoom
9
- initialize
10
- add
11
- perform
12
- =end
6
+ # pinch
7
+ # zoom
8
+ # initialize
9
+ # add
10
+ # perform
Original file line number Diff line number Diff line change 1
1
describe 'device/touch_actions' do
2
2
t { } # place holder test
3
3
end
4
+
4
5
# TODO: write tests
5
- =begin
6
- move_to
7
- long_press
8
- press
9
- release
10
- tap
11
- wait
12
- swipe
13
- perform
14
- cancel
15
- =end
6
+ #
7
+ # move_to
8
+ # long_press
9
+ # press
10
+ # release
11
+ # tap
12
+ # wait
13
+ # swipe
14
+ # perform
15
+ # cancel
Original file line number Diff line number Diff line change @@ -152,12 +152,13 @@ def sauce?
152
152
driver . browser . must_equal :iOS
153
153
end
154
154
155
- =begin
156
- Skip:
157
- screenshot # this is slow and already tested by Appium
158
- driver_quit # tested by restart
159
- start_driver # tested by restart
160
- =end
155
+ #
156
+ # Skip:
157
+ # screenshot # this is slow and already tested by Appium
158
+ # driver_quit # tested by restart
159
+ # start_driver # tested by restart
160
+ #
161
+
161
162
t 'set_wait' do
162
163
# fill the @last_waits array with: [30, 30]
163
164
set_wait ( 30 ) . must_equal ( 30 )
You can’t perform that action at this time.
0 commit comments