Search in sources :

Example 6 with SyndesisRootPage

use of io.syndesis.qe.pages.SyndesisRootPage in project syndesis-qe by syndesisio.

the class CommonSteps method successNotificationIsPresent.

@Then("^she can see success notification$")
public void successNotificationIsPresent() {
    SelenideElement allertSucces = new SyndesisRootPage().getElementByClassName("alert-success");
    allertSucces.shouldBe(visible);
}
Also used : SyndesisRootPage(io.syndesis.qe.pages.SyndesisRootPage) SelenideElement(com.codeborne.selenide.SelenideElement) Then(cucumber.api.java.en.Then)

Aggregations

SelenideElement (com.codeborne.selenide.SelenideElement)6 SyndesisRootPage (io.syndesis.qe.pages.SyndesisRootPage)6 Then (cucumber.api.java.en.Then)5