1 package edu.samplu.admin.test;
2
3 import org.junit.Test;
4
5 import java.util.HashMap;
6 import java.util.Map;
7
8
9
10
11 public class DocumentSearchURLParametersIT_testSupplyingSavedSearchNameDoesNothing extends DocumentSearchURLParametersITBase {
12
13
14
15
16 @Test
17 public void testSupplyingSavedSearchNameDoesNothing() throws InterruptedException {
18
19 driver.get(getDocSearchURL(BASIC_FIELDS));
20
21 driver.get(getDocSearchURL("saveName=testBasicSearchFields_saved_search"));
22
23 Map<String, String> emptyForm = new HashMap<String, String>();
24 for (String key: CORE_FIELDS.keySet()) {
25 emptyForm.put(key, "");
26 }
27
28 assertInputValues(emptyForm);
29 }
30 }