Skip to content

Commit

Permalink
test: cleanup outdated checkbox-group focus test (#8654)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Feb 10, 2025
1 parent 044f893 commit c2d204f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/checkbox-group/test/checkbox-group.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,15 +302,6 @@ describe('vaadin-checkbox-group', () => {
expect(checkboxes[0].hasAttribute('focused')).to.be.false;
expect(group.hasAttribute('focused')).to.be.false;
});

it('should not steal focus from currently focused element', () => {
const focusInput = document.createElement('input');
document.body.appendChild(focusInput);
focusInput.focus();
group.value = '1';
expect(document.activeElement).to.be.equal(focusInput);
document.body.removeChild(focusInput);
});
});

describe('has-value attribute', () => {
Expand Down

0 comments on commit c2d204f

Please sign in to comment.