- Issue created by @rkoller
- First commit to issue fork.
- π·π΄Romania amateescu
Looked into this today and it turns out that the language add/edit forms are using
#limit_validation_errors
and the workspace validation didn't account for that. - πΊπΈUnited States smustgrave
Thanks for always including test coverage from the jump!
1) Drupal\Tests\workspaces\Functional\WorkspaceFormValidationTest::testValidateLimitErrors Behat\Mink\Exception\ResponseTextException: The text "This form can only be submitted in the default workspace." was not found anywhere in the text of the current page. /builds/issue/drupal-3471675/vendor/behat/mink/src/WebAssert.php:907 /builds/issue/drupal-3471675/vendor/behat/mink/src/WebAssert.php:293 /builds/issue/drupal-3471675/core/tests/Drupal/Tests/WebAssert.php:979 /builds/issue/drupal-3471675/core/modules/workspaces/tests/src/Functional/WorkspaceFormValidationTest.php:56 FAILURES!
Test coverage appears to be there and following the test.
Following the steps provided I don't get an exception.
LGTM
- πͺπΈSpain penyaskito Seville π, Spain πͺπΈ, UTC+2 πͺπΊ
There are merge conflicts on the phpstan baseline.