File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,8 @@ ddev drupal list
1818# Install drupal
1919ddev drupal install
2020
21- # Run PHPUnit tests
22- ddev phpunit core/modules/sdc
23-
24- # Run Nightwatch tests (currently only runs on Chrome)
25- ddev nightwatch --tag core
21+ # Verify some sample tests that require a working site
22+ ddev phpunit core/tests/Drupal/FunctionalTests/Core
2623```
2724
2825## Nightwatch Examples
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ ddev exec chmod 775 sites/default sites/default/settings.php
4+ ddev exec rm -Rf sites/default/files
5+ ddev exec rm sites/default/settings.php
6+ ddev drupal install
Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ post_install_actions:
2626 - cp core-dev/gitignore ../.gitignore
2727 - mkdir -p ../test_output
2828 - chmod +w ../test_output
29- - ddev exec corepack enable
30- - cd ../core && ddev exec yarn set version stable
29+ - ddev exec corepack enable # @todo remove when in DDEV core.
30+ - ddev exec yarn set version stable
31+ - ddev exec rm sites/default/files
32+ - cd ../core && ddev yarn
3133
3234removal_actions :
3335 - rm core/phpunit.xml
You can’t perform that action at this time.
0 commit comments