Author: jablko
Date: Tue Dec  1 16:27:13 2009
New Revision: 4023

Log:
Add small movie assets and tests for uploading and previewing with Flowplayer

Added:
   trunk/test/selenium/digitalObject/
   trunk/test/selenium/digitalObject/uploadAvi.html   (contents, props changed)
   trunk/test/selenium/digitalObject/uploadMov.html   (contents, props changed)
   trunk/test/selenium/digitalObjectSuite.html   (contents, props changed)
   trunk/test/selenium/fixtures/Sample.mov   (contents, props changed)
   trunk/test/selenium/fixtures/jai.avi   (contents, props changed)

Added: trunk/test/selenium/digitalObject/uploadAvi.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/digitalObject/uploadAvi.html    Tue Dec  1 16:27:13 
2009        (r4023)
@@ -0,0 +1,88 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+  <meta content="HTML Tidy for Linux/x86 (vers 7 December 2008), see 
www.w3.org" name="generator" />
+
+  <title></title>
+</head>
+
+<body>
+  
http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.avi
+
+  <table>
+    <tr>
+      <td>open</td>
+
+      <td></td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Add/edit</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=add new</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link="Upload digital object</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link="Upload digital object</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>type</td>
+
+      <td>file</td>
+
+      <td>/var/www/qubit/test/selenium/fixtures/jai.avi</td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>verifyElementPresent</td>
+
+      <td>css=.flowplayerVideo</td>
+
+      <td></td>
+    </tr>
+  </table>
+</body>
+</html>

Added: trunk/test/selenium/digitalObject/uploadMov.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/digitalObject/uploadMov.html    Tue Dec  1 16:27:13 
2009        (r4023)
@@ -0,0 +1,88 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+  <meta content="HTML Tidy for Linux/x86 (vers 7 December 2008), see 
www.w3.org" name="generator" />
+
+  <title></title>
+</head>
+
+<body>
+  
http://qubit-toolkit.org/wiki/index.php?title=Unit_and_functional_testing#Upload_.mov
+
+  <table>
+    <tr>
+      <td>open</td>
+
+      <td></td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=Add/edit</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link=add new</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link="Upload digital object</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>link="Upload digital object</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>type</td>
+
+      <td>file</td>
+
+      <td>/var/www/qubit/test/selenium/fixtures/Sample.mov</td>
+    </tr>
+
+    <tr>
+      <td>clickAndWait</td>
+
+      <td>//inp...@value='Create']</td>
+
+      <td></td>
+    </tr>
+
+    <tr>
+      <td>verifyElementPresent</td>
+
+      <td>css=.flowplayerVideo</td>
+
+      <td></td>
+    </tr>
+  </table>
+</body>
+</html>

Added: trunk/test/selenium/digitalObjectSuite.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/digitalObjectSuite.html Tue Dec  1 16:27:13 2009        
(r4023)
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+  <meta content="HTML Tidy for Linux/x86 (vers 7 December 2008), see 
www.w3.org" name="generator" />
+
+  <title></title>
+</head>
+
+<body>
+  <table>
+    <tr>
+      <td></td>
+    </tr>
+
+    <tr>
+      <td><a href="setUp.html"></a></td>
+    </tr>
+
+    <tr>
+      <td><a href="digitalObject/uploadAvi.html"></a></td>
+    </tr>
+
+    <tr>
+      <td><a href="digitalObject/uploadMov.html"></a></td>
+    </tr>
+  </table>
+</body>
+</html>

Added: trunk/test/selenium/fixtures/Sample.mov
==============================================================================
Binary file. No diff available.

Added: trunk/test/selenium/fixtures/jai.avi
==============================================================================
Binary file. No diff available.

--

You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.


Reply via email to