fix: refs #8484 rollback
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2025-02-26 16:36:20 +01:00
parent 5d4feb34d7
commit c56c415a5a
1 changed files with 0 additions and 21 deletions

View File

@ -55,27 +55,6 @@ Cypress.Commands.add('login', (user = 'developer') => {
window.localStorage.setItem('tokenMultimedia', body.multimediaToken.id);
});
});
// cy.session(['user-session', user], () => {
// cy.request({
// method: 'POST',
// url: '/api/accounts/login',
// body: {
// user: user,
// password: 'nightmare',
// },
// }).then((response) => {
// window.localStorage.setItem('token', response.body.token);
// cy.request({
// method: 'GET',
// url: '/api/VnUsers/ShareToken',
// headers: {
// Authorization: window.localStorage.getItem('token'),
// },
// }).then(({ body }) => {
// window.localStorage.setItem('tokenMultimedia', body.multimediaToken.id);
// });
// });
// });
});
Cypress.Commands.overwrite('visit', (originalFn, url, options) => {