{"id":45872043,"url":"https://github.com/vasu31dev/playwright-challenges","last_synced_at":"2026-02-27T10:26:32.858Z","repository":{"id":260174473,"uuid":"880455722","full_name":"vasu31dev/playwright-challenges","owner":"vasu31dev","description":"Fix the flaky tests to make them robust and reliable ","archived":false,"fork":false,"pushed_at":"2024-10-29T22:06:22.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T00:39:12.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/vasu31dev.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":"2024-10-29T18:54:57.000Z","updated_at":"2024-10-29T22:06:26.000Z","dependencies_parsed_at":"2024-10-30T00:59:27.491Z","dependency_job_id":null,"html_url":"https://github.com/vasu31dev/playwright-challenges","commit_stats":null,"previous_names":["vasu31dev/playwright-challenges"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vasu31dev/playwright-challenges","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasu31dev%2Fplaywright-challenges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasu31dev%2Fplaywright-challenges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasu31dev%2Fplaywright-challenges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasu31dev%2Fplaywright-challenges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vasu31dev","download_url":"https://codeload.github.com/vasu31dev/playwright-challenges/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasu31dev%2Fplaywright-challenges/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29891239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T09:48:51.284Z","status":"ssl_error","status_checked_at":"2026-02-27T09:48:43.992Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-02-27T10:26:32.225Z","updated_at":"2026-02-27T10:26:32.845Z","avatar_url":"https://github.com/vasu31dev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Table of Contents\n\n- [Playwright Testing Challenges](#playwright-testing-challenges)\n- [Prerequisites](#prerequisites)\n- [Setup](#setup)\n- [Challenges Overview](#challenges-overview)\n- [Tests](#tests)\n  - [Test Descriptions](#test-descriptions)\n  - [Running Tests](#running-tests)\n\n## Playwright Testing Challenges\n\nThis repository contains a series of testing challenges using Playwright to practice handling different UI testing scenarios. Each challenge focuses on specific aspects of web testing and requires fixing existing tests to make them more robust and reliable.\n\n## Prerequisites\n\nNode.js (v18 or higher)\n\n## Setup\n\n```bash\ngit clone https://github.com/vasu31dev/playwright-challenges.git\ncd playwright-challenges\n```\n\nInstall dependencies\n\n```bash\nnpm install\n```\n\n## Challenges Overview\n\n### Challenge 1: Multiple Login Tests (@c1)\n\n- Test multiple successful login attempts\n- Verify success messages and user data\n- Handle dynamic content\n- Practice proper assertions\n\n### Challenge 2: Animated Form (@c2)\n\n- Test login with animated form elements\n- Handle delayed loading states\n- Test logout functionality\n- Work with menu interactions\n\n### Challenge 3: Forgot Password Flow (@c3)\n\n- Test forgot password functionality\n- Handle modal dialogs\n- Verify success states\n- Practice proper assertions\n\n### Challenge 4: Application State (@c4)\n\n- Test login considering application ready state\n- Handle global variables\n- Test profile interactions\n- Verify logout functionality\n\n## Tests\n\nThis project includes several tests to ensure the functionality of the animated form. The tests are written using Playwright and can be found in the `flaky.spec.ts` file.\n\n### Test Descriptions\n\n- **Login multiple times successfully**: This test logs in three times with different credentials and verifies successful login messages.\n- **Login and logout successfully with animated form and delayed loading**: This test logs in and logs out, handling animated forms and delayed loading.\n- **Forgot password**: This test verifies the forgot password functionality and checks for success messages.\n- **Login and logout**: This test logs in and logs out, ensuring the app is in a ready state before proceeding.\n\n### Running Tests\n\nTo run the tests, use the following command:\n\n```bash\nnpx playwright test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasu31dev%2Fplaywright-challenges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvasu31dev%2Fplaywright-challenges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasu31dev%2Fplaywright-challenges/lists"}