Stefane Fermigier wrote:
> Dragos Ivan wrote:
>
>>Sylvain DEFROMONT wrote:
>>
>>
>>>Hi,
>>>
>>>I've installed the last full-bundle of CPS under a FC3 and Zope 2.9
>>>server. I've
>>>created a CPSDefault site. All ok but when I've created a new section
>>>or a new
>>>workspace, the default view don't show it. I must select the action
>>>'gérer le
>>>contenu' to see them. Very strange ? Must I change the configuration
>>>of the
>>>'content well portlet' or ...
>>Are you sure you didn't checked the "Cacher ce répertoire dans la
>>navigation" option?
>
>
> Now it seems to work for me (on the svn trunk).
>
> Not sure if it is an Heisenbug.
>
> I will write a Selenium testcase to play with the Selenium Recorder as
> described in
> http://agiletesting.blogspot.com/2006/01/useful-tools-for-writing-selenium.html
All seems to work correctly, using either trunk or the beta1.
Here is the Selenium script created and then replayed using the Selenium
Recorder mentionned above.
S.
--
Stéfane Fermigier, Tel: +33 (0)6 63 04 12 77 (mobile).
Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
Gestion de contenu web / portail collaboratif / groupware / open source!
Title: testcpsbug
| testcpsbug |
| open |
/manage_main |
|
| clickAndWait |
link=Contents |
|
| selectAndWait |
:action |
label=CPSDefault Site |
| type |
password |
manager |
| type |
password_confirm |
manager |
| type |
manager_email |
[EMAIL PROTECTED] |
| clickAndWait |
//[EMAIL PROTECTED]'submit' and @value='Add'] |
|
| open |
/cps |
|
| clickAndWait |
//a[contains(text(),'Espaces de publication')] |
|
| clickAndWait |
//a[contains(text(),'Nouveau')] |
|
| type |
title |
subsection |
| clickAndWait |
//[EMAIL PROTECTED]'submit' and @value='Ajouter'] |
|
| clickAndWait |
//[EMAIL PROTECTED]'submit' and @value='Créer'] |
|
| clickAndWait |
//a[contains(text(),'Espaces de publication')] |
|
| verifyTextPresent |
subsection |
|
| clickAndWait |
//a[contains(text(),'Espaces de travail')] |
|
| clickAndWait |
//a[contains(text(),'Nouveau')] |
|
| click |
//[EMAIL PROTECTED]'type_name' and @value='News Item'] |
|
| type |
title |
new news |
| clickAndWait |
//[EMAIL PROTECTED]'submit' and @value='Ajouter'] |
|
| clickAndWait |
//[EMAIL PROTECTED]'submit' and @value='Créer'] |
|
| clickAndWait |
//a[contains(text(),'Soumettre')] |
|
| click |
//[EMAIL PROTECTED]'publish' and @value='sections/subsection'] |
|
| clickAndWait |
//[EMAIL PROTECTED]'submit' and @value='Soumettre à publication'] |
|
| clickAndWait |
//a[contains(text(),'subsection')] |
|
| verifyTextPresent |
new news |
|
| clickAndWait |
//[EMAIL PROTECTED]"http://localhost:8080/cps/sections/subsection/new-news/"] |
|
| verifyTitle |
CPS Site: new news |
|
| clickAndWait |
//a[img/@alt='Nuxeo CPS'] |
|
| open |
/manage_main |
|
| clickAndWait |
link=Contents |
|
| click |
//[EMAIL PROTECTED]'ids:list' and @value='cps'] |
|
| clickAndWait |
//[EMAIL PROTECTED]'submit' and @value='Delete'] |
|
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel