[development] simpletest and multistep forms?

augustin (beginner) drupal.beginner at wechange.org
Sun Dec 14 03:00:13 UTC 2008


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