Permalink
Browse files

bugfix: "Release-" has been changed to to "release-",

so these examples were looking for TestApp in the wrong directory
1 parent d2b6c8e commit 03db99916436ae0598e47dcbd53a30387fc05e69 @sah sah committed Aug 14, 2015
@@ -6,12 +6,12 @@ namespace Appium.Samples.Helpers
public class Apps
{
static Dictionary<string, string> DEV = new Dictionary<string, string> {
- { "iosTestApp", "sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app" },
- { "iosWebviewApp", "sample-code/apps/WebViewApp/build/Release-iphonesimulator/WebViewApp.app" },
- { "iosUICatalogApp", "sample-code/apps/UICatalog/build/Release-iphonesimulator/UICatalog.app" },
+ { "iosTestApp", "sample-code/apps/TestApp/build/release-iphonesimulator/TestApp.app" },
+ { "iosWebviewApp", "sample-code/apps/WebViewApp/build/release-iphonesimulator/WebViewApp.app" },
+ { "iosUICatalogApp", "sample-code/apps/UICatalog/build/release-iphonesimulator/UICatalog.app" },
{ "androidApiDemos", "sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" },
{ "selendroidTestApp", "sample-code/apps/selendroid-test-app.apk" },
- { "iosWebviewAppLocal", "sample-code/apps/WebViewApp/build/Release-iphonesimulator/WebViewApp.app" },
+ { "iosWebviewAppLocal", "sample-code/apps/WebViewApp/build/release-iphonesimulator/WebViewApp.app" },
{ "androidApiDemosLocal", "sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk" }
};
@@ -49,7 +49,7 @@
@Before
public void setUp() throws Exception {
// set up appium
- File appDir = new File(System.getProperty("user.dir"), "../../../apps/TestApp/build/Release-iphonesimulator");
+ File appDir = new File(System.getProperty("user.dir"), "../../../apps/TestApp/build/release-iphonesimulator");
File app = new File(appDir, "TestApp.app");
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("platformVersion", "8.1");
@@ -55,7 +55,7 @@
public void setUp() throws Exception {
// set up appium
File classpathRoot = new File(System.getProperty("user.dir"));
- File appDir = new File(classpathRoot, "../../../apps/UICatalog/build/Release-iphonesimulator");
+ File appDir = new File(classpathRoot, "../../../apps/UICatalog/build/release-iphonesimulator");
File app = new File(appDir, "UICatalog.app");
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("platformVersion", "8.1");
@@ -41,7 +41,7 @@
@Before
public void setUp() throws Exception {
File appDir = new File(System.getProperty("user.dir"),
- "../../../apps/TestApp/build/Release-iphonesimulator");
+ "../../../apps/TestApp/build/release-iphonesimulator");
File app = new File(appDir, "TestApp.app");
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, "");
@@ -1,7 +1,7 @@
if (process.env.DEV) {
- exports.iosTestApp = "sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app";
- exports.iosWebviewApp = "sample-code/apps/WebViewApp/build/Release-iphonesimulator/WebViewApp.app";
- exports.iosUICatalogApp = "sample-code/apps/UICatalog/build/Release-iphonesimulator/UICatalog.app";
+ exports.iosTestApp = "sample-code/apps/TestApp/build/release-iphonesimulator/TestApp.app";
+ exports.iosWebviewApp = "sample-code/apps/WebViewApp/build/release-iphonesimulator/WebViewApp.app";
+ exports.iosUICatalogApp = "sample-code/apps/UICatalog/build/release-iphonesimulator/UICatalog.app";
exports.androidApiDemos = "sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk";
exports.selendroidTestApp = "sample-code/apps/selendroid-test-app.apk";
} else {
@@ -6,7 +6,7 @@
use Cwd qw/getcwd abs_path/;
use Selenium::Remote::Driver 0.20;
-my $app = getcwd() . '/../../apps/TestApp/build/Release-iphonesimulator/TestApp.app';
+my $app = getcwd() . '/../../apps/TestApp/build/release-iphonesimulator/TestApp.app';
my $caps = {
app => abs_path($app),
browserName => "",
@@ -25,7 +25,7 @@ def setUp(self):
# ** Important Note **
# Make sure you have build the UICatalog applcation in your local repository
app = os.path.join(os.path.dirname(__file__),
- '../../apps/UICatalog/build/Release-iphonesimulator',
+ '../../apps/UICatalog/build/release-iphonesimulator',
'UICatalog.app')
app = os.path.abspath(app)
self.driver = webdriver.Remote(
@@ -12,7 +12,7 @@ class SimpleIOSTests(unittest.TestCase):
def setUp(self):
# set up appium
app = os.path.join(os.path.dirname(__file__),
- '../../apps/TestApp/build/Release-iphonesimulator',
+ '../../apps/TestApp/build/release-iphonesimulator',
'TestApp.app')
app = os.path.abspath(app)
self.driver = webdriver.Remote(
@@ -14,7 +14,7 @@ class WebViewIOSTests(unittest.TestCase):
def setUp(self):
# set up appium
app = os.path.join(os.path.dirname(__file__),
- '../../apps/WebViewApp/build/Release-iphonesimulator',
+ '../../apps/WebViewApp/build/release-iphonesimulator',
'WebViewApp.app')
app = os.path.abspath(app)
self.driver = webdriver.Remote(

0 comments on commit 03db999

Please sign in to comment.