feat(checkbox): align with 2018 material design spec (#12493)

Aligns the checkbox component with the latest Material design spec.
This commit is contained in:
Kristiyan Kostadinov
2018-09-19 23:23:09 +02:00
committed by mmalerba
parent 79801e0210
commit 95acccc65b
11 changed files with 80 additions and 95 deletions
-6
View File
@@ -14,16 +14,10 @@ describe('checkbox', () => {
expect(inputEl.getAttribute('checked'))
.toBeTruthy('Expect checkbox "checked" property to be true');
await browser.wait(ExpectedConditions.not(
ExpectedConditions.presenceOf(element(by.css('div.mat-ripple-element')))));
checkboxEl.click();
expect(inputEl.getAttribute('checked'))
.toBeFalsy('Expect checkbox "checked" property to be false');
await browser.wait(ExpectedConditions.not(
ExpectedConditions.presenceOf(element(by.css('div.mat-ripple-element')))));
});
it('should toggle the checkbox when pressing space', () => {