Skip to content

Commit

Permalink
test(browsercontext): cookies() is a BrowserContext function (#741)
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok authored Jan 29, 2020
1 parent 492304b commit a65bf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/defaultbrowsercontext.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit a65bf41

Please sign in to comment.