liveTable.waitUntilReady();
// The column title isn't translated because we haven't generated the document translation bundle.
Assert.assertTrue(liveTable.hasColumn("xwikiusers.livetable.foo"));
// Edit again and remove the deprecated column.
editPage = viewPage.editInline();
Assert.assertTrue(editPage.isDeprecatedLiveTableColumnsWarningDisplayed());
editPage.removeLiveTableColumn("foo");
Assert.assertFalse(editPage.hasLiveTableColumn("foo"));
// The warning must disappear if we remove the deprecated column.
Assert.assertFalse(editPage.isDeprecatedLiveTableColumnsWarningDisplayed());