use of io.syndesis.qe.pages.dashboard.DashboardPage in project syndesis-qe by syndesisio.
the class DashboardSteps method expectConnectionTitleNonPresent.
@Then("^Camilla can not see \"([^\"]*)\" connection on dashboard page anymore$")
public void expectConnectionTitleNonPresent(String connectionName) {
DashboardPage dashboardPage = new DashboardPage();
SelenideElement connection = dashboardPage.getConnection(connectionName);
connection.shouldNotBe(visible);
}
use of io.syndesis.qe.pages.dashboard.DashboardPage in project syndesis-qe by syndesisio.
the class DashboardSteps method expectIntegrationPresentinTopFive.
@Then("^Integration \"([^\"]*)\" is present in top 5 integrations$")
public void expectIntegrationPresentinTopFive(String name) {
log.info("Verifying integration {} is present in top 5 integrations", name);
DashboardPage dashboardPage = new DashboardPage();
Assertions.assertThat(dashboardPage.isIntegrationPresent(name));
}
use of io.syndesis.qe.pages.dashboard.DashboardPage in project syndesis-qe by syndesisio.
the class DashboardSteps method expectIntegrationNotPresentOnDashboard.
@Then("^Camilla can not see \"([^\"]*)\" integration in top 5 integrations anymore$")
public void expectIntegrationNotPresentOnDashboard(String name) {
log.info("Verifying if integration {} is present", name);
DashboardPage dashboardPage = new DashboardPage();
Assertions.assertThat(dashboardPage.isIntegrationPresent(name)).isFalse();
}
use of io.syndesis.qe.pages.dashboard.DashboardPage in project syndesis-qe by syndesisio.
the class DashboardSteps method expectConnectionTitlePresent.
@Then("^Camilla can see \"([^\"]*)\" connection on dashboard page$")
public void expectConnectionTitlePresent(String connectionName) {
DashboardPage dashboardPage = new DashboardPage();
SelenideElement connection = dashboardPage.getConnection(connectionName);
connection.shouldBe(visible);
}
Aggregations