- Issue created by @jerdavis
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
Needs work
3.0
Code