test_insert_oai_source
open http://localhost
clickAndWait link=login
type p_un admin
clickAndWait action
open http://localhost/admin/bibharvest/oaiharvestadmin.py?ln=en
clickAndWait link=add new OAI source
type oai_src_baseurl http://demo.invenio-software.org/oai2d
clickAndWait //input[@value='Validate']
type oai_src_name AtlantisOAI
select oai_src_prefix label=marcxml
click cern:theory1
select oai_src_frequency label=never
select oai_src_lastrun label=from beginning
select oai_src_post label=harvest and convert (h-c)
clickAndWait //input[@value='Add OAI Source']
verifyTextPresent Please enter a valid name of or a full path to a BibConvert config file or change postprocess mode.
type oai_src_config oaimarc2marcxml.xsl
clickAndWait //input[@value='Add OAI Source']
clickAndWait link=Go back to the OAI sources overview
verifyTextPresent AtlantisOAI
clickAndWait link=logout