appCreatePage.waitForApplicationNamePreview();
Assert.assertFalse(appCreatePage.getContent().contains(EMPTY_APP_NAME_ERROR_MESSAGE));
// Clear the application name using the Backspace key.
appCreatePage.getApplicationNameInput().sendKeys(Keys.BACK_SPACE);
appCreatePage.waitForApplicationNameError();
Assert.assertTrue(appCreatePage.getContent().contains(EMPTY_APP_NAME_ERROR_MESSAGE));
// Try to create the application even if the error message is displayed.
appCreatePage.getApplicationNameInput().sendKeys(Keys.RETURN);
Assert.assertTrue(appCreatePage.getContent().contains(EMPTY_APP_NAME_ERROR_MESSAGE));