Skip to content

Commit

Permalink
test: add snapshot tests for combo-box (#3522)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Mar 7, 2022
1 parent 05fcc6d commit cd40908
Show file tree
Hide file tree
Showing 3 changed files with 471 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/combo-box/test/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,11 +502,6 @@ describe('theme attribute', () => {
comboBox = fixtureSync('<vaadin-combo-box theme="foo"></vaadin-combo-box>');
});

it('should propagate theme attribute to input container', () => {
const inputField = comboBox.shadowRoot.querySelector('[part="input-field"]');
expect(inputField.getAttribute('theme')).to.equal('foo');
});

it('should propagate theme attribute to overlay', () => {
expect(comboBox.$.dropdown.$.overlay.getAttribute('theme')).to.equal('foo');
});
Expand Down

0 comments on commit cd40908

Please sign in to comment.