donatas-b / j-screenplay

An example of Screenplay pattern with Java, Serenity and Cucumber for web UI automated tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

j-screenplay

This is an example of Screenplay pattern for web UI test automation. The tests are utilizing XYZ Bank application.

Project is using Java with Serenity BDD, Cucumber and JUnit.

Executing the tests

To run the sample project, you can either just run the Tests test runner class, use maven from the command line or run feature/ scenario individually from e.g. IntelliJ.

By default, the tests will run using Chrome. This and other configuration values can be changed in serenity.conf

$ mvn clean verify

Test report will be generated at target/site/serenity/index.html

Useful links

Web pages

https://serenity-bdd.github.io/docs/tutorials/first_test

https://johnfergusonsmart.com/serenity-bdd/

https://medium.com/@simplymahmoud/screenplay-design-pattern-in-test-automation-a9f21ec3ddd3

https://janmolak.com/serenity-bdd-and-the-screenplay-pattern-27819d0db780

GitHub repositories

https://github.com/serenity-bdd/screenplay-pattern-todomvc

https://github.com/serenity-bdd/serenity-cucumber-starter

https://github.com/jan-molak/jenkins-build-monitor-plugin/tree/master/build-monitor-acceptance/src/main/java/com/smartcodeltd/jenkinsci/plugins/build_monitor

https://github.com/serenity-bdd/bdd-trader

About

An example of Screenplay pattern with Java, Serenity and Cucumber for web UI automated tests

License:The Unlicense


Languages

Language:Java 93.1%Language:Gherkin 6.9%