-
-
Notifications
You must be signed in to change notification settings - Fork 73
Conversation
@@ -1,6 +1,9 @@ | |||
let babel = require('./babel.config.js'); | |||
let config = require('./../.config/webpack/base.js')({ | |||
babel, | |||
ts: { | |||
transpileOnly: true | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@storybook/react
now uses a library called emotions
which does processing on all css
component props expected type def in TypeScript. We use typescript, it trips us up. Removing type checking for tests like already done in Cypress.
@@ -270,7 +270,7 @@ storiesOf('DashTable/Sorting', module) | |||
sort_as_null={['']} | |||
style_data_conditional={style_data_conditional} | |||
/>)) | |||
.add(`"a" descending -- '' & 426 override`, () => (<DataTable | |||
.add(`"a" descending -- empty string & 426 override`, () => (<DataTable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not using ''
makes the test display content again.
@@ -147,7 +147,8 @@ jobs: | |||
- run: | |||
name: Run visual tests | |||
command: npm run test.visual | |||
|
|||
- store_artifacts: | |||
path: storybook-static |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To help figure out what's potentially wrong with visual tests, store the storybook generation
Seems like the latest Percy update caused problems with
'
in names. Mix of many things that were attempted and that in the end provide value whether they fix something or not: temporarily fix the percy storybook tests, updates the toolchain, outputs storybook artifacts in CI.