// todo: works locally, but investigate why it fails on the server
public void testDateChooserTabSetValidation() {
liveDemoPage("/datechooser/DateChooser.jsf");
TabSetInspector localeSelector = tabSet("dcForm:localeSelector");
assertEquals(0, localeSelector.getTabIndex());
localeSelector.tabs().get(1).click();
waitForPageToLoad();
assertEquals(1, localeSelector.getTabIndex());
localeSelector.tabs().get(2).click();
waitForPageToLoad();
assertEquals(2, localeSelector.getTabIndex());