Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storyshots puppeteer images do not match #4037

Conversation

markelog
Copy link
Contributor

@markelog markelog commented Aug 17, 2018

When current screenshots do not much with previous ones,
we show connection error since expect method also throws.

Workaround that and also lowercase the error message so it would look
like more then other errors

Fixes #4036

@markelog markelog force-pushed the storyshots-puppeteer-images-do-not-match branch 4 times, most recently from 3bfa468 to 015e881 Compare August 17, 2018 11:51
@markelog markelog changed the title Storyshots puppeteer images do not match bug: Storyshots puppeteer images do not match Aug 17, 2018
@markelog markelog changed the title bug: Storyshots puppeteer images do not match Storyshots puppeteer images do not match Aug 17, 2018
@markelog
Copy link
Contributor Author

CI and danger failures seems unrelated to the changes?

@igor-dv
Copy link
Member

igor-dv commented Aug 17, 2018

Looks like you've branched from the wrong place. Can you please merge from master?

When current screenshots do not much with previous ones,
we show connection error since `expect` method also throws.

Workaround that and also lowercase the error message so it would look
like more then other errors

Fixes storybookjs#4036
@markelog markelog force-pushed the storyshots-puppeteer-images-do-not-match branch from 015e881 to bf90ac0 Compare August 17, 2018 14:56
@codecov
Copy link

codecov bot commented Aug 17, 2018

Codecov Report

Merging #4037 into master will increase coverage by 47.8%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4037      +/-   ##
==========================================
+ Coverage   40.82%   88.63%   +47.8%     
==========================================
  Files         444        6     -438     
  Lines        5555       44    -5511     
  Branches      748        2     -746     
==========================================
- Hits         2268       39    -2229     
+ Misses       2911        4    -2907     
+ Partials      376        1     -375
Impacted Files Coverage Δ
addons/knobs/src/components/types/Radio.js
...p/react-native/src/server/config/webpack.config.js
addons/centered/src/html.js
addons/a11y/src/components/Report/Tags.js
lib/ui/src/modules/ui/actions/ui.js
...ddons/actions/src/lib/types/symbol/createSymbol.js
lib/ui/src/modules/shortcuts/index.js
lib/ui/src/modules/ui/components/menu_item.js
addons/actions/src/lib/util/typeReplacer.js
addons/actions/src/lib/util/omitProperty.js
... and 425 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3dc23e3...bf90ac0. Read the comment docs.

@markelog
Copy link
Contributor Author

Done

Copy link
Member

@igor-dv igor-dv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

CircleCI is having issues, TS is ok though 🤔

@igor-dv igor-dv changed the base branch from master to storyshots-puppeteer-images-do-not-match August 20, 2018 09:39
@igor-dv
Copy link
Member

igor-dv commented Aug 20, 2018

I've rebased it on another branch, maybe it will fix the CI 🤷‍♂️

@igor-dv igor-dv merged commit 9ca612f into storybookjs:storyshots-puppeteer-images-do-not-match Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants