GitHub - sandeebh/selenium-springboot-example: An example of a functional user interface test project with Cucumber + Selenium (Page Factory) + Spring Boot

This repository contains the base setup of a functional user interface testing project, using Cucumber + Selenium (Page Factory Model) + Spring Boot

A simple test for finding results in DuckDuckGo is used as example

Requirements

  • JDK 8
  • Maven 3.6

Test Execution

  1. Download or clone the repository
  2. Open a terminal
  3. From the project root directory run: mvn test

By default, tests will be executed in Chrome (headless mode). Preferences can be changed in "application.properties" file

Links

Cucumber

Gherkin

Selenium

Page Object & Page Factory

Spring Boot