Sha256: 5d5c756982d048bf23a9bdc18232d7f4e687187be9660de529fcbd260ebe48da
Contents?: true
Size: 1.47 KB
Versions: 11
Compression:
Stored size: 1.47 KB
Contents
# rake ios[ios/helper] describe 'ios/helper' do def before_first screen.must_equal catalog end t 'before_first' do before_first end t 'ios_password' do ios_password.must_equal 8226.chr('UTF-8') ios_password(2).must_equal 8226.chr('UTF-8') * 2 end # TODO: t 'get_page' do # t 'page' do # writes to std out t 'source_window' do source_window.length.must_be :>=, 14_000 end # TODO: t 'page_window' do t 'id' do id 'Buttons' # 'Various uses of UIButton' end t 'ios_version' do ios_version.wont_be_empty end t 'tags_include' do elements = tags_include class_names: %w(XCUIElementTypeTextView) elements.length.must_equal 0 elements = tags_include class_names: %w(XCUIElementTypeTextView XCUIElementTypeStaticText) elements.length.must_equal 24 elements = tags_include class_names: %w(XCUIElementTypeTextView XCUIElementTypeStaticText), value: 'u' elements.length.must_equal 13 end t 'tags_exact' do elements = tags_exact class_names: %w() elements.length.must_equal 0 elements = tags_exact class_names: %w(XCUIElementTypeStaticText) elements.length.must_equal 24 elements = tags_exact class_names: %w(XCUIElementTypeTextView XCUIElementTypeStaticText) elements.length.must_equal 24 elements = tags_exact class_names: %w(XCUIElementTypeTextView XCUIElementTypeStaticText), value: 'Buttons' elements.length.must_equal 1 elements.first.value.must_equal 'Buttons' end end
Version data entries
11 entries across 11 versions & 1 rubygems