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();
        }
Example #2
0
 public void user_can_uninstall_saleforce()
 {
     UninstallPage.GoTo();
     UninstallPage.Uninstall();
     Assert.IsTrue(UninstallPage.checkSuccess(), "Uninstall failed.");
 }