001 package edu.samplu.admin.test; 002 003 import org.junit.Test; 004 import org.kuali.rice.krad.util.KRADConstants; 005 import org.openqa.selenium.WebElement; 006 007 /** 008 * @author Kuali Rice Team (rice.collab@kuali.org) 009 */ 010 public 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 }