コード例 #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_Remove_Buttons_from_Accounts_tab()
        {
            AccountsListViewPage.GoTo();
            AccountsListViewPage.RemoveButtons();

            Assert.IsTrue(AccountsListViewPage.ClickEditThenCheckIfButtonsRemoved(), "Removal of one of the custom buttons failed.");
        }