diff --git a/modules/websubmit/web/Makefile.am b/modules/websubmit/web/Makefile.am index 52e1f2a4f..a1218afb7 100644 --- a/modules/websubmit/web/Makefile.am +++ b/modules/websubmit/web/Makefile.am @@ -1,41 +1,43 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. +## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. SUBDIRS = admin docdir = $(localstatedir)/www doc_DATA = approve.py \ publiline.py \ yourapprovals.py \ yoursubmissions.py testdir = $(libdir)/webtest/invenio test_DATA = test.pdf \ test.jpg \ + test.tar.gz \ test_submit_article.html \ test_submit_poetry.html \ test_submit_picture.html \ test_submit_book.html \ - test_submit_book_approval.html + test_submit_tar_gz.html \ + test_submit_book_approval.html EXTRA_DIST = $(doc_DATA) $(test_DATA) CLEANFILES = *~ *.tmp diff --git a/modules/websubmit/web/test.tar.gz b/modules/websubmit/web/test.tar.gz new file mode 100644 index 000000000..d71f114cd Binary files /dev/null and b/modules/websubmit/web/test.tar.gz differ diff --git a/modules/websubmit/web/test_submit_tar_gz.html b/modules/websubmit/web/test_submit_tar_gz.html new file mode 100644 index 000000000..542b6f458 --- /dev/null +++ b/modules/websubmit/web/test_submit_tar_gz.html @@ -0,0 +1,132 @@ + + + + + + +test_submit_article + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
test_submit_article
openhttp://localhost
clickAndWaitlink=login
typep_unjekyll
typep_pwj123ekyll
clickAndWaitaction
clickAndWaitlink=Submit
clickAndWaitlink=Demo Article Submission
clickcomboARTICLE
clickAndWait//input[@value='Submit New Record']
typeDEMOART_REPTest-Ref-001
Test-Ref-002
typeDEMOART_TITLETest article document title
typeDEMOART_AUAuthor1, Firstname1
Author2, Firstname2
typeDEMOART_ABSThis is a test abstract.
It has some more lines.

...and some empty lines.

And it finishes here.
typeDEMOART_NUMP1234
selectDEMOART_LANGlabel=French
typeDEMOART_DATE11/01/2001
typeDEMOART_KWtest keyword1
test keyword2
test keyword3
typeDEMOART_NOTEI don't think I have any additional comments.
But maybe I'll input some quotes here: " ' ` and the rest.
typeDEMOART_FILE/opt/cds-invenio/lib/webtest/invenio/test.tar.gz
clickAndWaitendS
verifyTextPresentSubmission Complete!
verifyTextPresentour document has the following reference(s): DEMO-ARTICLE
clickAndWaitlink=logout
+ +