{"id":22400116,"url":"https://github.com/currents-dev/currents-playwright-component-tests-example","last_synced_at":"2025-09-05T03:35:02.469Z","repository":{"id":205184821,"uuid":"713621641","full_name":"currents-dev/currents-playwright-component-tests-example","owner":"currents-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-06T20:05:26.000Z","size":1542,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T18:52:35.236Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/currents-dev.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":"2023-11-02T22:39:50.000Z","updated_at":"2024-04-06T16:52:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"ebfaa02a-279d-44e0-b6b7-42f4551af3c4","html_url":"https://github.com/currents-dev/currents-playwright-component-tests-example","commit_stats":null,"previous_names":["currents-dev/currents-playwright-component-tests-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/currents-dev/currents-playwright-component-tests-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-component-tests-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-component-tests-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-component-tests-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-component-tests-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/currents-dev","download_url":"https://codeload.github.com/currents-dev/currents-playwright-component-tests-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-component-tests-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273707635,"owners_count":25153726,"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-09-05T02:00:09.113Z","response_time":402,"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":"2024-12-05T08:11:26.477Z","updated_at":"2025-09-05T03:34:57.455Z","avatar_url":"https://github.com/currents-dev.png","language":"JavaScript","readme":"# Playwright Component testing with Currents\n\nRun [Playwright Component testing](https://playwright.dev/docs/test-components) and report the results to [Currents](https://currents.dev/playwright)\n\n\u003e **Note November 2023:** Playwright support for Component testing is still experimental\n\nThe project contains simple component tests:\n\n- `src/App.spec.jsx` - a passing test\n- `src/AppFailing.spec.jsx` - a failing test\n\n## Setup\n\n- First run `npm i`\n- Create an account and project at https://app.currents.dev\n- Grab the following details:\n  - `projectId`\n  - `recordKey`\n\n## Run\n\nRun `pwc` command:\n\n`npx pwc --key \u003crecordKey\u003e --project-id \u003cprojectId\u003e --ci-build-id hello-currents`\n\n- Explore `playwright-ct.config.js` and note that screenshots, videos and trace are activated\n- Explore more about [CI Build Id](https://currents.dev/readme/guides/cypress-ci-build-id)\n\nRunning the command would produce an output that is similar to this:\n\n![currents-2023-11-02-15 32 59@2x](https://github.com/currents-dev/currents-playwright-component-tests-example/assets/1637928/d270a5f0-2fb0-41e0-b2b0-667db7d6ee7e)\n\nThe results will be reported to Currents Dashboard:\n\n![demo-currents-pw-ct](https://github.com/currents-dev/currents-playwright-component-tests-example/assets/1637928/a7b95888-416d-407e-bf00-833f893765a7)\n\n## Explore `@currents/playwright` integration options\n\nFollow our documentation to explore integration options:\nhttps://currents.dev/readme/integration-with-playwright/currents-playwright\n\n- Applying tags for better tests managing\n- Create additional projects\n- Explore\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fcurrents-playwright-component-tests-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurrents-dev%2Fcurrents-playwright-component-tests-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fcurrents-playwright-component-tests-example/lists"}