[development] simpletest and multistep forms?

Mohd Sakib sakib.live at gmail.com
Sun Dec 14 06:33:03 UTC 2008


On Sun, Dec 14, 2008 at 9:02 AM, Dmitri Gaskin <dmitrig01 at gmail.com> wrote:

> multi-step can be tested: pass NULL in as the $path.
>
> Dmitri
>
>
> 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.
>>
>>
>


-- 
-----------------
Yours.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20081214/527e4413/attachment-0001.htm 


More information about the development mailing list