A hands-on automation testing practice repository using Playwright and Codemo Playground
This repository contains Playwright automation tests for practicing test automation skills on Codemo Playground — a real-world sandbox environment designed for learning and mastering automation testing.
Codemo is a personal website built to provide a guided learning space where you can practice:
- Testing real-world UI components (buttons, inputs, selects, dialogs, file actions, etc.)
- Identifying elements reliably
- Validating application states
- Building maintainable automation scripts
- Exploring browser interactions and dynamic UI behaviors
Codemo Playground is a collection of hands-on testing exercises and challenges covering:
- Getting Started - Introduction to the playground and practice methodology
- General UI - Testing standard web components
- Dynamic UI - Handling interactive and dynamic element behaviors
- Browser Interactions - Working with browser APIs and events
- Storage & State - Managing application state and persistence
- API - Testing API integrations
- Beehive - A realistic e-commerce application for end-to-end testing
Visit: https://codemo.dev/playground/getting-started
- Node.js (v16 or higher)
- npm
- Clone this repository:
git clone <repository-url>
cd codemo-practice- Install dependencies:
npm installRun all tests:
npm testRun a specific test file:
npx playwright test tests/login.spec.tsRun tests in headed mode (see browser):
npx playwright test --headedRun tests with UI mode:
npx playwright test --uiView test report:
npx playwright show-reporttests/playground/ # Contains all Playwright test files organized by feature or scenario
├── general-ui/ # Tests for general UI components
├── dynamic-ui/ # Tests for dynamic and interactive elements
├── browser-interactions/ # Tests for browser API interactions
├── storage-state/ # Tests for application state and storage
├── api/ # Tests for API integrations
└── beehive/ # End-to-end tests for the Beehive e-commerce application
These tests demonstrate best practices for automation testing:
- Clear, descriptive test names
- Proper use of selectors
- Waiting for elements intelligently
- Testing realistic user flows
- Validating expected outcomes
- Codemo Website: https://codemo.dev
- Playground: https://codemo.dev/playground/getting-started
- Blog: https://codemo.dev/blog
- Contact: contact@codemo.dev
- Visit Codemo Playground and pick a scenario to practice
- Interact with the example and observe the expected behavior
- Write test cases in this repository to automate the flow
- Run and refine your tests
- Explore different testing patterns and techniques
If you find issues with the tests or have suggestions, please report them through:
- Codemo Playground issue form
- Email: contact@codemo.dev Or create a GitHub issue in this repository.
This repository is public and created for educational and practice purposes.
Built with ❤️ for automation testing practitioners. Practice. Share. Quiet Moments.