[development] simpletest and multistep forms?

Dmitri Gaskin dmitrig01 at gmail.com
Sun Dec 14 03:32:57 UTC 2008

multi-step can be tested: pass NULL in as the $path.


On Dec 13, 2008, at 7:00 PM, augustin (beginner) wrote:

> On Saturday 13 December 2008 18:37:06 augustin (beginner) wrote:
>> Is it possible to test #ahah form elements with simpletest?
>> How to make the function $this->drupalPost() work when some of the  
>> elements
>> have dynamically been added with an #ahah callback (e.g. when  
>> changing a
>> select value)?
>> Or is this a test scenario that is not yet covered by simpletest?
> And what about multistep forms? The form is evolving according to  
> previous
> user submitions.
> Can $this->drupalPost() be somehow used twice in a row, with  
> simpletest
> remembering the state of the form after the first call?
> Or are all those scenarios that cannot be tested... ?
> Augustin.

More information about the development mailing list