lsst-epo / lsst-epo/epo-react-lib

Add Storybook snapshot testing

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem or planned work?**
No

**Describe the solution you'd like and scope of work**
Add support for snapshot testing to the existing Storybook setup for both the UI and widgets library. Should be limited to a config setup for each library and validating the tests work.

https://storybook.js.org/docs/writing-tests/storyshots-migration-guide

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing Storybook configurations for the UI and widgets libraries. Read the linked Storybook snapshot-testing migration guide, add the corresponding configuration for each library, and verify that snapshot tests run successfully for both.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, storybook, typescript
Domain
frontend, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.