We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3a7ad5 commit ec2f6eaCopy full SHA for ec2f6ea
android_tests/lib/android/specs/android/patch.rb
@@ -1,13 +1,12 @@
1
describe 'android/patch.rb' do
2
t 'type' do
3
# nav to textfield
4
- find('app').click
5
- find('search').click
6
- find('invoke').click
+ wait { find('app').click }
+ wait { find('search').click }
+ wait { find('invoke').click }
7
8
- ele = first_textfield
9
- ele.type 'ok'
10
- ele.text.must_equal 'ok'
+ wait { first_textfield.type 'ok' }
+ wait { first_textfield.text.must_equal 'ok' }
11
12
# nav to start activity
13
3.times { back }
0 commit comments