[JBoss JIRA] Updated: (ARQAJO-13) Wrong call to JS function getRequestDone
by Lukas Fryc (JIRA)
[ https://issues.jboss.org/browse/ARQAJO-13?page=com.atlassian.jira.plugin.... ]
Lukas Fryc updated ARQAJO-13:
-----------------------------
Fix Version/s: 1.0.0.Alpha2
> Wrong call to JS function getRequestDone
> ----------------------------------------
>
> Key: ARQAJO-13
> URL: https://issues.jboss.org/browse/ARQAJO-13
> Project: Arquillian Ajocado
> Issue Type: Feature Request
> Reporter: Lukas Fryc
> Assignee: Lukas Fryc
> Fix For: 1.0.0.Alpha2
>
>
> The problem is that in Cheiron.js the function is called getRequestTypeDone
> com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception: cheiron.requestInterceptor.getRequestDone is not a function
> at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
> at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
> at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)
> at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.test.selenium.interception.CommandContext.invoke(CommandContext.java:103)
> at org.jboss.test.selenium.interception.InterceptionProxy.invoke(InterceptionProxy.java:111)
> at $Proxy23.getString(Unknown Source)
> at com.thoughtworks.selenium.DefaultSelenium.getEval(DefaultSelenium.java:443)
> at org.jboss.test.selenium.framework.TypedSeleniumImpl.getEval(TypedSeleniumImpl.java:321)
> at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.test.selenium.framework.AjaxSeleniumProxy.invoke(AjaxSeleniumProxy.java:109)
> at $Proxy0.getEval(Unknown Source)
> at org.jboss.test.selenium.request.RequestInterceptor.getRequestTypeDone(RequestInterceptor.java:63)
> at org.richfaces.tests.metamer.ftest.a4jPush.AbstractPushTest.pushAndWait(AbstractPushTest.java:98)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Updated: (ARQAJO-15) Implement atomic call of AjaxWaiting$waitForChangeAndReturn
by Lukas Fryc (JIRA)
[ https://issues.jboss.org/browse/ARQAJO-15?page=com.atlassian.jira.plugin.... ]
Lukas Fryc updated ARQAJO-15:
-----------------------------
Fix Version/s: 1.0.0.Alpha2
> 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
> Fix For: 1.0.0.Alpha2
>
>
> 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: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Moved: (ARQAJO-13) Wrong call to JS function getRequestDone
by Lukas Fryc (JIRA)
[ https://issues.jboss.org/browse/ARQAJO-13?page=com.atlassian.jira.plugin.... ]
Lukas Fryc moved JBQA-3835 to ARQAJO-13:
----------------------------------------
Project: Arquillian Ajocado (was: JBoss QA)
Key: ARQAJO-13 (was: JBQA-3835)
Issue Type: Feature Request (was: Bug)
Workaround Description: (was: use clearRequestDone() method instead)
Component/s: (was: Cheiron)
> Wrong call to JS function getRequestDone
> ----------------------------------------
>
> Key: ARQAJO-13
> URL: https://issues.jboss.org/browse/ARQAJO-13
> Project: Arquillian Ajocado
> Issue Type: Feature Request
> Reporter: Lukas Fryc
> Assignee: Lukas Fryc
>
> The problem is that in Cheiron.js the function is called getRequestTypeDone
> com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception: cheiron.requestInterceptor.getRequestDone is not a function
> at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
> at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
> at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)
> at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.test.selenium.interception.CommandContext.invoke(CommandContext.java:103)
> at org.jboss.test.selenium.interception.InterceptionProxy.invoke(InterceptionProxy.java:111)
> at $Proxy23.getString(Unknown Source)
> at com.thoughtworks.selenium.DefaultSelenium.getEval(DefaultSelenium.java:443)
> at org.jboss.test.selenium.framework.TypedSeleniumImpl.getEval(TypedSeleniumImpl.java:321)
> at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.test.selenium.framework.AjaxSeleniumProxy.invoke(AjaxSeleniumProxy.java:109)
> at $Proxy0.getEval(Unknown Source)
> at org.jboss.test.selenium.request.RequestInterceptor.getRequestTypeDone(RequestInterceptor.java:63)
> at org.richfaces.tests.metamer.ftest.a4jPush.AbstractPushTest.pushAndWait(AbstractPushTest.java:98)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months