use of io.syndesis.qe.pages.connections.wizard.phases.configure.ConfigureConnectionAmq in project syndesis-qe by syndesisio.
the class SelectConnectionType method selectConnectionType.
public void selectConnectionType(String title) {
switch(title) {
case "AMQ":
wizard.replaceStep(new ConfigureConnectionAmq(), 1);
break;
default:
wizard.replaceStep(new ConfigureConnection(), 1);
}
log.info("Selected " + title + " connection type.");
connectionTypes.invokeActionOnItem(title, ListAction.CLICK);
}
use of io.syndesis.qe.pages.connections.wizard.phases.configure.ConfigureConnectionAmq in project syndesis-qe by syndesisio.
the class SelectConnectionTypeSteps method selectConnectionType.
@When("^Camilla selects \"([^\"]*)\" connection type$")
public void selectConnectionType(String connectionName) {
selectConnectionTypePage.selectConnectionType(connectionName);
ConfigureConnection connectionWizardStep = null;
switch(connectionName) {
case "AMQ":
connectionWizardStep = new ConfigureConnectionAmq();
break;
default:
connectionWizardStep = new ConfigureConnection();
}
wizard.replaceStep(connectionWizardStep, 1);
}
Aggregations