1 package edu.samplu.admin.test;
2
3 import edu.samplu.common.AdminMenuBlanketAppLegacyITBase;
4 import edu.samplu.common.ITUtil;
5
6
7
8
9
10 public class ConfigNameSpaceBlanketAppLegacyIT extends AdminMenuBlanketAppLegacyITBase {
11
12 @Override
13 protected String getLinkLocator() {
14 return "Namespace";
15 }
16
17 @Override
18 public String blanketApprove() throws Exception {
19 String docId = waitForDocId();
20 waitAndTypeByXpath("//input[@id='document.documentHeader.documentDescription']", "Validation Test Namespace " + ITUtil.DTS_TWO);
21 assertBlanketApproveButtonsPresent();
22 waitAndTypeByXpath("//input[@id='document.newMaintainableObject.code']", "VTN" + ITUtil.DTS_TWO);
23 waitAndTypeByXpath("//input[@id='document.newMaintainableObject.name']",
24 "Validation Test NameSpace " + ITUtil.DTS_TWO);
25 waitAndTypeByXpath("//input[@id='document.newMaintainableObject.applicationId']", "RICE");
26 return docId;
27 }
28 }