parent
9c43c3fab1
commit
5f1086d9e3
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue