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.Test; 22 23 import static org.junit.Assert.assertEquals; 24 25 /** 26 * tests creating and cancelling new and edit Routing Rule maintenance screens 27 * 28 * @author Kuali Rice Team (rice.collab@kuali.org) 29 */ 30 public class WorkFlowRouteRulesWDIT extends WebDriverLegacyITBase { 31 public static final String TEST_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 + "&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 @Test 46 /** 47 * tests that a new Routing Rule maintenance document can be cancelled 48 */ 49 public void testWorkFlowRouteRulesCreateNew() throws Exception { 50 super.testWorkFlowRouteRulesCreateNew(); 51 } 52 53 @Test 54 /** 55 * tests that a Routing Rule maintenance document is created for an edit operation originating from a lookup screen 56 */ 57 public void testWorkFlowRouteRulesEditRouteRules() throws Exception { 58 super.testWorkFlowRouteRulesEditRouteRules(); 59 } 60 61 62 63 }