- For running tests use CucumberRunner.java
- For step definition use SampleSteps.java
- Simple scenario example: Sample1.feature
- Simple scenario with parameters in steps: Sample2.feature
- Scenario outline example: Sample3.feature
- Scenario tables with 1 column in steps: Sample4.feature
- Scenario tables with 2 columns in steps and background example: Sample5.feature
- For step definition use SamplePOSteps.java
- Simple scenario with parameters in steps: SampleUsingPO2.feature
- Scenario outline example SampleUsingPO3.feature
+ Page Objects:
In Task1.feature create 1 scenario outline and 1 scenario for page with url: "https://kristinek.github.io/site/tasks/enter_a_number"
- Scenario outline for error cases:
- enter number too small
- enter number too big
- enter text instead of the number
- Scenario for correct number
In Task2.feature create 1 scenario outline and create scenario or scenario outlines for page https://kristinek.github.io/site/tasks/list_of_people.html or https://kristinek.github.io/site/tasks/list_of_people_with_jobs.html in order to test that user can:
- add a new person
- edit a person
- remove a person
- reset original list after
- adding a person
- editing a person
- removing a person
- check that clear button on adding a user works correctly
- In Idea "File" -> "New" -> "Project from Version Control" -> "Git"
- Select add url https://github.com/KristineK/cucumber_java_basic for cloning project
- In IDEA check in project structure, that:
- Create a branch: