Lorem ipsum dolor sit amet
Go to class com.company.appxyz.test.gui.RunEndToEndCukeTest and run from IntelliJ with Play button.
https://www.swtestacademy.com/selenium-spring-boot-cucumber-junit5-project
- Copy folder containing project and name it something like application-xyz-gui-test
- Refactor packages in src and test from com.company.appxyz
- Refactor cucumber-package in test 'com.company.appxyz.test.gui.cucumber.appxyz'
- Refactor pages-package in test 'com.company.appxyz.test.gui.pages.appxyz'
- Refactor folder 'src\test\resources\features\appxyz'
- Create a class for each page in the application in refactored package 'pages.appxyz'
- Create a StepDefs-class for each page in the application in refactored package 'cucumber.appxyz'
- Create tests in refactored 'test\resources\features\appxyz'
- @TakeScreenshot does not seem to work
- @ElapsedTime does not seem to work
- Use different browsers (not tested)
- Use Extensions for browser
- Generate reports
- Logging