{"id":22880585,"url":"https://github.com/darvinpatel/playwright-demo-api","last_synced_at":"2025-03-31T15:36:11.821Z","repository":{"id":257546601,"uuid":"858600337","full_name":"darvinpatel/playwright-demo-api","owner":"darvinpatel","description":"This project showcases API testing using Playwright, focusing on testing RESTful endpoints, validating HTTP requests and responses, and automating workflows. It includes examples of integration testing, status code checks, and response payload validation, with easy-to-read test reports.","archived":false,"fork":false,"pushed_at":"2024-09-18T00:28:19.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T21:15:53.761Z","etag":null,"topics":["playwright-api","playwright-demo","playwright-tests","playwright-typescript","typescript"],"latest_commit_sha":null,"homepage":"https://restful-booker.herokuapp.com/apidoc/index.html#api-Booking-PartialUpdateBooking","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darvinpatel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-17T07:39:36.000Z","updated_at":"2025-01-21T05:18:51.000Z","dependencies_parsed_at":"2024-09-17T10:21:58.000Z","dependency_job_id":"c8a71e82-8c6a-4054-b47a-111afd2469ea","html_url":"https://github.com/darvinpatel/playwright-demo-api","commit_stats":null,"previous_names":["darvinpatel/playwright-demo-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darvinpatel%2Fplaywright-demo-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darvinpatel%2Fplaywright-demo-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darvinpatel%2Fplaywright-demo-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darvinpatel%2Fplaywright-demo-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darvinpatel","download_url":"https://codeload.github.com/darvinpatel/playwright-demo-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246490555,"owners_count":20786021,"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":["playwright-api","playwright-demo","playwright-tests","playwright-typescript","typescript"],"created_at":"2024-12-13T17:19:35.458Z","updated_at":"2025-03-31T15:36:11.795Z","avatar_url":"https://github.com/darvinpatel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n  Practice api test automation with \u003ca href=\"https://playwright.dev/\"\u003e \u003cimg width=\"140\" alt=\"Playwright Logo\" src=\"https://raw.githubusercontent.com/github/explore/60cd2530141f67f07a947fa2d310c482e287e387/topics/playwright/playwright.png\" /\u003e \u003c/a\u003e on \u003ca href=\"https://restful-booker.herokuapp.com/apidoc/index.html#api-Booking-PartialUpdateBooking\"\u003eRestful-booker\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003e **Note**\n\u003e\n\u003e +  **\u003ca href=\"https://restful-booker.herokuapp.com/apidoc/index.html\"\u003eRestful-booker\u003c/a\u003e** is a public REST API that you can use to learn more about API Testing or try out API testing tools against. Restful-booker is a Create Read Update Delete Web API that comes with authentication features and loaded with a bunch of bugs for you to explore. \n\u003e\n\n## PLaywright features\nAPI testing using:\n\n- Playwright https://playwright.dev/\n- TypeScript https://www.typescriptlang.org/\n\nThis tests are purely for Playwright features practice.\n\n\n## Getting Started\n### Prerequisites\nYou need to have Node.js installed on your machine.\n\n## Useful Commands\n\n### Run all tests in Playwright\n\n```shell\nnpm run test\n```\n### Run all tests and show test report\n```shell\nnpm run report\n```\n### Run smoke tests\n```shell\nnpm run smoke-tests\n```\n### Run api tests for get operation\n```shell\nnpm run test-get\n```\n### Run api tests for post operation\n```shell\nnpm run test-post\n```\n### Run api tests for put operation\n```shell\nnpm run test-put\n```\n### Run api tests for patch operation\n```shell\nnpm run test-patch\n```\n### Run api tests for delete operation\n```shell\nnpm run test-delete\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarvinpatel%2Fplaywright-demo-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarvinpatel%2Fplaywright-demo-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarvinpatel%2Fplaywright-demo-api/lists"}