Example #1
0
        public void CreateDraft()
        {
            LoginPage login = new LoginPage(driver);

            login.navigateToGooglePage();
            login.navigateToSignInPage();
            Helper helper = new Helper(driver);

            helper.navigateToMail(driver);
            MailPage mail = new MailPage(driver);

            mail.openDraftPage(driver);
            mail.crateDraft(driver);
            helper.drafCreationCheck(driver);
            mail.updateDraft(driver);
            helper.drafUpdateCheck(driver);
            mail.deleteDraft(driver);
            helper.signOut(driver);
        }