Fail
expect(element).not.toHaveAttribute("disabled") // element.hasAttribute("disabled")View in Storybook
Expected the element not to have attribute:
disabled
Received:
disabled=""
Chrome 105
960x720
Linux Linux Ubuntu 20.04.4
2dfdd7 on ghengeveld/ap-3631-log-user-out-when-api-token-expires
Caught exception in
play
functionThis story threw an error after it finished rendering which means interactions may not have been executed fully.
Error: expect(element).not.toHaveAttribute("disabled") // element.hasAttribute("disabled") Expected the element not to have attribute: disabled Received: disabled="" at Q.invoke (https://6480e1b0042842f149cfd74c-dlubnypyhd.capture-loopback.chromatic.com/assets/preview-6751e51d.js:1:8374) at Q.track (https://6480e1b0042842f149cfd74c-dlubnypyhd.capture-loopback.chromatic.com/assets/preview-6751e51d.js:1:5796) at Object.toHaveAttribute (https://6480e1b0042842f149cfd74c-dlubnypyhd.capture-loopback.chromatic.com/assets/preview-6751e51d.js:1:5076) at https://6480e1b0042842f149cfd74c-dlubnypyhd.capture-loopback.chromatic.com/assets/VisualTests.stories-9d69967b.js:196:17701