Sha256: dd8b4ea7838dcbd0bed3923bd185a7bee505ba5c362ab0bb48c6c0d3e9952094
Contents?: true
Size: 1.04 KB
Versions: 18
Compression:
Stored size: 1.04 KB
Contents
# rake android['android/element/generic'] describe 'android/element/generic' do def content 'Content' end def partial 'tent' end t 'find works before and after get_source' do wait { find(partial).text.must_equal content } wait { get_source.class.must_equal String } wait { find(partial).text.must_equal content } end t 'find' do wait { find(partial).text.must_equal content } end t 'finds' do wait { finds(partial).first.text.must_equal content } end t 'find_exact' do wait { find_exact(content).text.must_equal content } end t 'finds_exact' do wait { finds_exact(content).first.text.must_equal content } end # scroll_to is broken t 'scroll_to' do wait { find('Views').click } wait { scroll_to('rotating button').text.must_equal 'Rotating Button' } # back to start activity back end t 'scroll_to_exact' do wait { find('Views').click } wait { scroll_to_exact('Rotating Button').text.must_equal 'Rotating Button' } # back to start activity back end end
Version data entries
18 entries across 18 versions & 1 rubygems