Open SevenOutman opened 1 year ago
The following assertion with Chai .and chain should work
.and
expect(container.firstChild) .to.have.attr('role', 'menubar') .and.to.have.attr('aria-orientation', 'vertical');
But it throws
TypeError: el.getAttribute is not a function
Yes that is odd. Changing the subject to the attribute isn't interesting.
The following assertion with Chai
.and
chain should workBut it throws