πŸ•ΈοΈWeb Automation

Web Automation Setup

After cloning the repo, go to terminal folder:

Type sudo systemctl start docker

(There are instances that the docker won’t automatically run)

Follow this command to build the local repo:

  1. git pull

  2. npm i --legacy-peer-deps

  3. npm i @mehira/web-react-sdk@0.1.6

  4. npm start

This is what it looks like if the build is successful.

You can now access the env on http://localhost:4200/

GraphQL API: http://localhost:8080
Web: http://localhost:4200
Playground: http://localhost:4300

Web Automation testing

Run the tests in the folder where the tests were:

npx playwright test

Run the specific test:

npx playwright test nameoffile.spec.ts

For html test reports:

npx playwright show-report

Last updated