New Test
open /seagull/branches/0.6-bugfix/www/index.php/user/login/action/logout/
clickAndWait link=Home
assertElementNotPresent document.getElementById('errorWrapper')
type frm_username_block admin
type frm_password_block admin
clickAndWait submitted
verifyTextPresent Module Manager
assertElementNotPresent document.getElementById('errorWrapper')
clickAndWait link=Configuration
verifyTextPresent Config Manager
assertElementNotPresent document.getElementById('errorWrapper')
click document.configuration.elements['conf[site][outputBuffering]'][1]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
assertElementNotPresent document.getElementById('errorWrapper')
clickAndWait link=Configuration
click conf[site][compression]
click conf[site][outputBuffering]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click conf[site][blocksEnabled]
clickAndWait link=Save
verifyTextNotPresent Admin menu
verifyTextPresent Config info successfully updated
click document.configuration.elements['conf[site][blocksEnabled]'][1]
clickAndWait link=Save
verifyTextPresent Admin menu
verifyTextPresent Config info successfully updated
type conf[site][alert] my broadcast message
clickAndWait link=Save
verifyTextPresent Config info successfully updated
clickAndWait link=Seagull Framework
verifyTextPresent my broadcast message
clickAndWait link=Admin
clickAndWait link=Configuration
type conf[site][alert]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
verifyTextNotPresent my broadcast message
click link=Session
select conf[session][handler]] label=database
clickAndWait link=Save
verifyTextPresent You need to login to use this feature. Fill your username and password below.
type frm_username admin
type frm_password admin
clickAndWait document.forms[1].submitted
click link=Session
verifyTextPresent file database
click document.configuration.elements['conf[session][extended]'][1]
click document.configuration.elements['conf[session][singleUser]'][1]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click link=Session
click conf[session][extended]
click conf[session][singleUser]
select conf[session][handler]] label=file
clickAndWait link=Save
verifyTextPresent You need to login to use this feature. Fill your username and password below.
type frm_username admin
type frm_password admin
clickAndWait document.forms[1].submitted
verifyTextPresent Config Manager
click //a[contains(@href, 'javascript:showSelectedOptions("configuration","navigationOptions")')]
click conf[navigation][enabled]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
verifyTextNotPresent Admin menu
click link=Navigation
click document.configuration.elements['conf[navigation][enabled]'][1]
clickAndWait link=Save
verifyTextPresent Admin menu
verifyTextPresent Config info successfully updated
click link=Debug
click conf[debug][showBugReporterLink]
click conf[debug][showBugReporterLink]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click link=Debug
click document.configuration.elements['conf[debug][showBugReporterLink]'][1]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click link=Caching
click document.configuration.elements['conf[cache][enabled]'][1]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click link=Caching
click document.configuration.elements['conf[cache][libCacheEnabled]'][1]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click link=Caching
click conf[cache][enabled]
click conf[cache][libCacheEnabled]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click link=Logs
click document.configuration.elements['conf[log][enabled]'][1]
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click link=Logs
select conf[log][type] label=sql
type conf[log][name] log_table
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click link=Logs
type conf[log][name] var/log/php_log.txt
select conf[log][type] label=file
click conf[log][enabled]
clickAndWait link=Save
click link=Censorship
select conf[censor][mode] label=word fragment
clickAndWait link=Save
verifyTextPresent Config info successfully updated
click link=Censorship
select conf[censor][mode] label=no censoring
clickAndWait link=Save
verifyTextPresent Config info successfully updated
clickAndWait link=logout
verifyTextPresent You have been successfully logged out