On Jun 23, 2010, at 12:40 PM, mflorea (SVN) wrote:
Author: mflorea
Date: 2010-06-23 12:40:12 +0200 (Wed, 23 Jun 2010)
New Revision: 29668
Modified:
enterprise/trunk/distribution-test/wysiwyg-tests/src/test/it/com/xpn/xwiki/it/selenium/EditInlineTest.java
enterprise/trunk/distribution-test/wysiwyg-tests/src/test/it/com/xpn/xwiki/it/selenium/framework/AbstractWysiwygTestCase.java
enterprise/trunk/distribution-test/wysiwyg-tests/src/test/it/com/xpn/xwiki/it/selenium/framework/WysiwygTestSetup.java
Log:
Fixed WYSIWYG Selenium tests due to changes in the class editor.
[snip]
+
+ /**
+ * Clicks the add property button in the class editor.
+ */
+ public void clickEditAddProperty()
+ {
+ getSelenium().click("//input[@value = 'Add']");
+
waitForCondition("(window.document.getElementsByClassName('xnotification-done')[0]
!= null "
+ + "&&
window.document.getElementsByClassName('xnotification-done')[0].innerHTML ==
'Property added')");
+ }
Shouldn't this go in the general framework in selenium-tests? Is there anything
specific to the wysiwyg?
Thanks
-Vincent
[snip]