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 abstract class AgendaLookUpAbstractSmokeTestBase extends MainTmplMthdSTNavBase{
25
26
27
28
29
30
31
32
33 public static final String BOOKMARK_URL = ITUtil.PORTAL + "?channelTitle=Agenda%20Lookup&channelUrl="
34 + ITUtil.getBaseUrlString() + ITUtil.KRAD_LOOKUP_METHOD
35 + "org.kuali.rice.krms.impl.repository.AgendaBo"
36 + ITUtil.SHOW_MAINTENANCE_LINKS
37 + "&returnLocation=" + ITUtil.PORTAL_URL + ITUtil.HIDE_RETURN_LINK;
38
39
40
41
42
43 @Override
44 protected String getLinkLocator() {
45 return AGENDA_LOOKUP_LINK_TEXT;
46 }
47
48 public void testAgendaLookUpBookmark(Failable failable) throws Exception {
49 agendaLookupAssertions();
50 passed();
51 }
52
53 public void testAgendaLookUpNav(Failable failable) throws Exception {
54 gotoMenuLinkLocator();
55 agendaLookupAssertions();
56 passed();
57 }
58
59 public void testSearchEditBackNav(Failable failable) throws Exception {
60 gotoMenuLinkLocator();
61 testSearchEditBack(this);
62 passed();
63 }
64
65 public void testSearchSearchBackNav(Failable failable) throws Exception {
66 gotoMenuLinkLocator();
67 testSearchSearchBack(this, "lookupCriteria[id]", "T1000");
68 passed();
69 }
70 }