mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(test): workaround for nav tests
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user