Support tests for d10

Created on 1 December 2023, 10 months ago
Updated 16 February 2024, 7 months ago

Problem/Motivation

I have performed locally test under drupal 10 and some test failed.

1) Drupal\Tests\poll\Functional\PollFieldUITest::testPollFieldUI
The link Add field was not found on the page.
Failed asserting that an array has the key 0.

/app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:121
/app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:55
/app/web/core/tests/Drupal/Tests/UiHelperTrait.php:406
/app/web/modules/contrib/poll/tests/src/Functional/PollFieldUITest.php:62
/app/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

There is no longer "Add field" but "Create a new field"

Proposed resolution

Review and refactor failing tests.

Question

Do we want to support tests for d9 and d10 at the same time?

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇵🇱Poland alorenc Wolsztyn, 🇵🇱

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

Comments & Activities

Production build 0.71.5 2024