We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2967a52 commit d6dacd0Copy full SHA for d6dacd0
ios_tests/lib/ios/specs/ios/element/button.rb
@@ -29,8 +29,9 @@ def gray
29
30
t 'buttons' do
31
exp = ['Back', 'Back', 'Gray', 'Right pointing arrow']
32
- buttons('a').map { |e| e.name }.must_equal exp
33
- buttons('a').length.must_equal exp.length
+ target_buttons = buttons('a')
+ target_buttons.map { |e| e.name }.must_equal exp
34
+ target_buttons.length.must_equal exp.length
35
end
36
37
t 'first_button' do
@@ -52,4 +53,4 @@ def gray
52
53
t 'after_last' do
54
after_last
55
-end
56
+end
0 commit comments