<project name="Set and verify advanced options" default="webtest">
  <import file="../includes/webapp.xml" />

  <target name="webtest">
    <webtest name="Set and verify advanced options">
      <config easyajax="true" easyajaxdelay="5000"/>
      <performQuery query="test" />

      <clickLink xpath="id('show-options')/a[1]" />
      <clickLink xpath="id('show-advanced-options')" />
      <verifyXPath xpath="count(id('advanced-options')/div) = 3" 
                   description="3 advanced options expected for the default source" />
      <setSelectField name="EToolsDocumentSource.country" value="ITALY" />
      <setSelectField name="EToolsDocumentSource.language" value="ITALIAN" />
      <setCheckbox htmlid="EToolsDocumentSource.safeSearch" checked="true" />
      
      <clickButton htmlId="search" />
      
      <verifySelectField name="EToolsDocumentSource.country" value="ITALY" />
      <verifySelectField name="EToolsDocumentSource.language" value="ITALIAN" />
      <verifyCheckbox htmlid="EToolsDocumentSource.safeSearch" checked="true" />
      <verifyInputField name="EToolsDocumentSource.safeSearch" value="true" />
      
      <!-- Verify that safe search on images is turned on by default -->
      <clickElement htmlid="boss-images" />
      <verifyCheckbox htmlid="BossImageSearchService.filter" checked="true" />
      <verifyInputField name="BossImageSearchService.filter" value="true" />
    </webtest>
  </target>
</project>

<project name="Set and verify advanced options" default="webtest">
  <import file="../includes/webapp.xml" />

  <target name="webtest">
    <webtest name="Set and verify advanced options">
      <config easyajax="true" easyajaxdelay="5000"/>
      <performQuery query="test" />

      <clickLink xpath="id('show-options')/a[1]" />
      <clickLink xpath="id('show-advanced-options')" />
      <verifyXPath xpath="count(id('advanced-options')/div) = 3" 
                   description="3 advanced options expected for the default source" />
      <setSelectField name="EToolsDocumentSource.country" value="ITALY" />
      <setSelectField name="EToolsDocumentSource.language" value="ITALIAN" />
      <setCheckbox htmlid="EToolsDocumentSource.safeSearch" checked="true" />
      
      <clickButton htmlId="search" />
      
      <verifySelectField name="EToolsDocumentSource.country" value="ITALY" />
      <verifySelectField name="EToolsDocumentSource.language" value="ITALIAN" />
      <verifyCheckbox htmlid="EToolsDocumentSource.safeSearch" checked="true" />
      <verifyInputField name="EToolsDocumentSource.safeSearch" value="true" />
    </webtest>
  </target>
</project>

Remove Yahoo document sources: webtest fix
CARROT-829: Remove Yahoo document sources: webtest fix

git-svn-id: 659eb10424342cea22344621e2d2cbd98ef34d09@5009 7ff1d41c-760d-0410-a7ff-a3a56f310b35
