use of org.xwiki.appwithinminutes.test.po.LongTextClassFieldEditPane in project xwiki-platform by xwiki.
the class ClassEditorTest method testApplyConfigurationChanges.
/**
* Tests that the field display is updated when the configuration panel is closed.
*/
@Test
@IgnoreBrowsers({ @IgnoreBrowser(value = "internet.*", version = "8\\.*", reason = "See https://jira.xwiki.org/browse/XE-1146"), @IgnoreBrowser(value = "internet.*", version = "9\\.*", reason = "See https://jira.xwiki.org/browse/XE-1177") })
public void testApplyConfigurationChanges() {
LongTextClassFieldEditPane longTextField = new LongTextClassFieldEditPane(editor.addField("Long Text").getName());
longTextField.openConfigPanel();
longTextField.setRows(3);
longTextField.setEditor("Text");
longTextField.closeConfigPanel();
Assert.assertEquals(3, longTextField.getPreviewRows());
}
Aggregations