String currentURL = getDriver().getCurrentUrl();
createPage.clickCreate();
// make sure that we stay on the same page and that an error is displayed to the user. Maybe we should check the
// error
Assert.assertEquals(currentURL, getDriver().getCurrentUrl());
createPage.waitForErrorMessage();
// 2/ create a page from template that already exists
// restart everything to make sure it's not the error before
homePage.gotoPage();
createPage = homePage.createPage();