Search in sources :

Example 1 with Details

use of io.syndesis.qe.pages.integrations.summary.Details in project syndesis-qe by syndesisio.

the class ApiProviderSteps method verifyTheDisplayedURLMatchesHttpITodoIntegrationApi$.

@Then("^verify the displayed API Provider URL matches regex (.*)$")
public void verifyTheDisplayedURLMatchesHttpITodoIntegrationApi$(String regex) {
    String apiUrl = new Details().getApiUrl();
    assertThat(apiUrl).matches(regex);
}
Also used : Details(io.syndesis.qe.pages.integrations.summary.Details) Then(io.cucumber.java.en.Then)

Example 2 with Details

use of io.syndesis.qe.pages.integrations.summary.Details in project syndesis-qe by syndesisio.

the class DetailsSteps method verifyWebhookUrl.

@Then("^verify the displayed webhook URL matches regex (.*)$")
public void verifyWebhookUrl(String regex) {
    String apiUrl = new Details().getApiUrl();
    Assertions.assertThat(apiUrl).matches(regex);
}
Also used : Details(io.syndesis.qe.pages.integrations.summary.Details) Then(io.cucumber.java.en.Then)

Aggregations

Then (io.cucumber.java.en.Then)2 Details (io.syndesis.qe.pages.integrations.summary.Details)2