Errors with existing tests for Admin UI & Revision Access check

Created on 19 March 2024, 3 months ago

The following errors are occurring in existing tests.

There were 2 errors:
1) Drupal\Tests\workflow_participants\Functional\AdminUiTest::testCacheTags
TypeError: Behat\Mink\Element\TraversableElement::findButton(): Argument #1 ($locator) must be of type string, Drupal\Core\StringTranslation\TranslatableMarkup given, called in /builds/issue/workflow_participants-3432180/web/core/tests/Drupal/Tests/WebAssert.php on line 143
/builds/issue/workflow_participants-3432180/vendor/behat/mink/src/Element/TraversableElement.php:97
/builds/issue/workflow_participants-3432180/web/core/tests/Drupal/Tests/WebAssert.php:143
/builds/issue/workflow_participants-3432180/web/core/tests/Drupal/Tests/UiHelperTrait.php:78
/builds/issue/workflow_participants-3432180/tests/src/Functional/AdminUiTest.php:315
/builds/issue/workflow_participants-3432180/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
2) Drupal\Tests\workflow_participants\Functional\RevisionAccessDiffTest::testRevisionDiffs
Behat\Mink\Exception\DriverException: Only string values can be used for a radio input.
/builds/issue/workflow_participants-3432180/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:415
/builds/issue/workflow_participants-3432180/vendor/behat/mink/src/Element/NodeElement.php:118
/builds/issue/workflow_participants-3432180/web/core/tests/Drupal/Tests/UiHelperTrait.php:96
/builds/issue/workflow_participants-3432180/tests/src/Functional/RevisionAccessDiffTest.php:42
/builds/issue/workflow_participants-3432180/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
ERRORS!
Tests: 31, Assertions: 935, Errors: 2.
HTML output was generated
πŸ› Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jerdavis Minneapolis, MN

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

Comments & Activities

Production build 0.69.0 2024