8714-devToTest #1547

Merged
alexm merged 712 commits from 8714-devToTest into test 2025-03-04 14:08:01 +00:00
1 changed files with 0 additions and 21 deletions
Showing only changes of commit c56c415a5a - Show all commits

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) => {