Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it("sending mail from Gmail", () => {
- const mainPage = await GMail.login(DefaultUserName, DefaultPassword);
- const newMail = await mainPage.ComposeNewMail();
- await newMail.setSubject("dummy subject");
- await newMail.setTo(testMailAccount.address);
- await newMail.send();
- expect(await (await testMailAccount.lastReceivedMessage()).getSubject()).toEqual("dummy subject");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement