mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-16 12:54:38 +00:00
reduce flakiness of unrelated test
This commit is contained in:
@@ -127,9 +127,11 @@ describe('errors', function() {
|
|||||||
await prefetchRoutes();
|
await prefetchRoutes();
|
||||||
|
|
||||||
await page.click('[href="enhance-your-calm"]');
|
await page.click('[href="enhance-your-calm"]');
|
||||||
|
await wait(50);
|
||||||
assert.equal(await title(), '420');
|
assert.equal(await title(), '420');
|
||||||
|
|
||||||
await page.goBack();
|
await page.goBack();
|
||||||
|
await wait(50);
|
||||||
assert.equal(await title(), 'No error here');
|
assert.equal(await title(), 'No error here');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user