Sample project based on the Ahorcado by my friend Lucas Saldaña, adding a Playwright test that always wins the game. Eventually.
-
Install NodeJs 18.10.0.
Recommended to use NVM.
After installing it, simply enter
nvm use
in the project's root folder. -
Install the project's dependencies.
npm install
-
Install Playwright's dependencies.
sudo npx playwright install-deps
npm run serve
npm run test
npm run report