{"id":27402257,"url":"https://github.com/jaktestowac/playwright-gui-api-visual-websocket-mocking","last_synced_at":"2025-04-14T04:24:52.139Z","repository":{"id":287041051,"uuid":"961061609","full_name":"jaktestowac/playwright-gui-api-visual-websocket-mocking","owner":"jaktestowac","description":"This repository contains code used during webinar - Testing on Different Levels: GUI • API • Visual • WebSocket • Mocking","archived":false,"fork":false,"pushed_at":"2025-04-09T16:42:30.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T17:42:47.368Z","etag":null,"topics":["automated-testing","framework","playwright","quality-assurance","test-automation","test-framework","typescript"],"latest_commit_sha":null,"homepage":"https://jaktestowac.pl/poziomy/ ","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaktestowac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-05T17:07:44.000Z","updated_at":"2025-04-09T16:42:34.000Z","dependencies_parsed_at":"2025-04-09T17:54:05.998Z","dependency_job_id":null,"html_url":"https://github.com/jaktestowac/playwright-gui-api-visual-websocket-mocking","commit_stats":null,"previous_names":["jaktestowac/playwright-gui-api-visual-websocket-mocking"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaktestowac%2Fplaywright-gui-api-visual-websocket-mocking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaktestowac%2Fplaywright-gui-api-visual-websocket-mocking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaktestowac%2Fplaywright-gui-api-visual-websocket-mocking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaktestowac%2Fplaywright-gui-api-visual-websocket-mocking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaktestowac","download_url":"https://codeload.github.com/jaktestowac/playwright-gui-api-visual-websocket-mocking/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248820263,"owners_count":21166633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automated-testing","framework","playwright","quality-assurance","test-automation","test-framework","typescript"],"created_at":"2025-04-14T04:24:51.698Z","updated_at":"2025-04-14T04:24:52.130Z","avatar_url":"https://github.com/jaktestowac.png","language":"TypeScript","readme":"# Webinar: Testing on Different Levels: GUI • API • Visual • WebSocket • Mocking? by jaktestowac.pl\n\nThis repository contains code used during Webinar organized by jaktestowac.pl:\n\n_\"Testing on Different Levels: GUI • API • Visual • WebSocket • Mocking\"_\n\n(Polish: _\"Testy na różnych poziomach: GUI • API • Wizualne • WebSocket • Mockowanie\"_)\n\nby [jaktestowac.pl](https://jaktestowac.pl/contribution-playwright/) team.\n\nMore:\n\n[Testy na różnych poziomach!](https://jaktestowac.pl/poziomy/)\n\n## Overview\n\nRepository contains tests for the following topics:\n\n- **GUI testing**\n- **API testing**\n- **Visual testing** - pixel-perfect comparison of screenshots between versions\n- **Visual testing** + **Masking** - automatic detection of front-end changes and ignoring dynamic elements of the interface\n- **WebSocket testing** - testing bidirectional real-time communication\n- **Mocking** - mocking API responses and network interactions, simulating various test scenarios and errors, isolating tests from external dependencies\n\n## Who we are?\n\nWe are **Test Architects and Senior Lead Tech Quality Engineers**, who are passionate about testing.\nWe are constantly looking for new ways to improve our skills and share our knowledge with others.\n\nWe are actively involved in the Playwright community, contributing to the project and sharing our knowledge with others. We have been using Playwright in **different companies and projects since 2021**.\n\nWe believe in the power of open source and the importance of giving back to the community.\n\nRead more about our **[Contribution to Playwright and Community](https://jaktestowac.pl/contribution-playwright/)**\n\n## Prerequisites\n\nBefore you start, make sure you have the following installed:\n\n- [Node.js](https://nodejs.org) (v20 or later LTS version)\n- [npm](https://www.npmjs.com/)\n- our free application to practice automation - [🦎 GAD](https://github.com/jaktestowac/gad-gui-api-demo)\n\n## Setup\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/jaktestowac/playwright-gui-api-visual-websocket-mocking.git\n   cd playwright-gui-api-visual-websocket-mocking\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n## Running Tests\n\nRun all tests:\n\n```bash\nnpm run test\n```\n\nRun specific test file:\n\n```bash\nnpx playwright test tests/example.spec.ts\n```\n\nRun tests with UI mode:\n\n```bash\nnpx playwright test --ui\n```\n\nGenerate test report:\n\n```bash\nnpx playwright show-report\n```\n\n## Troubleshooting\n\nCommon issues and solutions:\n\n1. **Tests fail on first run**\n\n   - Ensure 🦎 GAD application is running\n   - Check if correct Node.js version is installed\n\n2. **Browser launch fails**\n   ```bash\n   npx playwright install\n   ```\n\n## Resources\n\n- [Playwright Documentation](https://playwright.dev/docs/intro)\n- [Playwright GitHub Repository](https://github.com/microsoft/playwright)\n- Additional resources - [Testy na różnych poziomach!](https://jaktestowac.pl/poziomy/)\n- [Free Playwright Resources](https://jaktestowac.pl/darmowy-playwright/) - our free resources to learn Playwright\n\n## Contact\n\nFeel free to reach out to us:\n\n- Website: [jaktestowac.pl](https://jaktestowac.pl)\n- LinkedIn: [jaktestowac.pl](https://www.linkedin.com/company/jaktestowac/)\n\nHappy testing and automating tests!🚀\n\njaktestowac.pl Team ❤️💚\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaktestowac%2Fplaywright-gui-api-visual-websocket-mocking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaktestowac%2Fplaywright-gui-api-visual-websocket-mocking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaktestowac%2Fplaywright-gui-api-visual-websocket-mocking/lists"}