From 27101ad2ce9fa7a858ca6e24480e000261263500 Mon Sep 17 00:00:00 2001 From: Sebastian Seggewiss Date: Tue, 31 Jan 2023 08:23:43 +0100 Subject: [PATCH] 7.0.2 --- cypress/support/commands/api-commands.js | 9 +++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/cypress/support/commands/api-commands.js b/cypress/support/commands/api-commands.js index b6e7930..81e2e98 100644 --- a/cypress/support/commands/api-commands.js +++ b/cypress/support/commands/api-commands.js @@ -27,6 +27,15 @@ Cypress.Commands.add('authenticate', () => { cy.log('request /api/oauth/token') + cy.setCookie( + 'lastActivity', + `${Math.round(+new Date() / 1000)}`, + { + path: Cypress.env('admin'), + sameSite: "strict" + } + ); + return cy.setCookie( 'bearerAuth', JSON.stringify(result), diff --git a/package-lock.json b/package-lock.json index f010b6d..8357584 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@shopware-ag/e2e-testsuite-platform", - "version": "6.0.0", + "version": "7.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@shopware-ag/e2e-testsuite-platform", - "version": "6.0.0", + "version": "7.0.2", "license": "MIT", "dependencies": { "@babel/core": "7.14.8", diff --git a/package.json b/package.json index 527d357..bd5e9fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shopware-ag/e2e-testsuite-platform", - "version": "7.0.1", + "version": "7.0.2", "description": "E2E Testsuite for Shopware 6 using Cypress.js", "keywords": [ "e2e",