{"id":17745436,"url":"https://github.com/dvduardo/playwright-ts","last_synced_at":"2026-03-05T10:31:51.200Z","repository":{"id":244138516,"uuid":"814377698","full_name":"dvduardo/playwright-ts","owner":"dvduardo","description":"Projeto basico com testes de front e backend usando typescript com framework playwight","archived":false,"fork":false,"pushed_at":"2024-07-08T22:14:39.000Z","size":275,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-09T03:12:24.702Z","etag":null,"topics":["playwright","playwright-typescript","schedule","schedule-tests","scheduled-jobs","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dvduardo.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-06-12T22:32:29.000Z","updated_at":"2024-07-08T22:14:43.000Z","dependencies_parsed_at":"2024-06-21T06:01:36.971Z","dependency_job_id":"3a94a60b-a7c0-49ad-afed-711c4c7d8ab2","html_url":"https://github.com/dvduardo/playwright-ts","commit_stats":null,"previous_names":["dvduardo/playwright-ts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dvduardo/playwright-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvduardo%2Fplaywright-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvduardo%2Fplaywright-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvduardo%2Fplaywright-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvduardo%2Fplaywright-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvduardo","download_url":"https://codeload.github.com/dvduardo/playwright-ts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvduardo%2Fplaywright-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30119427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T09:35:22.236Z","status":"ssl_error","status_checked_at":"2026-03-05T09:35:20.028Z","response_time":93,"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":["playwright","playwright-typescript","schedule","schedule-tests","scheduled-jobs","typescript"],"created_at":"2024-10-26T07:23:05.162Z","updated_at":"2026-03-05T10:31:51.180Z","avatar_url":"https://github.com/dvduardo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playwright Schedule Tests\n\nThis project uses GitHub Actions to automate browser tests using Playwright on a scheduled basis. The tests are designed to ensure the reliability and performance of both web and API endpoints.\n\n## Overview\n\nThe GitHub Actions workflow defined in `playwright.yml` is triggered by a cron schedule to run tests daily at 14:00 UTC. It includes jobs for testing web interfaces and API endpoints in an isolated, consistent environment.\n\n### Features\n\n- **Scheduled Testing**: Automated tests run daily to ensure ongoing reliability.\n- **Docker Integration**: Uses Docker to manage dependencies and ensure a consistent testing environment.\n- **Playwright for Browser and API Testing**: Leverages Playwright for end-to-end testing of web and backend applications.\n\n## Getting Started\n\nTo get started with this project, you'll need to have Docker and Node.js installed on your system. The tests are run in a GitHub Actions workflow, which requires no additional setup for GitHub repositories.\n\n### Prerequisites\n\n- Docker\n- Node.js (version 18 is specified in the workflow)\n\n### Running Tests Locally\n\nTo run the tests locally, follow these steps:\n\n1. **Install Dependencies and start app and database**: Execute de followed command inside *apps/api*\n    ```sh\n    npm install\n\n    npm run db:init\n\n    npm start   \n2. **Install Dependencies and start web application**:Execute de followed command inside *apps/web*\n    ```sh\n    npm install\n\n    npm start \n3. **Install Playwright Browsers**:Execute de followed command inside root project\n    ```sh\n    npx playwright install\n4. **Execute tests**:\n    ```sh\n    npx playwright test\n### Workflow Details\nThe GitHub Actions workflow consists of two main jobs:\n\n- **test-web**: This job runs Playwright tests for the web interface.\n- **test-api**: Intended for API testing (setup to be completed).\n\nThe app system wasn't developed by me. I used a project that I saw in a course on Udemy taught by [QAx](https://github.com/qax-education) as a base.\n\nLicense\nThis project is open source and available under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvduardo%2Fplaywright-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvduardo%2Fplaywright-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvduardo%2Fplaywright-ts/lists"}