#7653 (can't test embedded forms in functional tests)

You must first sign up to be able to contribute.

Ticket #7653 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

can't test embedded forms in functional tests

Reported by: geoffrey Assigned to: fabien
Priority: minor Milestone: 1.3.0 RC2
Component: tests Version: 1.3.0 RC1
Keywords: Cc:
Qualification: Unreviewed


The form tester does not allow testing of embedded forms with isError().

Use case:

I have a form called "mainform" with a subform called "subform" and I wand to validate that subform's field "foobar" is invalid.

I could then want to write the following code:

$browser->with('form')->isError('mainform[subform][foobar]', 'invalid');

which does not work as to 1.3RC1


embedded_form.diff (0.9 kB) - added by geoffrey on 11/20/09 16:36:29.
proposed patch

Change History

11/20/09 16:36:29 changed by geoffrey

  • attachment embedded_form.diff added.

proposed patch

11/22/09 07:47:21 changed by fabien

  • milestone set to 1.3.0 RC2.

11/22/09 07:47:59 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [24217]) [1.3, 1.4] fixed embedded forms in functional tests (closes #7653)