Search in sources :

Example 11 with ClassEditPage

use of org.xwiki.test.ui.po.editor.ClassEditPage in project xwiki-platform by xwiki.

the class EditClassTest method addInvalidProperty.

@Test
public void addInvalidProperty() {
    ClassEditPage cep = getUtil().editClass("Test", "EditObjectsTestClass");
    cep.addPropertyWithoutWaiting("a<b c", "String");
    cep.waitForNotificationErrorMessage("Failed: Property names must follow these naming rules:");
}
Also used : ClassEditPage(org.xwiki.test.ui.po.editor.ClassEditPage) Test(org.junit.Test)

Aggregations

ClassEditPage (org.xwiki.test.ui.po.editor.ClassEditPage)11 Test (org.junit.Test)10 ObjectEditPage (org.xwiki.test.ui.po.editor.ObjectEditPage)9 FormElement (org.xwiki.test.ui.po.FormElement)7 ViewPage (org.xwiki.test.ui.po.ViewPage)7 IgnoreBrowser (org.xwiki.test.ui.browser.IgnoreBrowser)5 WikiEditPage (org.xwiki.test.ui.po.editor.WikiEditPage)5 InlinePage (org.xwiki.test.ui.po.InlinePage)2 ObjectEditPane (org.xwiki.test.ui.po.editor.ObjectEditPane)2 StaticListClassEditElement (org.xwiki.test.ui.po.editor.StaticListClassEditElement)2 HashMap (java.util.HashMap)1 Before (org.junit.Before)1 LocalDocumentReference (org.xwiki.model.reference.LocalDocumentReference)1 AddTagsPane (org.xwiki.tag.test.po.AddTagsPane)1 TaggablePage (org.xwiki.tag.test.po.TaggablePage)1 AbstractTest (org.xwiki.test.ui.AbstractTest)1 IgnoreBrowsers (org.xwiki.test.ui.browser.IgnoreBrowsers)1 AttachmentsPane (org.xwiki.test.ui.po.AttachmentsPane)1 CommentsTab (org.xwiki.test.ui.po.CommentsTab)1 PreviewEditPage (org.xwiki.test.ui.po.editor.PreviewEditPage)1