-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
73 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
require 'saucewhisk' | ||
require 'parallel' | ||
|
||
def download_sauce_assets job_id, name = "sauce" | ||
job = SauceWhisk::Jobs | ||
until !job.fetch(job_id).screenshot_urls.nil? | ||
puts "Waiting for sauce to mark job as completed..."; sleep 5 | ||
end | ||
screenshot = job.fetch(job_id).screenshot_urls.last | ||
assets = [{file: "selenium-server.log", name: "appium-#{name}.log"}, {file: "video.flv", name: "video-#{name}.flv"}, {file: screenshot, name: "screenshot-#{name}.png"}] | ||
Parallel.each(assets, :in_threads=> assets.size) do |asset| | ||
%x(curl -s -u #{ENV["SAUCE_USERNAME"]}:#{ENV["SAUCE_ACCESS_KEY"]} https://saucelabs.com/rest/#{ENV["SAUCE_USERNAME"]}/jobs/#{job_id}/results/#{asset[:file]} > ../output/#{asset[:name]}) | ||
end | ||
end | ||
|
||
if ARGV[0].nil? | ||
puts "Please supply a sauce labs job id...\ne.g. download_sauce_assets e6dc361349aa85sdf27acdf38f7d" | ||
else | ||
download_sauce_assets ARGV[0] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
ios/TestApp/build/Release-iphoneos/TestApp.app/GestureTestViewController.nib/objects.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
ios/TestApp/build/Release-iphoneos/TestApp.app/GestureTestViewController.nib/runtime.nib
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+3 Bytes
(100%)
...uild/Release-iphoneos/TestApp.app/en.lproj/MyViewControllerViewController.nib/objects.nib
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
...uild/Release-iphoneos/TestApp.app/en.lproj/MyViewControllerViewController.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...App.build/Release-iphoneos/TestApp.build/Objects-normal/armv7/TestApp_dependency_info.dat
Binary file not shown.
Binary file modified
BIN
-3.2 KB
(97%)
ios/TestApp/build/TestApp.build/Release-iphoneos/TestApp.build/dgph
Binary file not shown.
Binary file modified
BIN
+118 KB
(120000%)
ios/TestApp/build/TestApp.build/Release-iphoneos/TestApp.build/dgph~
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.1 KB
.../build/release-iphonesimulator/TestApp.app/GestureTestViewController.nib/objects-8.0+.nib
Binary file not shown.
Binary file removed
BIN
-2.09 KB
...stApp/build/release-iphonesimulator/TestApp.app/GestureTestViewController.nib/objects.nib
Binary file not shown.
Binary file removed
BIN
-2.09 KB
...stApp/build/release-iphonesimulator/TestApp.app/GestureTestViewController.nib/runtime.nib
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file removed
BIN
-42 Bytes
ios/TestApp/build/release-iphonesimulator/TestApp.app/en.lproj/InfoPlist.strings
Binary file not shown.
Binary file removed
BIN
-83 Bytes
ios/TestApp/build/release-iphonesimulator/TestApp.app/en.lproj/Localizable.strings
Binary file not shown.
Binary file removed
BIN
-5.61 KB
...-iphonesimulator/TestApp.app/en.lproj/MyViewControllerViewController.nib/objects-8.0+.nib
Binary file not shown.
Binary file removed
BIN
-5.61 KB
...lease-iphonesimulator/TestApp.app/en.lproj/MyViewControllerViewController.nib/objects.nib
Binary file not shown.
Binary file removed
BIN
-5.83 KB
...lease-iphonesimulator/TestApp.app/en.lproj/MyViewControllerViewController.nib/runtime.nib
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
[caps] | ||
appium-version = "1.4.16" | ||
platformName = "iOS" | ||
platformVersion = "9.2" | ||
deviceName = "iPhone Simulator" | ||
|
||
[appium_lib] | ||
wait = 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters