use of com.codeborne.selenide.SelenideElement in project syndesis-qe by syndesisio.
the class IntegrationSteps method setJmsPublishData.
@And("^sets jms publish inputs source data$")
public void setJmsPublishData(DataTable sourceMappingData) {
for (Map<String, String> source : sourceMappingData.asMaps(String.class, String.class)) {
for (String field : source.keySet()) {
SelenideElement element = editPage.getJmsPublishComponent().checkAndGetFieldTypeById(field);
assertThat(element, notNullValue());
editPage.getJmsPublishComponent().setElementValue(source.get(field), element);
}
}
}
Aggregations