I am converting some tests to functional javascript and have encountered a bug which was not previously relevant ( see the parent issue )
Tests that extend Drupal\FunctionalJavascriptTests\JavascriptTestBase
seem to load test modules differently
in this stage of the issue
In the error reporting for MultiFormTest
ReflectionException: Class Drupal\form_test\EventSubscriber\FormTestEventSubscriber does not exist
This is the same error observed when enabling the test module manually
with
drush en form-test
Many test module can be manually enabled to support debugging.... form-test should be no different.
Comments
Comment #10
quietone commented@martin107, thanks for opening this issue.
I tested this with Drupal 9.4 and did not get an error when installing form_test via drush.
So, closing this as outdated. If that is incorrect and there is something that needs doing here re-open and explain what there is still to do.
thanks!