001/** 002 * Copyright 2005-2015 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 */ 016package edu.sampleu.admin; 017 018import org.kuali.rice.testtools.common.JiraAwareFailable; 019import org.kuali.rice.testtools.selenium.AutomatedFunctionalTestUtils; 020import org.kuali.rice.testtools.selenium.WebDriverUtils; 021 022/** 023 * @author Kuali Rice Team (rice.collab@kuali.org) 024 */ 025public abstract class ConfigViewConfiguredPropertiesAftBase extends AdminTmplMthdAftNavBase { 026 027 /** 028 * ITUtil.PORTAL+"?channelTitle=Configuration%20Viewer&channelUrl="+WebDriverUtils.getBaseUrlString()+ 029 * "/ksb/ConfigViewer.do"+ 030 */ 031 public static final String BOOKMARK_URL = AutomatedFunctionalTestUtils.PORTAL+"?channelTitle=Configuration%20Viewer&channelUrl="+ WebDriverUtils 032 .getBaseUrlString()+"/ksb/ConfigViewer.do"; 033 034 035 @Override 036 protected String getBookmarkUrl() { 037 return BOOKMARK_URL; 038 } 039 040 /** 041 * {@inheritDoc} 042 * Configuration Viewer 043 * @return 044 */ 045 @Override 046 protected String getLinkLocator() { 047 return "Configuration Viewer"; 048 } 049 050 public void testConfigViewConfiguredPropertiesBookmark(JiraAwareFailable failable) throws Exception { 051 testConfigViewConfiguredProperties(); 052 passed(); 053 } 054 055 public void testConfigViewConfiguredPropertiesNav(JiraAwareFailable failable) throws Exception { 056 testConfigViewConfiguredProperties(); 057 passed(); 058 } 059 060 public void testConfigViewConfiguredProperties() throws Exception { 061 selectFrameIframePortlet(); 062 waitAndClickByLinkText("Refresh Page"); 063 } 064}