By michielnugter on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.4.x
Introduced in version:
8.4.0-beta2
Issue links:
Description:
The field assertions on the AssertLegacyTrait were meant to be fully compatible with the same assertions in Simpletest, this has been fixed and the field assertions are now exact reimplementations of the old Simpletest versions.
Example of incompatibility:
The current assertFieldByName() and assertNoFieldByName() both only check 1 field on the AssertLegacyTrait class. The old Simpletest method tested all fields on the expected value.
This causes problems when checking on a field that is on the page more than one time, the op field for example.
Impacts:
Module developers