001 /**
002 * Copyright 2005-2011 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package edu.samplu.mainmenu.test;
017
018 import edu.samplu.common.ITUtil;
019 import edu.samplu.common.WebDriverLegacyITBase;
020
021 import org.junit.Test;
022
023 import static org.junit.Assert.assertEquals;
024
025 /**
026 * tests creating and cancelling new and edit Routing Rule maintenance screens
027 *
028 * @author Kuali Rice Team (rice.collab@kuali.org)
029 */
030 public class WorkFlowRouteRulesWDIT extends WebDriverLegacyITBase {
031 public static final String TEST_URL = ITUtil.PORTAL + "?channelTitle=Routing%20Rules&channelUrl=" + ITUtil.getBaseUrlString() +
032 "/kr/lookup.do?businessObjectClassName=org.kuali.rice.kew.rule.RuleBaseValues&docFormKey=88888888&returnLocation=" +
033 ITUtil.PORTAL_URL + "&hideReturnLink=true&showMaintenanceLinks=true";
034
035 /**
036 * This overridden method ...
037 *
038 * @see edu.samplu.common.WebDriverLegacyITBase#getTestUrl()
039 */
040 @Override
041 public String getTestUrl() {
042 // TODO dmoteria - THIS METHOD NEEDS JAVADOCS
043 return TEST_URL;
044 }
045 @Test
046 /**
047 * tests that a new Routing Rule maintenance document can be cancelled
048 */
049 public void testWorkFlowRouteRulesCreateNew() throws Exception {
050 super.testWorkFlowRouteRulesCreateNew();
051 }
052
053 @Test
054 /**
055 * tests that a Routing Rule maintenance document is created for an edit operation originating from a lookup screen
056 */
057 public void testWorkFlowRouteRulesEditRouteRules() throws Exception {
058 super.testWorkFlowRouteRulesEditRouteRules();
059 }
060
061
062
063 }