{"id":13651616,"url":"https://github.com/MarcusFelling/Demo.Playwright","last_synced_at":"2025-04-22T22:31:39.201Z","repository":{"id":40465208,"uuid":"429860123","full_name":"MarcusFelling/demo.playwright","owner":"MarcusFelling","description":"This repo is used to demo various testing scenarios with Playwright 🎭, using the official test-runner and scripts authored in TypeScript.","archived":false,"fork":false,"pushed_at":"2024-08-12T17:57:50.000Z","size":1943,"stargazers_count":278,"open_issues_count":0,"forks_count":50,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-09T15:08:40.318Z","etag":null,"topics":["browser-automation","e2e-testing","github-actions","playwright","testing","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarcusFelling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-19T16:14:05.000Z","updated_at":"2025-03-18T12:55:03.000Z","dependencies_parsed_at":"2023-09-22T05:09:06.699Z","dependency_job_id":"5a593834-de23-4ed4-9b89-c04859ba8782","html_url":"https://github.com/MarcusFelling/demo.playwright","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusFelling%2Fdemo.playwright","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusFelling%2Fdemo.playwright/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusFelling%2Fdemo.playwright/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcusFelling%2Fdemo.playwright/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcusFelling","download_url":"https://codeload.github.com/MarcusFelling/demo.playwright/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250333972,"owners_count":21413487,"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":["browser-automation","e2e-testing","github-actions","playwright","testing","typescript"],"created_at":"2024-08-02T02:00:50.978Z","updated_at":"2025-04-22T22:31:38.765Z","avatar_url":"https://github.com/MarcusFelling.png","language":"TypeScript","funding_links":[],"categories":["Showcases"],"sub_categories":[],"readme":"# 🎭 demo.playwright\n\nThis repo is used to demo various testing scenarios with [Playwright](https://playwright.dev/) 🎭, using the official test-runner and scripts authored in TypeScript.\n\nThe [test.yml](../../actions/workflows/test.yml) GitHub Action workflow is used to:\n\n## Run Playwright example tests\n\n**[accessibility](./accessibility/tests/example.spec.ts)** - runs accessibility checks against [https://playwright.dev/docs/accessibility-testing](https://playwright.dev/docs/accessibility-testing)\n\n**[android](./android/tests/example.spec.ts)** - runs a basic test using Android's WebView.\n\n**[basic](./basic)** - basic tests to show interactions, element selectors, assertions, upload files, read a response, mock a response, and page object model (POM).\n\n**[chrome-extension](./chrome-extension/tests/example.spec.ts)** - basic test that gets a handle to the background page of Chrome extension.\n\n**[drag-and-drop](./drag-and-drop/tests/example.spec.ts)** - runs example drag-and-drop test utilizing [https://www.w3schools.com/html/html5_draganddrop.asp](https://www.w3schools.com/html/html5_draganddrop.asp).\n\n**[fixtures](./fixtures/tests)** - runs example tests utilizing [test and worker fixtures](https://playwright.dev/docs/test-fixtures).\n\n**[github-api](./github-api/tests/example.spec.ts)** - uses GitHub API to test creation of a new repo, bug, and feature, then deletion of repo.\n\n**[oauth](./oauth/tests/example.spec.ts)** - runs oauth tests for LinkedIn, Facebook, and Google, to login to \u003chttps://courses.ultimateqa.com/users/sign_in\u003e.\n\n**[performance](./performance/tests/example.spec.ts)** - web performance tests using resource timing API, DevTools, and lighthouse, run against\n[https://fastestwebsite.net](https://fastestwebsite.net/)\n\n**[svgomg](./svgomg/tests/example.spec.ts)** - End-to-end tests for SVGOMG! site, hosted at [https://demo.playwright.dev/svgomg](https://demo.playwright.dev/svgomg)\n\n**[todomvc](./todomvc/tests/example.spec.ts)** - End-to-end tests for ToDoMVC site, hosted at [https://demo.playwright.dev/todomvc](https://demo.playwright.dev/todomvc)\n\n**[visual-comparison](./visual-comparison/tests/example.spec.ts)** - visually compares snapshots with golden screenshots and text content for playwright.dev landing page.\n\n## Configuration\n\nThe [baseURL](https://playwright.dev/docs/api/class-testoptions#test-options-base-url) value for most tests is set via [.env file](https://github.com/motdotla/dotenv) that you'll find at the root of each folder. Typically this file is gitignored; by including it in this demo repo, it makes running and sharing these tests easier.\n\n## Have a testing scenario you'd like to see included?\n\nPlease [open an issue](../../issues/new?assignees=MarcusFelling\u0026labels=testing-scenario-idea\u0026template=testing-scenario-idea-template.md\u0026title=%5BIdea+for+testing+scenario%5D) with details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarcusFelling%2FDemo.Playwright","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMarcusFelling%2FDemo.Playwright","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarcusFelling%2FDemo.Playwright/lists"}