From 72866e9467ea124644412706e3ec196113cf5348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Wed, 20 Mar 2019 15:36:27 -0300 Subject: [PATCH] test: Change cookies unsecure test title (#4187) I think we wanted to say "HTTP Website" there. --- test/cookies.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/cookies.spec.js b/test/cookies.spec.js index 35e90b41f0b..1eef81b5563 100644 --- a/test/cookies.spec.js +++ b/test/cookies.spec.js @@ -260,15 +260,15 @@ module.exports.addTests = function({testRunner, expect}) { const [cookie] = await page.cookies(SECURE_URL); expect(cookie.secure).toBe(true); }); - it('should be able to set unsecure cookie for HTTPS website', async({page, server}) => { + it('should be able to set unsecure cookie for HTTP website', async({page, server}) => { await page.goto(server.EMPTY_PAGE); - const SECURE_URL = 'http://example.com'; + const HTTP_URL = 'http://example.com'; await page.setCookie({ - url: SECURE_URL, + url: HTTP_URL, name: 'foo', value: 'bar', }); - const [cookie] = await page.cookies(SECURE_URL); + const [cookie] = await page.cookies(HTTP_URL); expect(cookie.secure).toBe(false); }); it('should set a cookie on a different domain', async({page, server}) => {