Skip to content

Commit

Permalink
Updated iOS code
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshuseth004 committed Jun 23, 2022
1 parent 757e4a3 commit a9d3fe9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.

tasks:
- init: mvn install -DskipTests=false


6 changes: 3 additions & 3 deletions src/test/java/vanilla_ios.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

public class vanilla_ios {

public static String userName = System.getenv("LT_USERNAME") == null ? "shantanuw" //Add username here
public static String userName = System.getenv("LT_USERNAME") == null ? "LT_USERNAME" //Add username here
: System.getenv("LT_USERNAME");
public static String accessKey = System.getenv("LT_ACCESS_KEY") == null ? "rsS1I3BEWoWcAUJHtfa5TZaLjRV1NTeKmyRVJ8QjtCHhMIK3BW" //Add accessKey here
public static String accessKey = System.getenv("LT_ACCESS_KEY") == null ? "LT_ACCESS_KEY" //Add accessKey here
: System.getenv("LT_ACCESS_KEY");

public static IOSDriver driver = null;
Expand All @@ -26,7 +26,7 @@ public static void main(String[] args) throws Exception {
caps.setCapability("platformVersion", "15");
caps.setCapability("deviceName", "iPhone 12");
caps.setCapability("isRealMobile", true);
caps.setCapability("app", "lt://APP100202361655316158281121"); //Enter your app url
caps.setCapability("app", "lt://"); //Enter your app url
caps.setCapability("platformName", "iOS");
caps.setCapability("build", "Java Vanilla - iOS");
caps.setCapability("name", "Sample Test Java");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/Users/shantanuw/Desktop/LT-appium-java/src/test/java/vanilla_ios.java
/Users/shantanuw/Desktop/LT-appium-java/src/test/java/vanilla_android.java
/workspace/java-appium-permission-pop-ups/src/test/java/vanilla_android.java
/workspace/java-appium-permission-pop-ups/src/test/java/vanilla_ios.java
Binary file modified target/test-classes/vanilla_android.class
Binary file not shown.
Binary file modified target/test-classes/vanilla_ios.class
Binary file not shown.

0 comments on commit a9d3fe9

Please sign in to comment.