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
21 import org.junit.Assert;
22 import org.junit.Test;
23
24 import static org.junit.Assert.assertEquals;
25
26 /**
27 * tests creating and cancelling new and edit Routing Rule maintenance screens
28 *
29 * @author Kuali Rice Team (rice.collab@kuali.org)
30 */
31 public class WorkFlowRouteRulesWDIT extends WebDriverLegacyITBase {
32 public static final String TEST_URL = ITUtil.PORTAL + "?channelTitle=Routing%20Rules&channelUrl=" + ITUtil.getBaseUrlString() +
33 "/kr/lookup.do?businessObjectClassName=org.kuali.rice.kew.rule.RuleBaseValues&docFormKey=88888888&returnLocation=" +
34 ITUtil.PORTAL_URL + "&hideReturnLink=true&showMaintenanceLinks=true";
35
36 @Override
37 public void fail(String message) {
38 Assert.fail(message);
39 }
40
41 /**
42 * This overridden method ...
43 *
44 * @see edu.samplu.common.WebDriverLegacyITBase#getTestUrl()
45 */
46 @Override
47 public String getTestUrl() {
48 // TODO dmoteria - THIS METHOD NEEDS JAVADOCS
49 return TEST_URL;
50 }
51 @Test
52 /**
53 * tests that a new Routing Rule maintenance document can be cancelled
54 */
55 public void testWorkFlowRouteRulesCreateNew() throws Exception {
56 super.testWorkFlowRouteRulesCreateNew();
57 }
58
59 @Test
60 /**
61 * tests that a Routing Rule maintenance document is created for an edit operation originating from a lookup screen
62 */
63 public void testWorkFlowRouteRulesEditRouteRules() throws Exception {
64 super.testWorkFlowRouteRulesEditRouteRules();
65 }
66
67
68
69 }