waitForPageSourceContains(invalidFieldNameErrorMessage);
getDriver().navigate().back();
editor = new ApplicationClassEditPage();
field = editor.addField("User");
field.openConfigPanel();
// Unfortunately we don't allow Unicode letters because they are not fully supported in tag names.
// See XWIKI-7306: The class editor doesn't validate properly the field names
field.setName("\u021Bar\u0103");
// Save the page and expect the error.
editor.getSaveAndViewButton().click();