Skip to content

Commit

Permalink
7.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
seggewiss committed Jan 31, 2023
1 parent 5b0386b commit 27101ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions cypress/support/commands/api-commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 27101ad

Please sign in to comment.