Search in sources :

Example 1 with BasicFilterStepComponent

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);
}
Also used : BasicFilterStepComponent(io.syndesis.qe.pages.integrations.edit.steps.BasicFilterStepComponent) Then(cucumber.api.java.en.Then)

Example 2 with BasicFilterStepComponent

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();
}
Also used : BasicFilterStepComponent(io.syndesis.qe.pages.integrations.edit.steps.BasicFilterStepComponent) Then(cucumber.api.java.en.Then)

Aggregations

Then (cucumber.api.java.en.Then)2 BasicFilterStepComponent (io.syndesis.qe.pages.integrations.edit.steps.BasicFilterStepComponent)2