Author: evelyn
Date: Wed Oct 21 15:51:43 2009
New Revision: 3790

Log:
added test suite for some basic acl functions

Added:
   trunk/test/selenium/acl/
   trunk/test/selenium/acl/acl_create_admin.html
   trunk/test/selenium/acl/acl_create_user.html
   trunk/test/selenium/acl/acl_delete.html
   trunk/test/selenium/acl/acl_import.html
   trunk/test/selenium/acl/acl_import_1.xml
   trunk/test/selenium/acl/acl_import_2.xml
   trunk/test/selenium/acl/acl_permission_delete.html
   trunk/test/selenium/acl/acl_permission_edit.html
   trunk/test/selenium/aclSuite.html

Added: trunk/test/selenium/acl/acl_create_admin.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/acl/acl_create_admin.html       Wed Oct 21 15:51:43 
2009        (r3790)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case";>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>acl_create_admin</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">acl_create_admin</td></tr>
+</thead><tbody>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Admin</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=add new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>username</td>
+       <td>administrator</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>email</td>
+       <td>[email protected]</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>confirmPassword</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=groups and permissions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>typeAndWait</td>
+       <td>//fields...@id='groupsAndPermissions']/div/div/input[2]</td>
+       <td>administrator</td>
+</tr>
+<tr>
+       <td>click</td>
+       
<td>//fields...@id='groupsAndPermissions']/div/div/div/div/div[2]/ul/li[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Create']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log out</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_email</td>
+       <td>[email protected]</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='log in']</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: trunk/test/selenium/acl/acl_create_user.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/acl/acl_create_user.html        Wed Oct 21 15:51:43 
2009        (r3790)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case";>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>acl_create_user</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">acl_create_user</td></tr>
+</thead><tbody>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Admin</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=add new</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>username</td>
+       <td>Hilary Jenkinson</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>email</td>
+       <td>[email protected]</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>password</td>
+       <td>hilary</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>confirmPassword</td>
+       <td>hilary</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=groups and permissions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>typeAndWait</td>
+       <td>//fields...@id='groupsAndPermissions']/div/div/input[2]</td>
+       <td>editor</td>
+</tr>
+<tr>
+       <td>click</td>
+       
<td>//fields...@id='groupsAndPermissions']/div/div/div/div/div[2]/ul/li[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Create']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyElementPresent</td>
+       <td>link=Hilary Jenkinson profile</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyTextPresent</td>
+       <td>user name</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyTextPresent</td>
+       <td>email</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyTextPresent</td>
+       <td>user groups</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyTextPresent</td>
+       <td>editor</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: trunk/test/selenium/acl/acl_delete.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/acl/acl_delete.html     Wed Oct 21 15:51:43 2009        
(r3790)
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case";>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>acl_delete.html</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">acl_delete.html</td></tr>
+</thead><tbody>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Add/edit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//d...@id='header-bottom']/div[2]/ul/li[1]/ul/li[2]/a</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Homer Simpson</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Confirm']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Mr. Bean</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Confirm']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//d...@id='header-bottom']/div[2]/ul/li[1]/ul/li[3]/a</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Archives of the European Union</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Confirm']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Archives of the Fraser Valley</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Confirm']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//d...@id='header-bottom']/div[2]/ul/li[1]/ul/li[1]/a</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Simpson fonds</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Confirm']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=fonds for import</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Confirm']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Admin</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Hilary Jenkinson</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>are you sure?</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=administrator</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertConfirmation</td>
+       <td>are you sure?</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: trunk/test/selenium/acl/acl_import.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/acl/acl_import.html     Wed Oct 21 15:51:43 2009        
(r3790)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case";>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>acl_import.html</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">acl_import.html</td></tr>
+</thead><tbody>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Import</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>file</td>
+       <td>/var/www/qubit/test/selenium/acl/acl_import_1.xml</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='import']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=view information objects</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Import</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>file</td>
+       <td>/var/www/qubit/test/selenium/acl/acl_import_2.xml</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='import']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=view information objects</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: trunk/test/selenium/acl/acl_import_1.xml
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/acl/acl_import_1.xml    Wed Oct 21 15:51:43 2009        
(r3790)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival 
Description (EAD) Version 2002)//EN" 
"http://lcweb2.loc.gov/xmlcommon/dtds/ead2002/ead.dtd";>
+<ead>
+
+<eadheader langencoding="iso639-2b" countryencoding="iso3166-1" 
dateencoding="iso8601" repositoryencoding="iso15511" scriptencoding="iso15924" 
relatedencoding="DC">
+
+<eadid countrycode="BM" mainagencycode="BM-AEU" 
url="http://localhost/~evelyn/qubit/web/informationobject/show/ead/548?sf_format=xml";
 encodinganalog="Identifier">548</eadid>
+
+<filedesc>
+  <titlestmt>
+        <titleproper encodinganalog="Title">Simpson fonds</titleproper>      
</titlestmt>
+      <publicationstmt>
+    <publisher encodinganalog="Publisher">Archives of the European 
Union</publisher>
+     
+    <address>
+            
+      <addressline>1234 Sunshine Road</addressline>            
+      <addressline>Sunshine</addressline>            
+      <addressline>BC</addressline>            
+      <addressline>Bermuda</addressline>            
+      <addressline>X0X 0X0</addressline>            
+      <addressline>telephone: 604-123-4567</addressline>            
+      <addressline>fax: 604-234-5678</addressline>            
+      <addressline>email: [email protected]</addressline>            
+      <addressline>www.sunshine.ca</addressline>    </address>    <date 
normal="2009-10-21" encodinganalog="Date">2009-10-21</date>
+  </publicationstmt></filedesc>
+
+<profiledesc>
+  <creation>Generated by Qubit 1.0.8    <date normal="2009-10-21">2009-10-21 
17:23:UTC</date>
+  </creation>
+  <langusage>
+        <language langcode="eng" encodinganalog="Language">English</language>
+  </langusage>
+  </profiledesc>
+</eadheader>
+
+<frontmatter/>
+
+<archdesc level="fonds" relatedencoding="ISAD(G)v2">
+  <did>
+    <unittitle encodinganalog="3.1.2">Simpson fonds</unittitle>  <unitid 
repositorycode="AEU" countrycode="BM" encodinganalog="3.1.1">BM AEU 
022</unitid>   
+  <unitdate datechar="creation" normal="1922/1964" encodinganalog="3.1.3">1922 
- 1964</unitdate>    <origination encodinganalog="3.2.1">
+                    <persname>Homer Simpson</persname>                    
</origination>    <physdesc><extent encodinganalog="3.1.5">Extent and medium 
field</extent></physdesc>    <repository>
+    <corpname>Archives of the European Union</corpname>
+     
+    <address>
+            
+      <addressline>1234 Sunshine Road</addressline>            
+      <addressline>Sunshine</addressline>            
+      <addressline>BC</addressline>            
+      <addressline>Bermuda</addressline>            
+      <addressline>X0X 0X0</addressline>            
+      <addressline>telephone: 604-123-4567</addressline>            
+      <addressline>fax: 604-234-5678</addressline>            
+      <addressline>email: [email protected]</addressline>            
+      <addressline>www.sunshine.ca</addressline>    </address>  </repository>  
  <note type="General note" encodinganalog="3.6.1"><p>Notes field</p></note>  
</did>
+        <bioghist encodinganalog="3.2.2"><p>History field</p></bioghist>    
<scopecontent encodinganalog="3.3.1"><p>Scope and content 
field</p></scopecontent>    
+  <arrangement encodinganalog="3.3.4"><p>System of arrangement 
field</p></arrangement>    <controlaccess>
+          <persname role="Creator">Homer Simpson</persname>
+               </controlaccess>
+      <phystech encodinganalog="3.4.3"><p>Physical characteristics and 
technical requirements field</p></phystech>    <appraisal 
encodinganalog="3.3.2"><p>Appraisal, destruction and scheduling 
filed</p></appraisal>    <acqinfo encodinganalog="3.2.4"><p>Immediate source of 
acquisition field</p></acqinfo>    <accruals encodinganalog="3.3.3"><p>Accruals 
field</p></accruals>    <custodhist encodinganalog="3.2.3"><p>Archival history 
field</p></custodhist>      <originalsloc encodinganalog="3.5.1"><p>Existence 
and location of originals field</p></originalsloc>    <altformavail 
encodinganalog="3.5.2"><p>Existence and location of copies 
field</p></altformavail>    <relatedmaterial encodinganalog="3.5.3"><p>Related 
units of description field</p></relatedmaterial>    <accessrestrict 
encodinganalog="3.4.1"><p>Conditions governing access 
field</p></accessrestrict>  
+    <userestrict encodinganalog="3.4.2"><p>conditions governing reproduction 
field</p></userestrict>    <otherfindaid encodinganalog="3.4.5"><p>Finding aids 
field</p></otherfindaid>  <bibliography encodinganalog="3.5.4"><p>Publication 
notes field</p></bibliography>
+    <dsc type="combined">
+  </dsc>
+</archdesc>
+</ead>
\ No newline at end of file

Added: trunk/test/selenium/acl/acl_import_2.xml
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/acl/acl_import_2.xml    Wed Oct 21 15:51:43 2009        
(r3790)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival 
Description (EAD) Version 2002)//EN" "ead.dtd">
+<ead>
+
+<eadheader langencoding="iso639-2b" countryencoding="iso3166-1" 
dateencoding="iso8601" repositoryencoding="iso15511" scriptencoding="iso15924" 
relatedencoding="DC">
+
+<eadid countrycode="CA" mainagencycode="CA-AFV" 
url="http://localhost/~evelyn/qubit/web/informationobject/show/ead/364?sf_format=xml";
 encodinganalog="Identifier">364</eadid>
+
+<filedesc>
+  <titlestmt>
+        <titleproper encodinganalog="Title">fonds for import</titleproper>     
 </titlestmt>
+      <publicationstmt>
+    <publisher encodinganalog="Publisher">Archives of the Fraser 
Valley</publisher>
+     
+    <address>
+            
+      <addressline>1234 Sunshine Road</addressline>            
+      <addressline>Sunshine</addressline>            
+      <addressline>BC</addressline>            
+      <addressline>Canada</addressline>            
+      <addressline>X0X 0X0</addressline>            
+      <addressline>telephone: 604-123-4567</addressline>            
+      <addressline>fax: 604-234-5678</addressline>            
+      <addressline>email: [email protected]</addressline>            
+      <addressline>www.sunshine.ca</addressline>    </address>    <date 
normal="2009-10-01" encodinganalog="Date">2009-10-01</date>
+  </publicationstmt></filedesc>
+
+<profiledesc>
+  <creation>Generated by Qubit 1.0.8    <date normal="2009-10-01">2009-10-01 
21:28:UTC</date>
+  </creation>
+  <langusage>
+        <language langcode="eng" encodinganalog="Language">English</language>
+  </langusage>
+  </profiledesc>
+</eadheader>
+
+<frontmatter/>
+
+<archdesc level="fonds" relatedencoding="ISAD(G)v2">
+  <did>
+    <unittitle encodinganalog="3.1.2">fonds for import</unittitle>     
+  <unitdate datechar="creation" normal="1922/1964" encodinganalog="3.1.3">1922 
- 1964</unitdate>    <origination encodinganalog="3.2.1">
+                    <persname>Mr. Bean</persname>                    
</origination>      <repository>
+    <corpname>Archives of the Fraser Valley</corpname>
+     
+    <address>
+            
+      <addressline>1234 Sunshine Road</addressline>            
+      <addressline>Sunshine</addressline>            
+      <addressline>BC</addressline>            
+      <addressline>Canada</addressline>            
+      <addressline>X0X 0X0</addressline>            
+      <addressline>telephone: 604-123-4567</addressline>            
+      <addressline>fax: 604-234-5678</addressline>            
+      <addressline>email: [email protected]</addressline>            
+      <addressline>www.sunshine.ca</addressline>    </address>  </repository>  
    </did>
+        <bioghist encodinganalog="3.2.2"><p>History field</p></bioghist>       
 <controlaccess>
+          <persname role="Creator">Mr. Bean</persname>
+               </controlaccess>
+                        
+      
+    <dsc type="combined">
+  </dsc>
+</archdesc>
+</ead>
\ No newline at end of file

Added: trunk/test/selenium/acl/acl_permission_delete.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/acl/acl_permission_delete.html  Wed Oct 21 15:51:43 
2009        (r3790)
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case";>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>acl_permission_delete.html</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">acl_permission_delete.html</td></tr>
+</thead><tbody>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Admin</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Hilary Jenkinson</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Edit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=groups and permissions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>permission_new_actionId</td>
+       <td>label=delete</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>permission_new_grantDeny_0</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Save']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Edit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=groups and permissions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>permission_new_actionId</td>
+       <td>label=delete</td>
+</tr>
+<tr>
+       <td>typeAndWait</td>
+       <td>newRepository</td>
+       <td>Archives of the Fraser Valley</td>
+</tr>
+<tr>
+       <td>click</td>
+       
<td>//fields...@id='groupsAndPermissions']/div/table[2]/tbody/tr/td[3]/div/div/div/div[2]/ul/li[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Save']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log out</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_email</td>
+       <td>[email protected]</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_password</td>
+       <td>hilary</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='log in']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Add/edit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=fonds for import</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyElementPresent</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//d...@id='header-bottom']/div[2]/ul/li[1]/ul/li[1]/a</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Simpson fonds</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyElementNotPresent</td>
+       <td>link=Delete</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log out</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_email</td>
+       <td>[email protected]</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='log in']</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: trunk/test/selenium/acl/acl_permission_edit.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/acl/acl_permission_edit.html    Wed Oct 21 15:51:43 
2009        (r3790)
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case";>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>acl_permission_edit.html</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">acl_permission_edit.html</td></tr>
+</thead><tbody>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Admin</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Hilary Jenkinson</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Edit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=groups and permissions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>permission_new_actionId</td>
+       <td>label=update</td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>permission_new_grantDeny_0</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Save']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Edit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=groups and permissions</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>permission_new_actionId</td>
+       <td>label=update</td>
+</tr>
+<tr>
+       <td>typeAndWait</td>
+       <td>newRepository</td>
+       <td>Archives of the Fraser Valley</td>
+</tr>
+<tr>
+       <td>click</td>
+       
<td>//fields...@id='groupsAndPermissions']/div/table[2]/tbody/tr/td[3]/div/div/div/div[2]/ul/li[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='Save']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log out</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_email</td>
+       <td>[email protected]</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_password</td>
+       <td>hilary</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='log in']</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyTextNotPresent</td>
+       <td>admin</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Add/edit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=fonds for import</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyElementPresent</td>
+       <td>link=Edit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//d...@id='header-bottom']/div[2]/ul/li[1]/ul/li[1]/a</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>link=Simpson fonds</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyElementNotPresent</td>
+       <td>link=Edit</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log out</td>
+       <td></td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>link=Log in</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_email</td>
+       <td>[email protected]</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>login_password</td>
+       <td>admin</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>//inp...@value='log in']</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: trunk/test/selenium/aclSuite.html
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/test/selenium/aclSuite.html   Wed Oct 21 15:51:43 2009        (r3790)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head>
+  <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
+  <title>dc</title>
+</head>
+<body>
+<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" 
class="selenium"><tbody>
+<tr><td><b>dc</b></td></tr>
+<tr><td><a href="acl/acl_import.html">acl_import.html</a></td></tr>
+<tr><td><a href="acl/acl_create_admin.html">acl_create_admin.html</a></td></tr>
+<tr><td><a href="acl/acl_create_user.html">acl_create_user.html</a></td></tr>
+<tr><td><a 
href="acl/acl_permission_edit.html">acl_permission_edit.html</a></td></tr>
+<tr><td><a 
href="acl/acl_permission_delete.html">acl_permission_delete.html</a></td></tr>
+<tr><td><a href="acl/acl_delete.html">acl_delete.html</a></td></tr>
+</tbody></table>
+</body>
+</html>:if expand("%") == ""|browse confirm w|else|confirm w|endif
+

--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to