001 package edu.samplu.admin.test; 002 003 import org.junit.Test; 004 005 import java.util.HashMap; 006 import java.util.Map; 007 008 /** 009 * @author Kuali Rice Team (rice.collab@kuali.org) 010 */ 011 public class DocumentSearchURLParametersIT_testSupplyingSavedSearchNameDoesNothing extends DocumentSearchURLParametersITBase { 012 /** 013 * Supplying a saveName does not result in the saved search getting loaded. 014 * @throws InterruptedException 015 */ 016 @Test 017 public void testSupplyingSavedSearchNameDoesNothing() throws InterruptedException { 018 // get the search saved 019 driver.get(getDocSearchURL(BASIC_FIELDS)); 020 021 driver.get(getDocSearchURL("saveName=testBasicSearchFields_saved_search")); 022 023 Map<String, String> emptyForm = new HashMap<String, String>(); 024 for (String key: CORE_FIELDS.keySet()) { 025 emptyForm.put(key, ""); 026 } 027 028 assertInputValues(emptyForm); 029 } 030 }