Lullabot / playwright-drupal

Playwright / Drupal integration, supporting fast parallel tests and visual comparisons
2 stars 1 forks source link

Add a ddev post-start hook to remove Dockerfile.playwright #11

Open deviantintegral opened 1 month ago

deviantintegral commented 1 month ago

Once the containers are started, we don't need this file anymore. If we remove it, then we know that users won't accidentally commit it to git in case they miss that setup step.

penyaskito commented 1 month ago

tbh I'd prefer we add a gitignore file? Problem is that another add-on might be doing that too, and they would collide.

Maybe adding a .gitignore.ddev-playwright and calling in post-install

git config core.excludesfile .gitignore.ddev-playwright

is a better option.