{"id":28718662,"url":"https://github.com/sand4rt/playwright-ct-solid","last_synced_at":"2026-04-24T12:31:23.443Z","repository":{"id":299125346,"uuid":"1002106026","full_name":"sand4rt/playwright-ct-solid","owner":"sand4rt","description":"Playwright Solid component testing","archived":false,"fork":false,"pushed_at":"2026-04-23T14:35:38.000Z","size":286,"stargazers_count":3,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-23T16:33:17.444Z","etag":null,"topics":["component","component-testing","playwright","solid","test","testing"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@sand4rt/experimental-ct-solid","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/sand4rt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["sand4rt"]}},"created_at":"2025-06-14T18:16:45.000Z","updated_at":"2026-04-06T20:49:56.000Z","dependencies_parsed_at":"2026-01-10T22:03:02.797Z","dependency_job_id":null,"html_url":"https://github.com/sand4rt/playwright-ct-solid","commit_stats":null,"previous_names":["sand4rt/playwright-ct-solid"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/sand4rt/playwright-ct-solid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sand4rt%2Fplaywright-ct-solid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sand4rt%2Fplaywright-ct-solid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sand4rt%2Fplaywright-ct-solid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sand4rt%2Fplaywright-ct-solid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sand4rt","download_url":"https://codeload.github.com/sand4rt/playwright-ct-solid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sand4rt%2Fplaywright-ct-solid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32223790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["component","component-testing","playwright","solid","test","testing"],"created_at":"2025-06-15T05:03:08.564Z","updated_at":"2026-04-24T12:31:23.437Z","avatar_url":"https://github.com/sand4rt.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sand4rt"],"categories":[],"sub_categories":[],"readme":"# 🎭 Playwright Solid component testing\n\n\u003e **Note**\n\u003e The API has been designed to closely resemble Playwright's API wherever applicable. This library is _(without guarantee)_ aimed at facilitating a smooth transition once Playwright offers official support for Solid component testing.\n\n## Capabilities\n\n- Run tests fast, in parallel and optionally over multiple machines with [sharding](https://playwright.dev/docs/test-sharding) or [Azure's Testing Service](https://www.youtube.com/watch?v=FvyYC2pxL_8).\n- Run the test headless or headed accross multiple _real_ desktop and/or mobile browser engines.\n- Full support for shadow DOM, multiple origins, (i)frames, browser tabs and contexts.\n- Minimizes flakyness, due to auto waiting, web first assertions and ensures that every test runs in [full isolation](https://playwright.dev/docs/browser-contexts).\n- Advanced [emulation capabilities](https://playwright.dev/docs/emulation) such as modifying screen size, geolocation, color scheme and [the network](https://playwright.dev/docs/mock-browser-apis).\n- Interactions with the components are indistinguishable from real user behavior.\n- [Visual regression / screenshot testing](https://playwright.dev/docs/api/class-pageassertions#page-assertions-to-have-screenshot-1).\n- Zero-configuration TypeScript support.\n\nAlong with all these ✨ awesome capabilities ✨ that come with Playwright, you will also get:\n\n- [Watch mode _(BETA)_](https://github.com/microsoft/playwright/issues/21960#issuecomment-1483604692).\n- [Visual Studio Code intergration](https://playwright.dev/docs/getting-started-vscode).\n- [UI mode](https://playwright.dev/docs/test-ui-mode) for debuging tests with a time travel experience complete with watch mode.\n- [Playwright Tracing](https://playwright.dev/docs/trace-viewer-intro) for post-mortem debugging in CI.\n- [Playwright Test Code generation](https://playwright.dev/docs/codegen-intro) to record and generate tests suites.\n\n## Usage\n\nInitialize Playwright Solid component testing with PNPM, NPM or Yarn and follow the installation steps:\n\n```sh\npnpm create playwright-sand4rt --ct\n```\n```sh\nnpm init playwright-sand4rt@latest -- --ct\n```\n```sh\nyarn create playwright-sand4rt --ct\n```\n\nNow you can start creating your tests:\n\n```ts\n// button.tsx\ntype ButtonProps = {\n  title: string;\n}\n\nexport function Button(props: ButtonProps) {\n  return \u003cbutton\u003e{props.title}\u003c/button\u003e\n}\n```\n\n```jsx\n// button.test.tsx\nimport { test, expect } from '@sand4rt/experimental-ct-solid';\nimport { Button } from './components/button';\n\ntest('render props', async ({ mount }) =\u003e {\n  const component = await mount(\u003cButton title=\"Submit\" /\u003e);\n  await expect(component).toContainText('Submit');\n});\n```\n\nSee the official [playwright component testing documentation](https://playwright.dev/docs/test-components) and the [tests](https://github.com/sand4rt/playwright-ct-solid/tree/main/ct-solid/tests) for more information on how to use it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsand4rt%2Fplaywright-ct-solid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsand4rt%2Fplaywright-ct-solid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsand4rt%2Fplaywright-ct-solid/lists"}