test(Salix): refs #6427 #6427 change front

This commit is contained in:
Javier Segarra 2024-06-14 15:45:40 +02:00
parent 9c43c3fab1
commit 5f1086d9e3
1 changed files with 1 additions and 10 deletions

View File

@ -1,7 +1,7 @@
import selectors from '../../helpers/selectors';
import getBrowser from '../../helpers/puppeteer';
describe('RecoverPassword path', async() => {
fdescribe('RecoverPassword path', async() => {
let browser;
let page;
@ -54,15 +54,6 @@ describe('RecoverPassword path', async() => {
expect(message.text).toContain('Notification sent!');
});
it('should not throw error if not exist user when select sms option', async() => {
await page.write(selectors.recoverPassword.email, 'fakeEmail@mydomain.com');
await page.waitToClick(selectors.recoverPassword.smsOption);
await page.waitToClick(selectors.recoverPassword.sendEmailButton);
const message = await page.waitForSnackbar();
expect(message.text).toContain('Notification sent!');
});
it('should send sms using username', async() => {
await page.setRequestInterception(true);