use of io.syndesis.qe.steps.integrations.editor.EditorSteps in project syndesis-qe by syndesisio.
the class ApiProviderSteps method createTheTODOIntegration.
/**
* Convenience method to prevent repeating the same steps over and over again
*
* @param name
* @param source
* @param path
*/
@When("^create an API Provider integration \"([^\"]*)\" from (\\w+) (.+)$")
public void createTheTODOIntegration(String name, String source, String path) {
CommonSteps cs = new CommonSteps();
cs.clickOnLink("Create Integration");
new EditorSteps().verifyNewIntegrationEditorOpened();
new ChooseConnectionSteps().selectConnection("API Provider");
createApiProviderSpec(source, path);
navigateToTheNextAPIProviderWizardStep();
cs.clickOnButton("Next");
cs.clickOnLink("Save");
new CreateIntegrationSteps().setIntegrationName(name);
cs.clickOnButton("Save");
TestUtils.sleepIgnoreInterrupt(2000);
}
Aggregations