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
var wd = require("wd"); | |
var Q = wd.Q; | |
var _ = require('underscore'); | |
var chai = require("chai"); | |
var chaiAsPromised = require("chai-as-promised"); | |
chai.use(chaiAsPromised); | |
chai.should(); | |
chaiAsPromised.transferPromiseness = wd.transferPromiseness; | |
var desired = { |
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
require 'rubygems' | |
require 'appium_lib' | |
APP_PATH = '/Users/jonahss/Workspace/appium/sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app' | |
desired_caps = { | |
'platformName' => 'ios', | |
'platformVersion' => '7.1', | |
'deviceName' => 'iPhone Simulator', | |
'app' => APP_PATH |
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
# Very alpha still, but getting there... | |
# Yeah, I like it this way | |
require 'pp' | |
require 'set' | |
require 'zlib' | |
require 'base64' | |
require 'socket' | |
require 'openssl' | |
require 'stringio' |
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
296 passing (1h) | |
17 failing | |
1) common - prelaunch @skip-ci @skip-ios6 ios @skip-android-all should work for ios: | |
Error: Appium never started, set VERBOSE=1 to see output. | |
at ChildProcess.<anonymous> (/Users/jonahss/Workspace/appium/test/functional/common/prelaunch-specs.js:49:10) | |
at ChildProcess.emit (events.js:98:17) | |
at Process.ChildProcess._handle.onexit (child_process.js:810:12) | |
2) common - prelaunch @skip-ci @skip-ios6 ios @skip-android-all should work with force ipad: |
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
"use strict"; | |
var wd = require('wd'); | |
var Asserter = require('wd').Asserter; | |
var Q = require('q') | |
describe("gpsDemo - location @skip-real-device", function () { | |
var driver; | |
var driver = wd.promiseChainRemote({hostname: "localhost",port: 4723}); |
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
Android ApiDemos layout hierarchy | |
Uncompressed layout hierarchy: | |
<hierarchy rotation="0"> | |
<android.widget.FrameLayout index="0" text="" resource-id="" class="android.widget.FrameLayout" package="io.appium.android.apis" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][480,800]" instance="0"> | |
<android.view.View index="0" text="" resource-id="android:id/action_bar_overlay_layout" class="android.view.View" package="io.appium.android.apis" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][480,800]" instance="0"> | |
<android.widget.FrameLayout index="0" text="" resource-id="android:id/action_bar_container" class="android.widget.FrameLayout" package="io.appium.android.apis" content-desc="" checka |
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
require 'rubygems' | |
require 'spec' | |
require 'appium_lib' | |
require 'minitest/spec' | |
require 'minitest/autorun' | |
desired_capabilities = { | |
'platformName' => "Android", | |
'platformVersion' => "4.4", | |
'deviceName' => "Android S4", |
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
var wd = require('wd') | |
var safari = | |
{ | |
"appium-version": '1.1', | |
"platformName": "iOS", | |
"platformVersion": "7.0", | |
"deviceName": "iPhone Simulator", |
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
var wd = require('wd'); | |
driver = wd.remote("localhost",4723,'promiseChain') | |
var caps = { | |
"device": "Android", | |
"app": "/Users/jonahss/Workspace/appium/sample-code/apps/io.appium.gappium.sampleapp/platforms/android/ant-build/HelloGappium-debug.apk", | |
"appPackage": "io.appium.gappium.sampleapp", | |
"appActivity": ".HelloGappium" | |
} |
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 runs two named tunnels with DIFFERENT names, second one fails immediately. | |
//OUTPUT: | |
//>> tunnel1 started with status false | |
//>> tunnel0 started with status true | |
//** this gist automatically uploaded with the gist-it package on the Atom editor. Boo-ya! | |
SauceTunnel = require('sauce-tunnel'); | |
var username = process.env.SAUCE_USERNAME; |
NewerOlder