{"repo":"m-pujic-levi9-com/playwright-e2e-tests","free":true,"listed":false,"github":"https://github.com/m-pujic-levi9-com/playwright-e2e-tests","clone":"git clone https://github.com/m-pujic-levi9-com/playwright-e2e-tests.git","description":"Playwright E2E Test Framework","language":"TypeScript","stars":54,"topics":["docker","docker-compose","kubernetes","monocart","monocart-reporter","playwright","playwright-typescript","restful-booker","typescript","automation"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Playwright E2E Testing Framework Playwright E2E Testing Framework project represents a starting point for writing tests in Playwright. Provided tests are based on examples how to define and use utility functions, explicit wait for some element, usage of faker for generating random data and possible solutions for organizing tests using Page Object pattern. IDE Setup - Install Visual Studio Code - Recommended extensions in Visual Studio Code: - Playwright Test for VSCode - ESLint - Prettier - Code formatter - Local History - GitLens - Markdownlint - Install Node JS - Clone the repository to your local system - Open the project in Visual Studio Code and open the terminal - Make sure the path to the project is correct \\playwright-e2e-tests - In the terminal, execute the following command: - The command will install all found in the package.json Used Libraries - Playwright - Monocart Reporter - Allure Reporter - Faker JS - Prettier - ESLint - Husky - Lint Staged Launch Playwright and Execute Test Cases Open the terminal inside \\playwright-e2e-tests and use the following commands to: - Open the Playwright UI to execute test cases against default environment: npx playwright test --ui - Execute all test cases without opening the Playwright UI against default environment: npx playwright test - Environment variables: - ENV , which can have value prod / local / docker , depending on which environment you would like to execute your tests (if not defined, prod will be used by default) - p","default_branch":null,"files":null,"tree":[],"storefront":"/r/m-pujic-levi9-com","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/m-pujic-levi9-com/playwright-e2e-tests/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}