This repository is a workshop for learning how to automate AI-backed web tests as part of a typical front-end development workflow. It provides all the the instructions and example code for the workshop.
The test automation project uses:
- Java as the programming language
- Selenium WebDriver for browser automation
- Cucumber-JVM with JUnit 5 as the core test framework
- Google Chrome as the local browser for testing
- Apache Maven for dependency management
- Applitools Eyes SDK for visual assertions
- Applitools Ultrafast Grid for cross-browser execution
- Applitools Execution Cloud for self-healing remote WebDriver sessions
To complete this workshop, you will need:
- An Applitools account, which you can register for free.
- The Java Development Kit (JDK), version 8 or higher.
- A good Java editor, such as JetBrains IntelliJ IDEA.
- Apache Maven (typically bundled with IDEs).
- An up-to-date version of Google Chrome.
- A corresponding version of ChromeDriver.
The workshop
folder contains full instructions for the workshop.
This repository also has multiple branches:
- The
main
branch in this repository contains the completed example code. - Each
section/*
branch contains the version of the code for each section of the workshop.
To execute tests, set the APPLITOOLS_API_KEY
environment variable
to your account's API key,
and then run:
mvn test
If you get stuck, please refer to the example code in this repository to compare its code to yours.