File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -134,12 +134,12 @@ def test_pull_folder
134
134
end
135
135
136
136
def test_settings
137
- assert_equal ( { 'ignoreUnimportantViews' => false , 'allowInvisibleElements' => false } , @@driver . get_settings )
137
+ assert_equal ( false , @@driver . get_settings [ 'ignoreUnimportantViews' ] )
138
138
139
- @@driver . update_settings ( 'allowInvisibleElements ' => true )
140
- assert_equal ( { 'ignoreUnimportantViews' => false , 'allowInvisibleElements' => true } , @@driver . get_settings )
139
+ @@driver . update_settings ( 'ignoreUnimportantViews ' => true )
140
+ assert_equal ( true , @@driver . get_settings [ 'ignoreUnimportantViews' ] )
141
141
142
- @@driver . update_settings ( 'allowInvisibleElements ' => false )
142
+ @@driver . update_settings ( 'ignoreUnimportantViews ' => false )
143
143
end
144
144
145
145
def test_touch_actions
Original file line number Diff line number Diff line change @@ -110,10 +110,12 @@ def test_pull_folder
110
110
end
111
111
112
112
def test_settings
113
- assert_equal ( { 'nativeWebTap' => false } , @@driver . get_settings )
113
+ assert_equal ( false , @@driver . get_settings [ 'nativeWebTap' ] )
114
114
115
115
@@driver . update_settings ( 'nativeWebTap' => true )
116
- assert_equal ( { 'nativeWebTap' => true } , @@driver . get_settings )
116
+ assert_equal ( true , @@driver . get_settings [ 'nativeWebTap' ] )
117
+
118
+ @@driver . update_settings ( 'nativeWebTap' => false )
117
119
end
118
120
119
121
def test_touch_actions
You can’t perform that action at this time.
0 commit comments