localgovdrupal / localgov_workflows

Default editorial workflow for LocalGov Drupal content.
GNU General Public License v2.0
0 stars 1 forks source link

Fix running tests with Paratest in Github Actions #75

Closed stephen-cox closed 5 months ago

stephen-cox commented 5 months ago

Issue for failing code deprecation: https://github.com/localgovdrupal/localgov_workflows/issues/76

There's also a test failure that needs looking at

1) Drupal\Tests\localgov_workflows\Functional\RequireLogTest::testRequireLogContentType
Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Save content type" not found.

/var/www/html/web/core/tests/Drupal/Tests/WebAssert.php:144
/var/www/html/web/core/tests/Drupal/Tests/UiHelperTrait.php:78
/var/www/html/web/modules/contrib/localgov_workflows/tests/src/Functional/RequireLogTest.php:70
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728