Problem/Motivation

Since Drupal 11.3 the "Manage display" tab opens an overview of the display modes instead of the field table of the default view mode (change record). Two tests still look for fields on that page and fail on the current core:

  • PollFieldUITest::testPollFieldUi: #poll-votes is not found after clicking "Manage display".
  • PollFieldTest::testPollFields: "Number field" is not found on admin/config/content/poll/display.

The 2.0.x pipeline last passed on 2026-06-13 on an older core. Every merge request pipeline now fails in the phpunit job, see for example !95.

Steps to reproduce

  1. Install poll 2.0.x on Drupal 11.3 or newer.
  2. Run PollFieldUITest and PollFieldTest.

Proposed resolution

Point both tests at the default view mode page, admin/config/content/poll/display/default. That route exists on every supported version of Drupal Core. Clicking a "Default" link is not an option: older versions of Drupal Core show the field table on the tab itself and hide the lone "Default" secondary tab, so the link is not there.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

AI-Generated: Yes (Claude Code found the cause and drafted the test change; reviewed and tested by kasperg).

Issue fork poll-3620843

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kasperg created an issue. See original summary.

kasperg’s picture

Status: Active » Needs review

  • bramdriesen committed 2d4ebe13 on 2.0.x authored by kasperg
    fix: #3620843 Field UI tests fail on Drupal 11.3+: the field table moved...
bramdriesen’s picture

Status: Needs review » Fixed

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.