{"id":44599647,"url":"https://github.com/scripterio-js/scripterio-example","last_synced_at":"2026-02-14T09:13:40.514Z","repository":{"id":295507695,"uuid":"990283315","full_name":"scripterio-js/scripterio-example","owner":"scripterio-js","description":"Various examples of how to perform unit, API, and UI testing using ScripterI/O.","archived":false,"fork":false,"pushed_at":"2025-07-08T12:07:19.000Z","size":27,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-08T13:27:58.758Z","etag":null,"topics":["api-testing","automation","e2e-tests","scripterio","test-example","ui-testing","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/scripterio-js.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,"zenodo":null}},"created_at":"2025-05-25T21:37:05.000Z","updated_at":"2025-07-08T12:06:11.000Z","dependencies_parsed_at":"2025-05-25T23:25:48.490Z","dependency_job_id":"e6905d61-56a7-40c4-9dcc-c0ea41eaf66f","html_url":"https://github.com/scripterio-js/scripterio-example","commit_stats":null,"previous_names":["scripterio-js/scripterio-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scripterio-js/scripterio-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scripterio-js%2Fscripterio-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scripterio-js%2Fscripterio-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scripterio-js%2Fscripterio-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scripterio-js%2Fscripterio-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scripterio-js","download_url":"https://codeload.github.com/scripterio-js/scripterio-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scripterio-js%2Fscripterio-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29441417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"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":["api-testing","automation","e2e-tests","scripterio","test-example","ui-testing","unit-testing"],"created_at":"2026-02-14T09:13:39.767Z","updated_at":"2026-02-14T09:13:40.506Z","avatar_url":"https://github.com/scripterio-js.png","language":"JavaScript","readme":"# scripterio-example\n\nThis repository provides simple examples of how to perform unit and UI testing using [ScripterI/O](https://www.npmjs.com/package/scripterio).\n\n## Features\n\n- **Unit tests**: Demonstrates various assertions and async testing with ScripterI/O.\n- **API tests**: Demonstrates how to perform API tests with ScripterI/O.\n- **UI tests**: Shows how to use Playwright with ScripterI/O for browser automation.\n\n## Getting Started\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/) (v18 or higher)\n- [npm](https://www.npmjs.com/)\n\n### Installation\n\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/your-username/scripterio-example.git\n   cd scripterio-example\n   ```\n2. Install dependencies:\n   ```sh\n   npm install\n   ```\n3. Install Playwright browsers:\n   ```sh\n   npx playwright install chromium --with-deps\n   ```\n\n### Running Tests\n\nTo run all tests:\n\n```sh\nnpm run test\n```\nor:\n\n```sh\nnpx scripterio --folder=tests\n```\n\n## Project Structure\n\n- `tests/api_tests.js` – API test examples\n- `tests/unit_tests.js` – Unit test examples\n- `tests/ui_tests.js` – UI test examples using Playwright\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscripterio-js%2Fscripterio-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscripterio-js%2Fscripterio-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscripterio-js%2Fscripterio-example/lists"}