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);
}
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);
}