An open API service indexing awesome lists of open source software.

https://github.com/donatas-b/j-screenplay

An example of Screenplay pattern with Java, Serenity and Cucumber for web UI automated tests
https://github.com/donatas-b/j-screenplay

cucumber java screenplay screenplay-pattern serenity test-automation testing

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# j-screenplay
This is an example of Screenplay pattern for web UI test automation. The tests are utilizing [XYZ Bank](https://www.globalsqa.com/angularJs-protractor/BankingProject/#/login) 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