Add widget test cases

Created on 7 August 2023, 11 months ago
Updated 9 August 2023, 11 months ago

Problem/Motivation

https://www.drupal.org/project/custom_field/issues/3379730 πŸ› Multi-value fields not working properly within Layout Builder Fixed makes a pretty significant change to the widget base. In order to prevent regressions, we should probably have widget tests in place prior to landing #3379730.

Proposed resolution

Add test field configuration for limited cardinality (> 1), and unlimited cardinality.
Add a CustomFieldWidgetTestBase class.
Add a CustomWidgetTest class.
Add a CustomStackedWidgetTest class.

The tests should run through adding and removing data via the respective widget plugins.

User interface changes

None

API changes

None

Data model changes

None

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Luke.Leber Pennsylvania

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024