Add FIFO data input
-Adds new FIFO input
openAndWait / (open the main interface)
comment Wait for page to load up
waitForDispatchCompleted 30000
comment Click admin link
clickAndWait //a[@href='/admin/settings']
selectWindow queryFetcher (hereafter, all selenium commands will act within the context of this iframe)
comment Click datainputs link
clickAndWait //a[@href='/admin/datainputs'] (Go to the datainputs homepage)
comment Click FIFO link
clickAndWait //a[@href='/admin/datainputs/fifo'] (Go to the fifo list page)
comment Attempt to create a FIFO input
comment Click add data
comment We can't add a fifo input in this test, becuse we don't have one in the build... testing for failure
clickAndWait //input[@type='submit']
comment Type nonexistent fifo path
type //input[@name='fifo'] /foo/bar/baz
comment Change dropdown to derived from hostname
select //select[@name='dataInputSetHostElement'] value=hostname
comment Click Submit
clickAndWait //input[@type='submit']
comment Verify Notice present
verifyText //div[@class='errorHeader'] File path does not exist.