1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.samplu.admin.test;
17
18 import edu.samplu.common.AdminMenuBlanketAppLegacyITBase;
19 import edu.samplu.common.ITUtil;
20
21
22
23
24
25
26 public class ReferenceCampusTypeBlanketAppLegacyIT extends AdminMenuBlanketAppLegacyITBase {
27
28 @Override
29 public String blanketApprove() throws Exception {
30 String docId = waitForDocId();
31 assertBlanketApproveButtonsPresent();
32 waitAndTypeByXpath("//input[@id='document.documentHeader.documentDescription']", "Validation Test Campus Type " + ITUtil.DTS_TWO);
33 waitAndTypeByXpath("//input[@id='document.newMaintainableObject.code']", ITUtil.DTS_TWO);
34 waitAndTypeByXpath("//input[@id='document.newMaintainableObject.name']", "Indianapolis " + ITUtil.DTS_TWO);
35 return docId;
36 }
37
38 @Override
39 protected String getLinkLocator() {
40 return "Campus Type";
41 }
42 }