Skip to content

Commit

Permalink
remove unstable test for checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
tinayuangao committed Feb 16, 2017
1 parent 37fcfe1 commit 9e164c7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions e2e/components/checkbox/checkbox.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,13 @@ describe('checkbox', function () {

inputEl.getAttribute('checked').then((value: string) => {
expect(value).toBeFalsy('Expect checkbox "checked" property to be false');
browser.wait(ExpectedConditions.not(
ExpectedConditions.presenceOf(element(by.css('div.mat-ripple-element')))))
.then(() => screenshot('start'));
});

inputEl.sendKeys(Key.SPACE);

inputEl.getAttribute('checked').then((value: string) => {
expect(value).toBeTruthy('Expect checkbox "checked" property to be true');
browser.wait(ExpectedConditions.not(
ExpectedConditions.presenceOf(element(by.css('div.mat-ripple-element')))))
.then(() => screenshot('pressed space'));
});
});

});
});

0 comments on commit 9e164c7

Please sign in to comment.