use of io.syndesis.qe.pages.integrations.edit.steps.BasicFilterStepComponent in project syndesis-qe by syndesisio.
the class IntegrationSteps method addBasicFilterRule.
@Then("^add new basic filter rule with \"([^\"]*)\" parameters$")
public void addBasicFilterRule(String rule) {
BasicFilterStepComponent basicFilterStepPage = (BasicFilterStepComponent) editPage.getStepComponent("BASIC FILTER", "");
basicFilterStepPage.initialize();
basicFilterStepPage.addRule(rule);
}
use of io.syndesis.qe.pages.integrations.edit.steps.BasicFilterStepComponent in project syndesis-qe by syndesisio.
the class IntegrationSteps method checkBasicFilterStepOption.
@Then("^she checks that basic filter step path input options contains \"([^\"]*)\" option$")
public void checkBasicFilterStepOption(String option) {
BasicFilterStepComponent basicFilterStepComponent = new BasicFilterStepComponent("");
List<String> options = basicFilterStepComponent.getPathInputOptions();
Assertions.assertThat(options.contains(option)).isTrue();
}
Aggregations