The baseline is shorter than the new snapshot (1168x22 to 1168x23).
Fail
expect(element).toHaveAttribute("title") // element.hasAttribute("title")View in Storybook
Expected the element to have attribute:
title
Received:
null
1168x23
Linux Linux Ubuntu 20.04.4
ef08a5 on main
Caught exception in
play functionThis story threw an error after it finished rendering which means interactions may not have been executed fully.
Error: ignoredException
at ./node_modules/@storybook/core-events/dist/esm/index.js (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/vendors~main.a89b5a4a.iframe.bundle.js:2:817510)
at __webpack_require__ (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/runtime~main.fc854e2b.iframe.bundle.js:1:1301)
at ./node_modules/@storybook/builder-webpack4/node_modules/@storybook/addons/dist/esm/hooks.js (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/vendors~main.a89b5a4a.iframe.bundle.js:2:204740)
at __webpack_require__ (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/runtime~main.fc854e2b.iframe.bundle.js:1:1301)
at ./node_modules/@storybook/store/dist/esm/csf/prepareStory.js (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/vendors~main.a89b5a4a.iframe.bundle.js:2:1662832)
at __webpack_require__ (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/runtime~main.fc854e2b.iframe.bundle.js:1:1301)
at ./node_modules/@storybook/react/dist/esm/client/preview/index.js (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/vendors~main.a89b5a4a.iframe.bundle.js:2:1365927)
at __webpack_require__ (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/runtime~main.fc854e2b.iframe.bundle.js:1:1301)
at Module.<anonymous> (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/vendors~main.a89b5a4a.iframe.bundle.js:2:1344852)
at ./node_modules/@storybook/react/dist/esm/client/index.js (https://5e1bf4b385e3fb0020b7073c-nforasmfqj.capture.chromatic.com/vendors~main.a89b5a4a.iframe.bundle.js:2:1346649)