Skip to content
Snippets Groups Projects

Add storybook and tests ICSHWI-9199

Merged John Sparger requested to merge add-storybook-and-tests-ICSHWI-9199 into develop
All threads resolved!

This merge requests adds Storybook (https://storybook.js.org/) to our application.

Storybook provides a way for us to visually document our components and the various states they can be in. This is very helpful when discussing visual changes. It also provides a method for us to set up components for testing.

In this merge request:

  • Dependencies and configuration are added for storybook
  • Storybook stories are added for the table components in our application
  • Cypress component tests are added which make use of the table component stories
  • Gitlab-CI is updated to build the storybook static web page and store it as an artifact

To check out the storybook, you can download and extract the artifact from the "build-storybook" job in the pipeline and open index.html. You should see something like this:

image

Edited by John Sparger

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • John Sparger resolved all threads

    resolved all threads

  • John Sparger marked this merge request as ready

    marked this merge request as ready

  • John Sparger mentioned in commit 2c169ca8

    mentioned in commit 2c169ca8

  • merged

  • Please register or sign in to reply
    Loading