From a65bf4179faa52b805c3ec469b0b7fd382557f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Wed, 29 Jan 2020 14:39:43 -0300 Subject: [PATCH] test(browsercontext): cookies() is a BrowserContext function (#741) --- test/defaultbrowsercontext.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/defaultbrowsercontext.spec.js b/test/defaultbrowsercontext.spec.js index ae9559c618..cc0a08470b 100644 --- a/test/defaultbrowsercontext.spec.js +++ b/test/defaultbrowsercontext.spec.js @@ -30,7 +30,7 @@ module.exports.describe = function ({ testRunner, expect, defaultBrowserOptions, delete state.browser; delete state.page; }); - it('page.cookies() should work', async({page, server}) => { + it('context.cookies() should work', async({page, server}) => { await page.goto(server.EMPTY_PAGE); await page.evaluate(() => { document.cookie = 'username=John Doe';