ios_tests/lib/ios/specs/device/device.rb in appium_lib-3.0.3 vs ios_tests/lib/ios/specs/device/device.rb in appium_lib-4.0.0
- old
+ new
@@ -74,10 +74,15 @@
text('Images, Use of UIImageView').click
zoom 200
pinch 75
end
- t 'file movement' do
+ t 'pull_file' do
read_file = pull_file 'Library/AddressBook/AddressBook.sqlitedb'
read_file.start_with?('SQLite format').must_equal true
+ end
+
+ t 'pull_folder' do
+ data = pull_folder 'Library/AddressBook'
+ data.length.must_be :>, 1
end
end
\ No newline at end of file