assertNoFieldById wrongly replaced with fieldValueNotEquals()?

Created on 19 July 2022, over 2 years ago
Updated 22 August 2023, over 1 year ago

Drupal version

Drupal 10

Drupal Rector version

0.13.0

Problem / Motivation

$this->assertNoFieldById('edit-actions-operations-event-manager-create');

is replaced with
$this->assertSession()->fieldValueNotEquals('edit-actions-operations-event-manager-create', '');

This causes the following test failure:

Behat\Mink\Exception\ElementNotFoundException: Form field with id|name|label|value "edit-actions-operations-event-manager-create" not found.

See #3297977-2: Automated Drupal 10 compatibility fixes β†’ .

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands megachriz

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024