From 76b4ca6ea506d58cc47511ed4fd2758203a34cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Sat, 26 Mar 2016 17:15:47 +0200 Subject: [PATCH] Revert commented test due to cookies bug --- test/api/apiTest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api/apiTest.js b/test/api/apiTest.js index c47ec97..c4fb064 100644 --- a/test/api/apiTest.js +++ b/test/api/apiTest.js @@ -102,7 +102,7 @@ describe('api', function() { screenshot: true, device: 'tablet', //waitForSelector: '*', - //cookie: 'foo=bar;domain=google.com', + cookie: 'foo=bar;domain=google.com', authUser: 'joe', authPass: 'secret' }, @@ -176,7 +176,7 @@ describe('api', function() { // Check if settings are correctly sent and retrieved body.params.options.should.have.a.property('device').that.equals('tablet'); //body.params.options.should.have.a.property('waitForSelector').that.equals('*'); - //body.params.options.should.have.a.property('cookie').that.equals('foo=bar'); + body.params.options.should.have.a.property('cookie').that.equals('foo=bar;domain=google.com'); body.params.options.should.have.a.property('authUser').that.equals('joe'); body.params.options.should.have.a.property('authPass').that.equals('secret');