/** * Creates an application and edits it using the Actions column from the applications live table. */ @Test @IgnoreBrowsers({ @IgnoreBrowser( value = "internet.*", version = "8\\.*", reason = "See http://jira.xwiki.org/browse/XE-1146"), @IgnoreBrowser( value = "internet.*", version = "9\\.*", reason = "See http://jira.xwiki.org/browse/XE-1177") }) public void testEditApplication() { // Create the application. String appName = RandomStringUtils.randomAlphabetic(6); createApplication(appName); // Edit the application. ApplicationsLiveTableElement appsLiveTable = homePage.getAppsLiveTable(); appsLiveTable.waitUntilReady(); ApplicationClassEditPage classEditor = appsLiveTable.clickEditApplication(appName); // Edit the existing class field. ClassFieldEditPane fieldEditPane = new ClassFieldEditPane("shortText1"); fieldEditPane.setPrettyName("City Name"); fieldEditPane.openConfigPanel(); fieldEditPane.setName("cityName"); // Move to the next step. ApplicationHomeEditPage homeEditPage = classEditor.clickNextStep(); homeEditPage.setDescription("demo"); // Finish editing. ApplicationHomePage homePage = homeEditPage.clickFinish(); Assert.assertTrue(homePage.getContent().contains("demo")); }