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.Failable;
19 import edu.samplu.common.ITUtil;
20
21
22
23
24 public abstract class LocationStateAbstractSmokeTestBase extends AdminTmplMthdSTNavBase{
25
26
27
28
29
30
31 public static final String BOOKMARK_URL = ITUtil.PORTAL + "?channelTitle=State&channelUrl="
32 + ITUtil.getBaseUrlString() + ITUtil.KNS_LOOKUP_METHOD +
33 "org.kuali.rice.location.impl.state.StateBo&docFormKey=88888888&returnLocation=" +
34 ITUtil.PORTAL_URL + ITUtil.HIDE_RETURN_LINK ;
35
36
37
38
39
40
41 @Override
42 protected String getLinkLocator() {
43 return "State";
44 }
45
46 public void testLocationStateBookmark(Failable failable) throws Exception {
47 testSearchEditCancel();
48 driver.navigate().to(ITUtil.getBaseUrlString() + BOOKMARK_URL);
49 testCreateNewCancel();
50 passed();
51 }
52
53 public void testLocationStateNav(Failable failable) throws Exception {
54 testEditCancel();
55 navigate();
56 testCreateNewCancelNav();
57 passed();
58 }
59 }