Releases: saucelabs/sample-app-mobile
Add German translation
This patch release adds German Translation to the app, thanks to sceiler
Draw your Sauce Bolt!
Geo Location
Your favorite sample app just got a new feature, you can now change Geo Location with Appium like this
and this test it with this
it('should be able to set and validate the geo location with Appium', () => {
// Appium for Android (v1.19.0 and lower) is cutting the data to 5 chars
// see https://github.com/appium/io.appium.settings/blob/master/app/src/main/java/io/appium/settings/receivers/LocationInfoReceiver.java#L48
// const longitude = 52.5003197;
// const latitude = 13.4514209;
const longitude = 52.50032;
const latitude = 13.45143;
GeoLocation.setLocation({ longitude, latitude });
// Give the GPS some time to process the new data
driver.pause(1000);
// Wait until the position is shown
GeoLocation.waitUntilPositionShown();
expect(GeoLocation.getLongitudeValue()).toBe(longitude, 'Incorrect longitude');
expect(GeoLocation.getLatitudeValue()).toBe(latitude, 'Incorrect latitude');
});
Autofill login data
This PR adds a new feature to automatically add the login data. It also fixes the year of the copyright in the footer.
Richard Bradshaw
for both 😉
Gestures
Add QR-Code scanner
Fix
This release changes the usage of the biometrics login from the keystore to the insecure-store so Touch/FaceID can also be mocked by Sauce Labs. The reason for this is explained below
NOTE:
The implementation of Touch/FaceID in this application supports the user’s biometrics based on the insecure store of the device. It is not using the keystore which normally should be used when implementing Touch/FaceID and secure login.
The reason for this is that Sauce Labs is not mocking the keystore on a real device for supporting Touch/FaceID due to security reasons.
Testing Touch/FaceID which is using the keystore on our real devices is therefore not supported.
New Release
Ohai! Good news again, there's a new awesome release of our Sauce Labs Swag Labs sample app!
The 2.2.0 release contains:
- 3D Touch - Force Touch support for iOS and Android, see the image below
. - The app now supports 3 different languages, English, Spanish and Dutch. We did this to give you an example on how to automate an app with Appium that supports multiple languages.
We also added some tests that use WebdriverIO to make it easier to see how to use this in your framework (hopefully the code is self explanatory so that you can translate it to your own framework / language), please see the following links for more information:
Also don't forget to read the README for 3D Touch - Force Touch and for Different languages to see how it works and if you want to use it during manual tests.
#happytesting
Your Swag Labs team!
New release
Ohai! Good news, there's a new release of our awesome Sauce Labs Swag Labs sample app!
If you’re keeping track, you may be wondering why we went straight to 2.1.0 without pushing 2.0.0 first. Well, the explanation is quite simple. We wanted to implement Touch / Face ID and deep link support, but to be able to do that we first needed to migrate from React Native 0.57.4 to React Native 0.60.5. This was a major change (see #26), which became the 2.0.0 version; we then added the new features on top of this to create 2.1.0.
The 2.1.0 release contains:
We also added some tests that use WebdriverIO to make it easier to see how to use this in your framework (hopefully the code is self explanatory so that you can translate it to your own framework / language), please see the following links for more information:
- Touch / Face ID: https://github.com/saucelabs/sample-app-mobile/blob/master/tests/e2e/spec/extra/touch.face.id.spec.js
- Deep Link: https://github.com/saucelabs/sample-app-mobile/blob/master/tests/e2e/spec/extra/deep.link.spec.js
Also don't forget to read the README for Touch / Face ID and for deep linking to see how it works.
#happytesting
Your Swag Labs team!
Mobile Sample App is live!
This is the first release of our Sauce Labs Sample App. You can use this sample app to start learning automation with a native app. There is even a webview implemented that you can use to test a website from within the app.
Sample tests can be found in the /tests/e2e/spec/
-folder.
There are 3 types of apps you can use:
Android.SauceLabs.Mobile.Sample.app.1.0.0.apk
for Android emulators and real devicesiOS.Simulator.SauceLabs.Mobile.Sample.app.1.0.0.app.zip
for iOS simulatorsiOS.RealDevice.SauceLabs.Mobile.Sample.app.1.0.0.ipa.zip
for iOS real devices. Keep in mind that this app will only work in a cloud where they are resigned and CAN'T be used on your own phone
#happytesting!