mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: mark 100mb evaluate test as slow (#1546)
This commit is contained in:
parent
bce8fc1343
commit
ece43aec57
@ -263,8 +263,7 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
|
|||||||
});
|
});
|
||||||
expect(result).toEqual([42]);
|
expect(result).toEqual([42]);
|
||||||
});
|
});
|
||||||
// Works in WebKit, but slow
|
it.slow()('should transfer 100Mb of data from page to node.js', async({page, server}) => {
|
||||||
it.fail(FFOX)('should transfer 100Mb of data from page to node.js', async({page, server}) => {
|
|
||||||
const a = await page.evaluate(() => Array(100 * 1024 * 1024 + 1).join('a'));
|
const a = await page.evaluate(() => Array(100 * 1024 * 1024 + 1).join('a'));
|
||||||
expect(a.length).toBe(100 * 1024 * 1024);
|
expect(a.length).toBe(100 * 1024 * 1024);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user