001package edu.samplu.admin.test;
002
003import org.junit.Test;
004import org.kuali.rice.krad.util.KRADConstants;
005import org.openqa.selenium.WebElement;
006
007/**
008 * @author Kuali Rice Team (rice.collab@kuali.org)
009 */
010public class DocumentSearchURLParametersIT_testAdvancedSearchMode extends DocumentSearchURLParametersITBase {
011    @Test
012    public void testAdvancedSearchMode() {
013        driver.get(getDocSearchURL((KRADConstants.ADVANCED_SEARCH_FIELD + "=YES")));
014        WebElement toggle = findModeToggleButton();
015        assertSearchDetailMode(toggle, true);
016        toggle.click();
017        assertSearchDetailMode(findModeToggleButton(), false);
018    }
019}