Awesome
Info
This project exercised a Cucumber jProtracror integration. Thanks to the class hierarchy of the latter, it is quite easy to mix the core Selenium-backed annotationa and jProtractor ones:
e.g. in the angular Calculator demo Page definiton class one can swap
private static final By button = By.id("gobutton");
wih
private static final By button = NgBy.partialButtonText("Go");
The custom methods with org.openqa.selenium.By
arguments would accept com.github.sergueik.jprotractor.NgBy
.
See Also
- maggie-wang/CucumberProject,
- hdeiner/Java-Cucumber-Selenium-Sample
- Java Cucumber Youtube Tutorial
- cucumber-jvm
- Cucumber hooks
- old Cucumber scenario hooks
- Java
TODO
there is annotation conflict:
[WARNING] No processor claimed any of these annotations: cucumber.api.CucumberOptions,cucumber.api.java.en.Given,org.junit.runner.RunWith,cucumber.api.java.Before,cucumber.api.java.After,cucumber.api.java.en.Then,cucumber.api.java.en.When
License
This project is licensed under the terms of the MIT license.