Fix failled test on Drupal 10

Created on 9 January 2024, 6 months ago
Updated 25 January 2024, 5 months ago

Problem/Motivation

Source https://git.drupalcode.org/project/token/-/jobs/586074

1) Drupal\Tests\token\Functional\TokenMenuTest::testMenuTokens
Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Save content type" not found.
/builds/project/token/web/core/tests/Drupal/Tests/WebAssert.php:144
/builds/project/token/web/core/tests/Drupal/Tests/UiHelperTrait.php:78
/builds/project/token/tests/src/Functional/TokenMenuTest.php:159
/builds/project/token/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
2) Drupal\Tests\token\Functional\Tree\HelpPageTest::testHelpPageTree
Behat\Mink\Exception\ResponseTextException: The text "The list of the currently available tokens on this site are shown below." was not found anywhere in the text of the current page.
/builds/project/token/vendor/behat/mink/src/WebAssert.php:907
/builds/project/token/vendor/behat/mink/src/WebAssert.php:293
/builds/project/token/tests/src/Functional/Tree/HelpPageTest.php:38
/builds/project/token/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
ERRORS!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇺Russia zniki.ru

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024