CodingGarden / listd

listd is a Full Stack App that will allow users to create, share and watch lists of YouTube channels. This app is being built LIVE on Twitch https://twitch.tv/codinggarden
https://twitch.tv/codinggarden
MIT License
193 stars 53 forks source link

feat: ensure playwright is installed on e2e tests. #120

Closed folsomgeek2016 closed 1 year ago

folsomgeek2016 commented 1 year ago

What type of Pull Request is this?

Build related changes

What is the current behavior?

When checking out the project for the first time and running the e2e tests, it will fail because playwright isn't installed. Also if the tests crash or end prematurely, the dockers are left running. The easy fix is to always try to stop them before starting them.

What is the new behavior?

Playwright will be installed and then checked on subsequent runs of the e2e tests. Also, dockers will be cleaned up by ensuring they aren't running before starting the e2e tests.