[jbosstools-issues] [JBoss JIRA] (JBTIS-977) Fuse - Investigate whether we stiil need to wait for a dialog "Please confirm ..."
Andrej Podhradsky (JIRA)
issues at jboss.org
Thu Nov 3 05:42:00 EDT 2016
Andrej Podhradsky created JBTIS-977:
---------------------------------------
Summary: Fuse - Investigate whether we stiil need to wait for a dialog "Please confirm ..."
Key: JBTIS-977
URL: https://issues.jboss.org/browse/JBTIS-977
Project: JBoss Tools Integration Stack
Issue Type: Task
Components: Fuse IDE, QE
Affects Versions: 4.4.0.Alpha1
Reporter: Andrej Podhradsky
Assignee: Tomáš Sedmík
After each save the tests wait for a dialog "Please confirm ..." which is probably not needed anymore. This waiting takes 10 s after each save, so please consider removing this condition.
{code:title=CamelEditor.java}
public void save() {
activate();
new ShellMenu("File", "Save").select();
try {
new WaitUntil(new ShellWithTextIsAvailable("Please confirm..."));
new DefaultShell("Please confirm...");
new YesButton().click();
throw new CamelEditorException("There are unconnected endpoints in the diagram!");
} catch (WaitTimeoutExpiredException e) {
// The dialog "Please confirm..." didn't show up => everything is OK
}
}
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list