A framework template to perform practice assignments for the class "Playwright API Testing Mastery"
- Create
.env
file in the root of the project. Use the.env-SAMPLE
as an example - Update
.env
file with a valid Bondar Academy credentials Example:USERNAME='test@test.com' PASSWORD='Welcome1'
- Open a new terminal, execute command
npm install
to install project dependencies - Run a sample test in
practiceTest.spec.ts
to make sure everything is working
P.S. .env
file is added to .gitignore
so it will not be version controlled.
The stored credentials only be available for the local computer and will not be shared or exposed to repository.