diff --git a/cypress/support/commands/storefront-api-commands.js b/cypress/support/commands/storefront-api-commands.js index 3d4a9c3..2764aeb 100644 --- a/cypress/support/commands/storefront-api-commands.js +++ b/cypress/support/commands/storefront-api-commands.js @@ -483,6 +483,8 @@ Cypress.Commands.add('loginByGuestAccountViaApi', (userData) => { }).then((result) => { return Cypress._.merge(result, finalAddressRawData); }).then((result) => { - cy.storefrontApiRequest('POST', '/account/register&response=true', {}, result); + cy.storefrontApiRequest('POST', 'account/register?response=true', { + "sw-context-token": uuid().replace(/-/g, '') + }, result); }); }); \ No newline at end of file diff --git a/package.json b/package.json index 0501a83..41ef0c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shopware-ag/e2e-testsuite-platform", - "version": "3.0.14", + "version": "3.0.15", "description": "E2E Testsuite for Shopware 6 using Cypress.js", "keywords": [ "e2e",