Docker Hub: https://hub.docker.com/r/askrypnychenko0808/ryanair.com/
Clone/Download repository and execute next commands under the ryanair.com package.
To run local test with local Chrome browser:
mvn clean test -Dselenide.browser=chrome site
To generate Allure report and start a server:
mvn allure:serve
To run from IDE:
Run src/test/java/runner/DeclinedPaymentTest.java as Maven test
Cucumber Feature story available here src/test/resources/features/checkDeclinedPaymentErrorMessage.feature Test steps:
- select From/To airports (from Feature Story)
- set One Way option
- set the Date (from Feature Story)
- set Passengers Quantity
- select first Proposed flight
- select flight fare
- select available seats
- login
- set payment details (from Feature Story)
- Check message after payment decline
Test was implemented using BDD approach based on next technologies:
- Maven 3.3.9
- Selenide 4.10
- Junit 4.12
- Cucumber 1.2.5
- Allure 2.6.0
Classes are organized according to Page Object design pattern.