String existingSpace = this.getClass().getSimpleName() + ((int) (Math.random() * 1000));
getUtil().createPage(existingSpace, "WebHome", "{{spaceindex /}}", "New random space");
// 1/ create an empty page that already exists
HomePage homePage = new HomePage();
homePage.gotoPage();
CreatePagePage createPage = homePage.createPage();
createPage.setSpace(space);
createPage.setPage(existingPageName);
String currentURL = getDriver().getCurrentUrl();
createPage.clickCreate();