Skip to content

Files

Latest commit

f84593d · Nov 6, 2024

History

History

java-ios-app

Getting started with Sauce Labs Visual Java + iOS Native App

Prerequisites

Run the demo

  • Install Eclipse Temurin JDK (for macOS Ventura):
brew install --cask temurin
  • Clone the repository:
git clone https://github.com/saucelabs/visual-examples
cd visual-examples/java-ios-app
export SAUCE_USERNAME=__YOUR_SAUCE_USERNAME__
export SAUCE_ACCESS_KEY=__YOUR_SAUCE_ACCESS_KEY__
  • Run the test
./mvnw clean test
VISUAL_CHECK=enabled ./mvnw clean test

NOTE: If you'd like run the full page screenshot test additionally, you need to pass the environment variable FPS=enabled when running the test.

FPS=enabled ./mvnw clean test

Installation & Usage

View installation and usage instructions on the Sauce Docs website.