|
From: Marcus B. <ma...@wo...> - 2009-09-01 10:14:07
|
Hi... alexa driti wrote: > I am using simpletest to do integration testing of my websites, and I need > to tell the internal browser to wait for a certain amount of time (as the > page is being redirected), and then do assertText. > > Is there an easy way to do this ? I need a little more information. Is this a meta refresh or a 3xx redirect? Or is this some kind of JavaScript delay. SimpleTest will follow redirects automatically, and you can alter it's behaviour with setMaximumRedirects(). Setting to zero will stop the redirects altogether. There is no concept of a delay here. SimpleTest will just wait for the page. Do you have a race condition? > > Regards yours, Marcus |