Package org.seleniuminspector.openfaces

Examples of org.seleniuminspector.openfaces.FoldingPanelInspector.content()


        // check 'ar' locale
        foldingPanel.caption().assertText(TODAY_AR);
        foldingPanel.setExpanded(true);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        foldingPanel.content().assertText(TODAY_AR + WEEK_AR);

        TabSetInspector localeChanger = tabSet("formID:localeChanger");

        // check 'es' locale
        localeChanger.tabs().get(1).clickAndWait();
View Full Code Here


        localeChanger.tabs().get(1).clickAndWait();
        testAppFunctionalPage("/components/loadbundle/withFoldingPanel.jsf"); // issue a GET request for view to update locale in JSP
        foldingPanel.caption().assertText(TODAY_ES);
        foldingPanel.setExpanded(true);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        foldingPanel.content().assertText(TODAY_ES + WEEK_ES);

        // check 'ja' locale
        localeChanger.tabs().get(2).clickAndWait();
        testAppFunctionalPage("/components/loadbundle/withFoldingPanel.jsf"); // issue a GET request for view to update locale in JSP
        foldingPanel.caption().assertText(TODAY_JA);
View Full Code Here

        localeChanger.tabs().get(2).clickAndWait();
        testAppFunctionalPage("/components/loadbundle/withFoldingPanel.jsf"); // issue a GET request for view to update locale in JSP
        foldingPanel.caption().assertText(TODAY_JA);
        foldingPanel.setExpanded(true);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        foldingPanel.content().assertText(TODAY_JA + WEEK_JA);

        // check 'ru' locale
        localeChanger.tabs().get(3).clickAndWait();
        testAppFunctionalPage("/components/loadbundle/withFoldingPanel.jsf"); // issue a GET request for view to update locale in JSP
        foldingPanel.caption().assertText(TODAY_RU);
View Full Code Here

        localeChanger.tabs().get(3).clickAndWait();
        testAppFunctionalPage("/components/loadbundle/withFoldingPanel.jsf"); // issue a GET request for view to update locale in JSP
        foldingPanel.caption().assertText(TODAY_RU);
        foldingPanel.setExpanded(true);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        foldingPanel.content().assertText(TODAY_RU + WEEK_RU);

        // reset tab index for further running tests
        localeChanger.tabs().get(0).clickAndWait();
    }
View Full Code Here

        toggle.click();
        toggle.mouseOut();
        foldingPanel.mouseMove();
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();

        foldingPanel.content().assertStyle("background: LightYellow; color: red; border: 2px solid springgreen;");

        toggleImage.assertAttributeStartsWith("src", "expanded.gif");

        //todo: uncomment it if 'JSFC-3294' in 'fixed' state
/*
 
View Full Code Here

        testAppFunctionalPage("/components/foldingpanel/foldingPanelIn.jsf");

        foldingPanel("fn:foldingPanel_FoldingPanel").toggle().clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        FoldingPanelInspector foldingPanel = foldingPanel("fn:insiderFoldingPanel");
        foldingPanel.caption().assertElementExists();
        foldingPanel.content().assertVisible(false);

        foldingPanel.toggle().clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        foldingPanel.caption().assertElementExists();
        foldingPanel.content().assertVisible(true);
    }
View Full Code Here

        foldingPanel.caption().assertElementExists();
        foldingPanel.content().assertVisible(false);

        foldingPanel.toggle().clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        foldingPanel.caption().assertElementExists();
        foldingPanel.content().assertVisible(true);
    }

     @Test
    public void testHintLabelInside() throws InterruptedException {
        testAppFunctionalPage("/components/foldingpanel/hintLabelIn.jsf");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.