001    package edu.samplu.admin.test;
002    
003    import edu.samplu.common.AdminMenuBlanketAppLegacyITBase;
004    import edu.samplu.common.ITUtil;
005    
006    /**
007     * @author Kuali Rice Team (rice.collab@kuali.org)
008     */
009    
010    public class ConfigNameSpaceBlanketAppLegacyIT extends AdminMenuBlanketAppLegacyITBase {
011    
012        @Override
013        protected String getLinkLocator() {
014            return "Namespace";
015        }
016    
017        @Override
018        public String blanketApprove() throws Exception {
019            String docId = waitForDocId();
020            waitAndTypeByXpath("//input[@id='document.documentHeader.documentDescription']", "Validation Test Namespace " + ITUtil.DTS_TWO);
021            assertBlanketApproveButtonsPresent();
022            waitAndTypeByXpath("//input[@id='document.newMaintainableObject.code']", "VTN" + ITUtil.DTS_TWO);
023            waitAndTypeByXpath("//input[@id='document.newMaintainableObject.name']",
024                    "Validation Test NameSpace " + ITUtil.DTS_TWO);
025            waitAndTypeByXpath("//input[@id='document.newMaintainableObject.applicationId']", "RICE");
026            return docId;
027        }
028    }