on-internet
← Community

CucumberException: Failed to instantiate class stepDefinitions When run tests

Stack Overflow ·

Please help. I think that there is a mistake when initializing the page public class AuthStepDefinitions { private final AuthPage authPage = new AuthPage(); @When("^user on Auth Page$") public void onAuthPage() { AuthPage.getStartPage(); } etc. public class AuthPage extends TestBase { private String loginPassrod = "[email protected]"; @FindBy(id = "USER_LOGIN") private WebElement loginInput; @FindBy(id = "USER_PASSWORD") private WebElement userPassword; @FindBy(className = "btn") private WebElement btnEntrance; @FindBy(css = "table.dataTable") private WebElement table; @FindBy(css = "a.button-new

Comments

Sign in or sign up to comment and upvote.

No comments yet.