fix(test): workaround for nav tests

This commit is contained in:
Manu Mtz.-Almeida
2018-09-05 23:55:26 +02:00
parent 1bcca01e1a
commit a4b11797e4
2 changed files with 11 additions and 7 deletions

View File

@ -44,7 +44,7 @@ describe('toggle', () => {
});
// set unchecked
await toggle.setProperty('checked', false);
toggle.setProperty('checked', false);
// wait for the changes to apply
await page.waitForChanges();
@ -97,7 +97,7 @@ describe('toggle', () => {
expect(checkedValue).toBe(true);
// set checked true again, no actual change
await toggle.setProperty('checked', true);
toggle.setProperty('checked', true);
// wait for the changes to apply
await page.waitForChanges();