Skip to content

Commit 450a2be

Browse files
committed
feat: cookie
1 parent 0c8deb7 commit 450a2be

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.engine_scripts/puppet/loadCookies.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ module.exports = async (page, scenario) => {
3939
});
4040
});
4141

42+
if (process.env.DEBUG_COOKIES === 'true') {
43+
console.log('Restoring cookies from:', cookiePath);
44+
console.log(JSON.stringify(parsedCookies, null, 2));
45+
}
46+
4247
// SET COOKIES
4348
const setCookies = async () => {
4449
return Promise.all(

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "regressify",
3-
"version": "1.8.1",
3+
"version": "1.8.2",
44
"description": "Visual regression tests support",
55
"main": "src/index.ts",
66
"type": "module",

0 commit comments

Comments
 (0)