https://github.com/hoangthach252/screenplaycucumberdemo
ScreenPlay and POM patterns with Serenity and Cucumber
https://github.com/hoangthach252/screenplaycucumberdemo
cucumber-jvm java pom screenplay
Last synced: 7 months ago
JSON representation
ScreenPlay and POM patterns with Serenity and Cucumber
- Host: GitHub
- URL: https://github.com/hoangthach252/screenplaycucumberdemo
- Owner: hoangthach252
- Created: 2019-12-09T10:54:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T18:05:22.000Z (over 5 years ago)
- Last Synced: 2025-02-25T21:32:17.537Z (over 1 year ago)
- Topics: cucumber-jvm, java, pom, screenplay
- Language: Java
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Project Demo for using ScreenPlay pattern with Serenity and Cucumber.
In this project , there are both Page Object and ScreenPlay patterns.
you can run them dedicated by running the coresponding Test Runner.
web app: https://unsplash.com/
@add-search-result
Scenario: Add search result picture into new Collection.
Given that Thach Hoang is a registered member
And Thach Hoang logged in valid credential
When he searches pics with keyword "Cute Puppies"
And he adds the first image into new collection name "Puppies Collection"
And he navigates to his collection page
Then he can see the new collection is added in his collection
Project Structure:
com.unsplash pkg
|---cucumber
|-----|--steps
|-----|----|--POMSteps.java
|-----|----|--ScreenPlaySteps.java
|---POM
|-----|---*Page.java
|---ScreenPlay
|-----|---abilities
|-----|---tasks
|-----|---questions
|-----|---user_interfaces
|-----|---interactions
|---pomFeatures
|-----|---addCollection.feature
|---screenPlayFeatures
|-----|---addCollection.feature