{"id":29979656,"url":"https://github.com/codingnaveen46/playwright_integration_bugasura","last_synced_at":"2025-08-04T13:33:21.123Z","repository":{"id":300339807,"uuid":"1005916381","full_name":"Codingnaveen46/playwright_integration_bugasura","owner":"Codingnaveen46","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-08T15:18:05.000Z","size":10835,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-08T16:32:23.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Codingnaveen46.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,"zenodo":null}},"created_at":"2025-06-21T04:46:27.000Z","updated_at":"2025-07-08T15:18:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"40ca4756-c86a-4dc4-9dbe-aaa45c421a9d","html_url":"https://github.com/Codingnaveen46/playwright_integration_bugasura","commit_stats":null,"previous_names":["codingnaveen46/playwright_integration_bugasura"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Codingnaveen46/playwright_integration_bugasura","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codingnaveen46%2Fplaywright_integration_bugasura","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codingnaveen46%2Fplaywright_integration_bugasura/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codingnaveen46%2Fplaywright_integration_bugasura/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codingnaveen46%2Fplaywright_integration_bugasura/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codingnaveen46","download_url":"https://codeload.github.com/Codingnaveen46/playwright_integration_bugasura/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codingnaveen46%2Fplaywright_integration_bugasura/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268701774,"owners_count":24292996,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-08-04T13:32:43.657Z","updated_at":"2025-08-04T13:33:21.107Z","avatar_url":"https://github.com/Codingnaveen46.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playwright Integration with Bugasura\n\nThis repository demonstrates how to integrate Playwright, a powerful end-to-end testing framework, with Bugasura, a bug tracking tool. The integration streamlines the process of reporting and tracking bugs found during automated testing.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Usage](#usage)\n- [Reporting Bugs to Bugasura](#reporting-bugs-to-bugasura)\n- [Project Structure](#project-structure)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\n\nThis project provides an example of how Playwright test results can be integrated with Bugasura to automatically create bug reports for failed test cases, improving QA workflow efficiency.\n\n## Features\n\n- Automated end-to-end testing using Playwright\n- Automatic bug reporting to Bugasura from test failures\n- Example test cases for demonstration\n- Easy configuration and setup\n- Single command to run all tests, generate reports, and upload failures to Bugasura\n\n## Prerequisites\n\n- Node.js (v14 or above)\n- npm or yarn package manager\n- Bugasura account (for API integration)\n- (Optional) Playwright browsers installed\n\n## Installation\n\nClone the repository and install the dependencies:\n\n```bash\ngit clone https://github.com/Codingnaveen46/playwright_integration_bugasura.git\ncd playwright_integration_bugasura\nnpm install\n# or\nyarn install\n```\n\n## Configuration\n\n1. **Bugasura API Setup**:  \n   Create a `.env` file in the root directory and add your Bugasura API credentials:\n\n   ```env\n   BUGASURA_API_KEY=your_bugasura_api_key\n   BUGASURA_PROJECT_ID=your_project_id\n   ```\n\n2. **Playwright Configuration**:  \n   Modify `playwright.config.js` as needed for your application under test.\n\n## Usage\n\n### Run All Tests, Generate Report, and Upload to Bugasura\n\nTo run all tests, generate the report, and upload failures to Bugasura in a single command, use:\n\n```bash\nnpm test\n```\n\n**Note:**  \n- The `test` script in your `package.json` is configured to execute all tests, generate a test report, and automatically upload failed test details as bug reports to Bugasura.\n- Check the terminal output or logs for Bugasura ticket IDs linked to failed test cases.\n\n## Reporting Bugs to Bugasura\n\nWhen a test fails, the integration script will automatically:\n\n- Collect the failed test details\n- Format the bug data\n- Send a request to Bugasura's API to log the bug\n\nCheck the logs/output for Bugasura ticket IDs.\n\n## Project Structure\n\n```\nplaywright_integration_bugasura/\n├── tests/                   # Playwright test files\n├── utils/                   # Utility scripts (e.g., Bugasura integration)\n├── playwright.config.js     # Playwright config file\n├── package.json\n├── .env                     # Environment variables (not committed)\n└── README.md\n```\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request with improvements or bug fixes.\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\n**Note:** Replace API credentials and configuration details with your actual values. For Bugasura API documentation, visit [Bugasura API Docs](https://api-docs.bugasura.io/) (if available).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingnaveen46%2Fplaywright_integration_bugasura","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingnaveen46%2Fplaywright_integration_bugasura","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingnaveen46%2Fplaywright_integration_bugasura/lists"}