1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.samplu.mainmenu.test;
17
18 import edu.samplu.common.Failable;
19 import edu.samplu.common.ITUtil;
20
21
22
23
24 public class WorkFlowRouteRulesAbstractSmokeTestBase extends MainTmplMthdSTNavBase{
25
26
27
28
29
30
31 public static final String BOOKMARK_URL = ITUtil.PORTAL + "?channelTitle=Routing%20Rules&channelUrl=" + ITUtil.getBaseUrlString() +
32 "/kr/lookup.do?businessObjectClassName=org.kuali.rice.kew.rule.RuleBaseValues&docFormKey=88888888&returnLocation=" +
33 ITUtil.PORTAL_URL + ITUtil.HIDE_RETURN_LINK + "&showMaintenanceLinks=true";
34
35
36
37
38
39 @Override
40 protected String getLinkLocator() {
41 return "Routing Rules";
42 }
43
44 public void testWorkFlowRouteRulesBookmark(Failable failable) throws Exception {
45 testWorkFlowRouteRulesCreateNew();
46 driver.navigate().to(ITUtil.getBaseUrlString() + BOOKMARK_URL);
47 testWorkFlowRouteRulesEditRouteRules();
48 passed();
49 }
50
51 public void testWorkFlowRouteRulesNav(Failable failable) throws Exception {
52 testWorkFlowRouteRulesCreateNew();
53 navigate();
54 testWorkFlowRouteRulesEditRouteRules();
55 passed();
56 }
57 }