Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure in localgov_content_lock module #731

Closed
stephen-cox opened this issue Jun 18, 2024 · 2 comments · Fixed by #732
Closed

Test failure in localgov_content_lock module #731

stephen-cox opened this issue Jun 18, 2024 · 2 comments · Fixed by #732

Comments

@stephen-cox
Copy link
Member

1) Drupal\Tests\localgov_content_lock\Functional\ContentLockTest::testContentLockConfiguration
Behat\Mink\Exception\ElementNotFoundException: Element matching xpath "./ancestor::form" not found.

/var/www/html/vendor/behat/mink/src/WebAssert.php:465
/var/www/html/web/core/tests/Drupal/Tests/UiHelperTrait.php:79
/var/www/html/web/profiles/contrib/localgov/modules/localgov_content_lock/tests/src/Functional/ContentLockTest.php:46
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
@millnut
Copy link
Member

millnut commented Jun 18, 2024

Looked into this a bit in #730 (comment) looks related to the gin theme latest update, I have also submitted a ticket on the gin theme issue queue

@stephen-cox
Copy link
Member Author

stephen-cox commented Jun 19, 2024

@millnut Good catch picking this up as a problem with the Gin theme.

It looks like they won't fix the issus in Gin (https://www.drupal.org/project/gin/issues/3455524) so I think the simplest solution for now is to switch to the Claro theme for this test.

PR for this here #732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants