Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file removed apps/iOS-Simulator-NativeDemoApp-0.2.1.app.zip
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion readme.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SwagLabsDemoAPP Bundle ID: org.reactjs.native.example.SwagLabsMobileApp
SwagLabsDemoAPP Bundle ID: com.saucelabs.SwagLabsMobileApp

WDIO Demo App Bundle ID: org.reactjs.native.example.wdioDemoApp

Expand Down
3,189 changes: 0 additions & 3,189 deletions reports/AppiumLog.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/test/java/BaseConfig/SettingAndroidEnv.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public AndroidDriver setup() throws MalformedURLException {
options.setPlatformName("android");
options.setAutomationName(AutomationName.ANDROID_UIAUTOMATOR2);
options.setDeviceName("emulator-5544");
options.setApp(System.getProperty("user.dir") + "/apps/WDioApp.apk");
options.setApp(System.getProperty("user.dir") + "/apps/Android.SauceLabs.Mobile.Sample.app.2.7.1.apk");

driver = new AndroidDriver(new URL("http://127.0.0.1:4723"), options);

Expand Down
9 changes: 9 additions & 0 deletions src/test/java/ios/PageObject/HomePage.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ public HomePage(IOSDriver iosDriver) {
@iOSXCUITFindBy(xpath = "//XCUIElementTypeStaticText[@name=\"WEBDRIVER\"]")
WebElement homeMenuHeaderText;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeStaticText[@name=\"Demo app for the appium-boilerplate\"]")
WebElement homeScreen;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeOther[@name=\"WEBDRIVER I/O Demo app for the appium-boilerplate\"]")
WebElement homeMenuText;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeStaticText[@name=\"WEBDRIVER\"]")
WebElement homeMenuHeaderText;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeStaticText[@name=\"Demo app for the appium-boilerplate\"]")
WebElement homeMenuSubText;

Expand Down
27 changes: 0 additions & 27 deletions src/test/java/ios/PageObject/LoginPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,39 +29,12 @@ public LoginPage(IOSDriver iosDriver) {
}

@iOSXCUITFindBy(xpath = "//XCUIElementTypeStaticText[@name=\"Sign up\"]")
WebElement signUpFormButton;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeStaticText[@name=\"Login\"]")
WebElement loginFormButton;

@iOSXCUITFindBy(accessibility = "Login")
WebElement loginMenu;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeStaticText[@name=\"Login / Sign up Form\"]")
WebElement loginMenuHeaderText;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeTextField[@name=\"input-email\"]")
WebElement loginEmailField;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeSecureTextField[@name=\"input-password\"]")
WebElement loginPasswordField;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeOther[@name=\"LOGIN\"]")
WebElement loginButton;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeTextField[@name=\"input-email\"]")
WebElement signUpFormEmail;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeSecureTextField[@name=\"input-password\"]")
WebElement signUpFormPassword;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeSecureTextField[@name=\"input-repeat-password\"]")
WebElement signUpFormConfirmPassword;

@iOSXCUITFindBy(xpath = "//XCUIElementTypeStaticText[@name=\"SIGN UP\"]")
WebElement signUpButton;

@iOSXCUITFindBy(xpath = "(//XCUIElementTypeOther[@name=\"Horizontal scroll bar, 1 page\"])[3]")
WebElement successButton;


Expand Down