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

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