1 /**
2 * Copyright 2005-2011 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package edu.samplu.mainmenu.test;
17
18 import edu.samplu.common.ITUtil;
19 import edu.samplu.common.WebDriverLegacyITBase;
20 import org.junit.Test;
21
22 import static org.junit.Assert.assertEquals;
23 import static org.junit.Assert.assertTrue;
24
25 /**
26 * tests creating and cancelling new and edit Routing Rule Delegation maintenance screens
27 *
28 * @author Kuali Rice Team (rice.collab@kuali.org)
29 */
30 public class WorkFlowRouteRulesDelegationWDIT extends WebDriverLegacyITBase {
31 public static final String TEST_URL = ITUtil.PORTAL + "?channelTitle=Routing%20Rules%20Delegation&channelUrl=" + ITUtil.getBaseUrlString() +
32 "/kr/lookup.do?businessObjectClassName=org.kuali.rice.kew.rule.RuleDelegationBo&docFormKey=88888888&returnLocation=" +
33 ITUtil.PORTAL_URL + "&hideReturnLink=true&showMaintenanceLinks=true";
34
35 /**
36 * This overridden method ...
37 *
38 * @see edu.samplu.common.WebDriverLegacyITBase#getTestUrl()
39 */
40 @Override
41 public String getTestUrl() {
42 // TODO dmoteria - THIS METHOD NEEDS JAVADOCS
43 return TEST_URL;
44 }
45
46
47 // @Test // There are no results from the search so no edit link to click on
48 /**
49 * tests that a Routing Rule Delegation maintenance document is created for an edit operation originating from a lookup screen
50 */
51 public void testEditRouteRulesDelegation() throws Exception {
52 super.testEditRouteRulesDelegation();
53 }
54
55 @Test
56 public void testCreateNewRRDTravelRequestDestRouting() throws Exception {
57 super.testCreateNewRRDTravelRequestDestRouting();
58 }
59
60
61
62 }