Skip to content

Commit 4c1b549

Browse files
committed
test(ui): adjust cookie settings on sginstanceprofile form tests
1 parent 32e41b0 commit 4c1b549

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

stackgres-k8s/src/admin-ui/cypress/e2e/03-forms/02-create-sginstanceprofile.cy.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ describe('Create SGInstanceProfile', () => {
1313
});
1414

1515
beforeEach( () => {
16-
Cypress.Cookies.preserveOnce('sgToken')
16+
cy.gc()
17+
cy.login()
18+
cy.setCookie('sgReload', '0')
19+
cy.setCookie('sgTimezone', 'utc')
1720
cy.visit(namespace + '/sginstanceprofiles/new')
1821
});
1922

0 commit comments

Comments
 (0)