ocs-submission-a-then-p
open ${baseUrl}/index.php/${conference}/${schedConf}/author
clickAndWait link=Step one of the submission process
click checklist-1
click checklist-2
click checklist-3
click checklist-4
click checklist-5
click checklist-6
click checklist-7
type commentsToDirector Comment to the Director
clickAndWait //input[@value='Save and continue']
waitForTitle glob:Step 2*
pause 500
type authors-0-firstName John
type authors-0-lastName Deere
type authors-0-email john@deere.org
type authors-0-url http://sdglh.org/#frag1
select authors-0-country label=Antarctica
type title[en_US] Selenium greatly reduces web test efforts
type abstract If we'd use more selenium tests then pre-release tests would be a breeze.
storeEval window.location.href.substring(window.location.href.lastIndexOf('=') + 1) paperId
clickAndWait //input[@value='Save and continue']
assertTitle Active Submissions
open ${baseUrl}/index.php/${conference}/${schedConf}/director/assignDirector/director?directorId=1&paperId=${paperId}
open ${baseUrl}/index.php/${conference}/${schedConf}/director/submissionReview/${paperId}/1
select decision label=Invite Presentation
click submit
assertConfirmation Are you sure you wish to record this decision?
waitForPageToLoad 30000
open ${baseUrl}/index.php/${conference}/${schedConf}/author/submit/2?paperId=${paperId}
waitForPageToLoad 30000
waitForTitle glob:Step 2*
pause 500
type submissionFile ${testfile}
clickAndWait uploadSubmissionFile
clickAndWait //input[@value='Save and continue']
waitForTitle glob:Step 4*
pause 500
clickAndWait //input[@value='Finish Submission']
waitForTitle Active Submissions