{"id":15391221,"url":"https://github.com/quramy/angular-sss-demo","last_synced_at":"2026-04-20T03:06:35.676Z","repository":{"id":66207937,"uuid":"116207749","full_name":"Quramy/angular-sss-demo","owner":"Quramy","description":"Storybook, Screenshot, and Snapshot testing for Angular","archived":false,"fork":false,"pushed_at":"2018-01-05T10:14:41.000Z","size":211,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T01:36:20.158Z","etag":null,"topics":["angular","regression-testing","snapshot-testing","storybook"],"latest_commit_sha":null,"homepage":"","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/Quramy.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}},"created_at":"2018-01-04T03:02:46.000Z","updated_at":"2022-03-21T17:23:18.000Z","dependencies_parsed_at":"2023-05-30T01:15:08.305Z","dependency_job_id":null,"html_url":"https://github.com/Quramy/angular-sss-demo","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"0bd9d71e8f7e294a81cb03f5dcb5d5df8707a85e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quramy%2Fangular-sss-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quramy%2Fangular-sss-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quramy%2Fangular-sss-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quramy%2Fangular-sss-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quramy","download_url":"https://codeload.github.com/Quramy/angular-sss-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245938245,"owners_count":20697009,"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","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":["angular","regression-testing","snapshot-testing","storybook"],"created_at":"2024-10-01T15:10:22.241Z","updated_at":"2026-04-20T03:06:30.655Z","avatar_url":"https://github.com/Quramy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Storybook Screenshot Snapshot testing demonstration [![CircleCI](https://circleci.com/gh/Quramy/angular-sss-demo.svg?style=svg)](https://circleci.com/gh/Quramy/angular-sss-demo)\n\nA demonstration Angular project includes:\n\n- Storybook\n- Screenshot stories\n- Snapshot test using PNG files\n\n## How to setup\n\n### Angular\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.5.4.\n\n### Storybook\n\n[Storybook](https://storybook.js.org/) is interactive environment for UI component development.\n\n```sh\nyarn add @storybook/angular -D\nyarn run getstorybook\n```\n\nThe above command adds `storybook` task to your package.json.\n\n```sh\nyarn storybook\n```\n\nAnd go to `http://localhost:6006/`. You can preview stories.\n\n### Screenshot\nUsing [storybook-chrome-screenshot](https://github.com/tsuyoshiwada/storybook-chrome-screenshot) addon, we can capture each story as PNG image file.\n\nTo install this addon, we need to change several files. \nTo detail, see https://github.com/Quramy/angular-sss-demo/commit/cf03a041004643c610b8671a07e866149df662f8 .\n\nAfter setup, run `yarn screenshot`. Each story is generated as PNG file under the `__screenshot__` directory.\n\n### Snapshot testing\n[reg-suit](https://reg-viz.github.io/reg-suit/) provides visual snapshot testing environment.\nThis tool compares images captured and reports the difference them ([generated report](https://reg-publish-bucket-e4c131e5-5128-47aa-8bd0-c9b4456c7618.s3.amazonaws.com/a4068effae2fd0caebbb5e490a01b47d5aa1669b/index.html)).\n\nreg-suit is a CLI and provides init wizard:\n\n```sh\nyarn add reg-suit -D\nyarn run reg-suit init --use-yarn\n```\n\nIf you want more installation details, check https://github.com/reg-viz/reg-puppeteer-demo#configure-reg-suit out.\n\nAnd the following command runs visual regression testing:\n\n```sh\nyarn run reg-suit run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquramy%2Fangular-sss-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquramy%2Fangular-sss-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquramy%2Fangular-sss-demo/lists"}