Exemple #1
0
        public void TestCleanup()
        {
            InBoxPageStep.SignOutAccount();
            LoginPageStep.SignIn(user2.Email, user2.Password);
            InBoxPageStep.ChooseSettings();
            SettingPageStep.ForwardMail();
            ForwardPageStep.RemoveForwarding();
            TrashPageStep.DeleteAllMail();
            InBoxPageStep.DeleteAllMail();

            InBoxPageStep.SignOutAccount();
            LoginPageStep.SignIn(user3.Email, user3.Password);
            InBoxPageStep.DeleteAllMail();
            ImportantPageStep.DeleteAllMail();
            InBoxPageStep.SignOutAccount();

            Step.ClosePage();
        }
Exemple #2
0
        public void TestCleanup()
        {
            LoggerHandler.WriteToLog("Start TestCleanup");
            InBoxPageStep.SignOutAccount();
            LoginPageStep.SignIn(user1.Email, user1.Password);
            InBoxPageStep.GoToSpam();
            InBoxPageStep.MoveMailFromSpam(user1.Email);
            InBoxPageStep.DeleteAllMail();
            InBoxPageStep.SignOutAccount();

            /*LoginPageStep.SignIn(user2.Email, user2.Password);
             * InBoxPageStep.DeleteAllMail();
             * LoginPageStep.SignIn(user3.Email, user3.Password);
             * InBoxPageStep.DeleteAllMail();
             * InBoxPageStep.SignOutAccount();*/

            Step.ClosePage();
        }