Start database in docker:
docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=e2e_tests_example -d mysql:8.0.32
Run database migrations:
cd src/BackendApp.Migrator
dotnet run
Start backend app:
cd src/BackendApp.Web
dotnet run
Start frontend app:
cd src/BackendApp.Web/app
yarn
yarn start
Navigate to https://localhost:11000
docker-compose up -d --build
cd tests/e2e
yarn test
Generate pfx:
dotnet dev-certs https -ep tests/e2e/https/app.pfx -p test
Generate crt:
dotnet dev-certs https --trust --export-path tests/e2e/https/ca.cert.crt
Enter system (not pfx!) password