Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Releases: saucelabs/sample-app-mobile

Add German translation

23 Nov 07:25
Compare
Choose a tag to compare

This patch release adds German Translation to the app, thanks to sceiler

image

Draw your Sauce Bolt!

20 Oct 05:54
2f38466
Compare
Choose a tag to compare

You can now draw your favorite Sauce Bolt in the app and store it to your camera roll

drawing

And the test execution with Appium for iOS and Android

ios
android

Geo Location

16 Oct 05:24
dcc7bf7
Compare
Choose a tag to compare

Your favorite sample app just got a new feature, you can now change Geo Location with Appium like this

geo-location

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

07 Oct 16:36
Compare
Choose a tag to compare

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
ufc-mma-ufc-205-3o6Zt6KHxJTbXCnSvu
for both 😉

Gestures

01 Oct 16:28
8e9b95c
Compare
Choose a tag to compare

This release holds some frequently asked features like

  • Drag and Drop, for tests see here and here
    drag-and-drop
  • Pinch & Zoom, for tests see here
    pinch-zoom
  • Swipe, for tests se here
    swipe-left

Happy testing!

Add QR-Code scanner

25 Mar 09:13
Compare
Choose a tag to compare

This release now adds a QR Scanner which can be accessed through the menu, please see the below movie how to use it or read the documentation.

qr-code

Fix

13 Nov 12:05
Compare
Choose a tag to compare
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

20 Sep 16:40
a310ed5
Compare
Choose a tag to compare

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
    image.
  • 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:

  • 3D Touch - Force Touch: Check it out here
  • Different languages: Check it out here

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

19 Aug 20:23
78cc30b
Compare
Choose a tag to compare

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:

  • Touch/Face ID support, see #28
  • Deep linking, see #29

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 Touch / Face ID and for deep linking to see how it works.

#happytesting

Your Swag Labs team!

Mobile Sample App is live!

08 Mar 15:06
Compare
Choose a tag to compare

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 devices
  • iOS.Simulator.SauceLabs.Mobile.Sample.app.1.0.0.app.zip for iOS simulators
  • iOS.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!