Comments (3)
I started on this today. Here is what I've got:
- started with Pantheon
example-drops-8-composer
as it has a composer with Behat and friends in it.
composer create-project pantheon-systems/example-drops-8-composer behat-d8
lando init behat-d8
lando drush si --db-url=mysql://drupal8:drupal8@database/drupal8
In tests/behat-pantheon.yml
I had to add to the drush
section beneath the api_driver
section like so:
#
# behat.yml file for testing on Pantheon.
#
default:
suites:
default:
paths:
- %paths.base%/features
- %paths.base%/site-features
contexts:
- FeatureContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MinkContext
extensions:
Behat\MinkExtension:
goutte: ~
selenium2: ~
files_path: './data-files'
Drupal\DrupalExtension:
blackbox: ~
api_driver: 'drush'
drush:
alias: 'local'
Behat tries to write to /tmp
files, but in the container they are owned by root
so I changed the ownership there to www-data
:
lando ssh
chmod -R www-data:www-data /tmp
We'll want a way to have that set up already for the user extras
key in .lando.yml
?
from docs.
The pantheon-systems/example-drops-8-composer
repo does not include a .htaccess
file so I had to copy one in to make clean URLs work and the site be useable.
from docs.
PR: lando/lando#253
from docs.
Related Issues (20)
- Using Let's Encrypt SSL certificate
- Hello World example broken in Windows Powershell 7?
- export XDEBUG_SESSION="PHPSTORM" doesn't initiate listening in PhpStorm
- CLI value types HOT 1
- set docker-ce as a hard dependency for our packages?
- "myriad examples" link broken
- Add documentation how to use the YAML merge key (example supplied)
- How to do string concatenation in lando yml file? HOT 1
- Automate Sitemap Index Creation
- post vitepress tasks
- How to keep anonymous volumes when running 'lando rebuild'?
- Lando recipe for SonarQube
- What is the correct way to install on Windows/WSL2? HOT 5
- Better lando.yml Documentation HOT 5
- Broken Working Offline link on Troubleshooting > DNS Rebind page HOT 1
- Should I stay on 3.20.8? HOT 1
- Broken link in v3/services page HOT 2
- Docs mention a 3.22.1 for installation but this version doesn't even exist as a release HOT 3
- xDebug not being enabled though HOT 3
- Lando uninstall instructions and docker HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.