Synopsis

This test framework enables the creation of API and UI acceptance tests for the hotel booking form.

Prerequisites

  • JDK
  • Maven
  • Google Chrome

Note: The appropriate chromedriver for the system will automatically be downloaded to and then run from the default maven repository (found at ~/.m2).

Tests

There is one valid and one invalid test per HTTP method in the API, and one valid and one invalid test for the UI, to demonstrate the use of the framework.

The tests can be run from the root of the project using the command mvn test.