// check 'es' locale
localeChanger.setTabIndex(1, ServerLoadingMode.getInstance());
testAppFunctionalPage("/components/loadbundle/withTabbedPane.jsf"); // issue a GET request for view to update locale in JSP
tabbedPane.setPageIndex(0, OpenFacesAjaxLoadingMode.getInstance());
tabSet.tabs().get(0).assertText(TODAY_ES);
secondTab.assertText(WEEK_ES);
tabbedPane.contentPanes().get(0).assertText(WEEK_ES);
tabbedPane.setPageIndex(1);
OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
tabbedPane.contentPanes().get(1).assertText(TODAY_ES);