Search in sources :

Example 1 with AbstractStep

use of io.syndesis.qe.pages.integrations.editor.add.steps.getridof.AbstractStep in project syndesis-qe by syndesisio.

the class ConfigureStepSteps method fillStepConfiguration.

@When("^fill in the configuration page for \"([^\"]*)\" step with \"([^\"]*)\" parameter$")
public void fillStepConfiguration(String stepType, String parameter) {
    AbstractStep stepComponent = StepFactory.getStep(stepType, parameter);
    stepComponent.fillConfiguration();
}
Also used : AbstractStep(io.syndesis.qe.pages.integrations.editor.add.steps.getridof.AbstractStep) When(io.cucumber.java.en.When)

Example 2 with AbstractStep

use of io.syndesis.qe.pages.integrations.editor.add.steps.getridof.AbstractStep in project syndesis-qe by syndesisio.

the class ConfigureStepSteps method verifyConfigureStepPage.

@Then("^check visibility of \"([^\"]*)\" step configuration page$")
public void verifyConfigureStepPage(String stepType) {
    AbstractStep stepComponent = StepFactory.getStep(stepType, "");
    log.info("there must be add step editPage root element");
    stepComponent.getRootElement().shouldBe(visible);
    assertThat(stepComponent.validate()).isTrue();
}
Also used : AbstractStep(io.syndesis.qe.pages.integrations.editor.add.steps.getridof.AbstractStep) Then(io.cucumber.java.en.Then)

Aggregations

AbstractStep (io.syndesis.qe.pages.integrations.editor.add.steps.getridof.AbstractStep)2 Then (io.cucumber.java.en.Then)1 When (io.cucumber.java.en.When)1