Skip to content

Commit

Permalink
feature: clear individual cookie by name with Playwright (available s…
Browse files Browse the repository at this point in the history
…ince Playwright 1.43)
  • Loading branch information
Norbert Graf committed Dec 30, 2024
1 parent feff894 commit c3fbe3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helper/Playwright_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ describe('Playwright', function () {
I.clearCookie('test1')
const cookiesAfterClearing = await I.grabCookie()
assert.equal(cookiesAfterClearing.length, 1)
assert.equal(cookiesAfterClearing, { name: 'test1', value: 'test1' })
assert.equal(cookiesAfterClearing, { name: 'test2', value: 'test2' })
})
})

Expand Down

0 comments on commit c3fbe3c

Please sign in to comment.