001package edu.samplu.admin.test; 002 003import org.junit.Test; 004import org.openqa.selenium.By; 005 006import java.util.HashMap; 007import java.util.Map; 008 009/** 010 * @author Kuali Rice Team (rice.collab@kuali.org) 011 */ 012public class DocumentSearchURLParametersIT_testAdvancedSearchFields extends DocumentSearchURLParametersITBase { 013 @Test 014 public void testAdvancedSearchFields() throws InterruptedException{ 015 // criteria.initiator=delyea&criteria.docTypeFullName=" + documentTypeName + 016 Map<String, String> values = new HashMap<String, String>(BASIC_FIELDS); 017 values.putAll(ADVANCED_FIELDS); 018 driver.get(getDocSearchURL(values)); 019 020 assertInputValues(values); 021 022 driver.findElement(By.id("toggleAdvancedSearch")).click(); 023 024 assertInputValues(BASIC_FIELDS); 025 } 026}