예제 #1
0
        public void User_Can_Uninstall_Salesforce()
        {
            // Remove ListViews
            ContactsListViewPage.GoTo();
            ContactsListViewPage.RemoveButtons();

            LeadsListViewPage.GoTo();
            LeadsListViewPage.RemoveButtons();

            CasesListViewPage.GoTo();
            CasesListViewPage.RemoveButtons();

            AccountsListViewPage.GoTo();
            AccountsListViewPage.RemoveButtons();

            //Remove permission sets from LiveText Admin
            CommonFunctions.RemovePermissionSets();

            //Remove LiveText visual force page
            ConversationSessionLayoutPage.GoTo();
            ConversationSessionLayoutPage.LeftSidebar.Remove();

            //Disable processes
            ProcessBuilderPage.GoTo();
            ProcessBuilderPage.RemoveProcesses();


            UninstallPage.GoTo();
            UninstallPage.Uninstall();
        }
예제 #2
0
 public void user_can_uninstall_saleforce()
 {
     UninstallPage.GoTo();
     UninstallPage.Uninstall();
     Assert.IsTrue(UninstallPage.checkSuccess(), "Uninstall failed.");
 }