This is my Playwright tests examples, witch was wrote for forked An E-commerce site template, implemented with Next.js and TypeScript. Styled with TailwindCSS. This is one of my portfolios, where i'm showing my code practices and project environment examles
Technologies • Demo • Features • Pages • Getting started • Contributing • Contact Me
- F2f very fast tests
- Avoiding of backend renders
- Unflaky tests
- Clone the project
git clone https://github.com/Skipi0007/Playwright-tests-example.git
- Install project dependencies
npm ci --legacy-peer-deps
#or same with
yarn
- Run the development server in project root path:
npm run dev
# or
yarn dev
- Run playwright tests:
# withou/with ui
npm run tests
npm run tests --ui
# or
yarn tests
yarn tests --ui
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request