You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to run Drupal tests within PHPStorm, but have not been able to configure it correctly. Unit and Kernel tests will run, but Functional tests are running into issues like file permissions or accessing urls.
I configured a CLI interpreter to use docker compose and included all configuration files in ~/.lando/compose/SITE, selecting appserver as the service.
When run is selected, it's giving file permission errors:
Exception : User warning: mkdir(): Permission Denied
Drupal\Component\PhpStorage\FileStorage->createDirectory()() (Line: 123)
When exec is selected: the input device is not a TTY
If I create a CLI interpreter using the docker image, I get: Behat\Mink\Exception\ElementNotFoundException : Button with id|name|label|value "Log in" not found.
This seems like it's not getting the right page at the configured url, http://appserver
Is there another way to get PHPUnit working in PHPStorm?
The text was updated successfully, but these errors were encountered:
This repo is intended to make it easy to contribute to the Drupal core and contrib projects.
Setting up, testing, and writing Drupal patches can be a confusing gauntlet to the uninitiated, this project automates as much of the process as possible.
The repo has several waiting merge requests, hopefully they can soon get committed. Until then, collecting some info from this issue might get it running for you? thinktandem/drupal-contributions#76
I'm not running the javascript tests yet so not blocked by the chromedriver setup atm. What I'm looking for is instructions to configure PHPstorm to work with lando. My lando setup is similar to drupal contributions.
This is actually a duplicate of #6, so I'm going to close it and move my post over there.
I want to be able to run Drupal tests within PHPStorm, but have not been able to configure it correctly. Unit and Kernel tests will run, but Functional tests are running into issues like file permissions or accessing urls.
I configured a CLI interpreter to use docker compose and included all configuration files in ~/.lando/compose/SITE, selecting appserver as the service.
When run is selected, it's giving file permission errors:
When exec is selected:
the input device is not a TTY
If I create a CLI interpreter using the docker image, I get:
Behat\Mink\Exception\ElementNotFoundException : Button with id|name|label|value "Log in" not found.
This seems like it's not getting the right page at the configured url, http://appserver
Is there another way to get PHPUnit working in PHPStorm?
The text was updated successfully, but these errors were encountered: