]
Lukas Fryc moved JBQA-3733 to ARQAJO-15:
----------------------------------------
Project: Arquillian Ajocado (was: JBoss QA)
Key: ARQAJO-15 (was: JBQA-3733)
Component/s: (was: Cheiron)
Implement atomic call of AjaxWaiting$waitForChangeAndReturn
-----------------------------------------------------------
Key: ARQAJO-15
URL:
https://issues.jboss.org/browse/ARQAJO-15
Project: Arquillian Ajocado
Issue Type: Feature Request
Reporter: Lukas Fryc
Assignee: Lukas Fryc
Priority: Minor
Currently, there need to be 2 operations to run operation
"waitForChangeAndReturn":
selenium.waitForCondition(js(format("{0} != '{1}'", scriptString,
oldValueString)), this.getTimeout());
String retrieved = selenium.getEval(script);
This idea is to implement this operation atomically in meaning of Selenium.
It can a) made tests atomic and stable, b) improve run time a little
All previous methods fails:
a) call getEval evaluating doWaitForCondition followed by expression to evaluate
b) implement own method on Selenium.prototype to call doWaitForCondition and getEval in
sequence (this method also lacks the possibility of passing timeout)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: