test: mark 100mb evaluate test as slow (#1546)

This commit is contained in:
Andrey Lushnikov 2020-03-25 22:05:18 -07:00 committed by GitHub
parent bce8fc1343
commit ece43aec57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,8 +263,7 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
});
expect(result).toEqual([42]);
});
// Works in WebKit, but slow
it.fail(FFOX)('should transfer 100Mb of data from page to node.js', async({page, server}) => {
it.slow()('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'));
expect(a.length).toBe(100 * 1024 * 1024);
});