Package org.seleniuminspector.openfaces

Examples of org.seleniuminspector.openfaces.SidePanelInspector.assertExpressionEquals()


        sidePanel08.splitter().dragAndDrop(0, -100);
        sidePanel08.assertExpressionEquals("offsetHeight", 150);
        sidePanel08.splitter().dragAndDrop(0, -125);
        sidePanel08.assertExpressionEquals("offsetHeight", 250);
        sidePanel08.splitter().dragAndDrop(0, -125);
        sidePanel08.assertExpressionEquals("offsetHeight", 250);
        sidePanel08.splitter().dragAndDrop(0, +5);
        sidePanel08.assertExpressionEquals("offsetHeight", 245);
        sidePanel08.splitter().dragAndDrop(0, +1000);
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().dragAndDrop(0, -43);
View Full Code Here


        sidePanel08.splitter().dragAndDrop(0, -125);
        sidePanel08.assertExpressionEquals("offsetHeight", 250);
        sidePanel08.splitter().dragAndDrop(0, -125);
        sidePanel08.assertExpressionEquals("offsetHeight", 250);
        sidePanel08.splitter().dragAndDrop(0, +5);
        sidePanel08.assertExpressionEquals("offsetHeight", 245);
        sidePanel08.splitter().dragAndDrop(0, +1000);
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().dragAndDrop(0, -43);
        sidePanel08.assertExpressionEquals("offsetHeight", 50);
        sidePanel08.splitter().mouseDown();
View Full Code Here

        sidePanel08.splitter().dragAndDrop(0, -125);
        sidePanel08.assertExpressionEquals("offsetHeight", 250);
        sidePanel08.splitter().dragAndDrop(0, +5);
        sidePanel08.assertExpressionEquals("offsetHeight", 245);
        sidePanel08.splitter().dragAndDrop(0, +1000);
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().dragAndDrop(0, -43);
        sidePanel08.assertExpressionEquals("offsetHeight", 50);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
View Full Code Here

        sidePanel08.splitter().dragAndDrop(0, +5);
        sidePanel08.assertExpressionEquals("offsetHeight", 245);
        sidePanel08.splitter().dragAndDrop(0, +1000);
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().dragAndDrop(0, -43);
        sidePanel08.assertExpressionEquals("offsetHeight", 50);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
View Full Code Here

        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().dragAndDrop(0, -43);
        sidePanel08.assertExpressionEquals("offsetHeight", 50);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        sidePanel08.assertExpressionEquals("offsetHeight", 50);
    }
View Full Code Here

        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        sidePanel08.assertExpressionEquals("offsetHeight", 50);
    }

     @Test
    @Ignore
    public void testEvents() {
View Full Code Here

        /*test offsetHeight/offsetWidth
        * -----------------------------
        * by default size = "50%" i.e. sidePanel.offsetWidth = 100
        * sidePanel.style.height = "100%" i.e. sidePanel.offsetHeight = 200
        */
        sidePanel.assertExpressionEquals("offsetWidth", 100);
        sidePanel.assertExpressionEquals("offsetHeight", 200);

        /*test collapse/restore
        * ---------------------
        * default splitter width/height = "4px", and splitter borders have a "3px" width at sum, so splitter size = "7px"
View Full Code Here

        * -----------------------------
        * by default size = "50%" i.e. sidePanel.offsetWidth = 100
        * sidePanel.style.height = "100%" i.e. sidePanel.offsetHeight = 200
        */
        sidePanel.assertExpressionEquals("offsetWidth", 100);
        sidePanel.assertExpressionEquals("offsetHeight", 200);

        /*test collapse/restore
        * ---------------------
        * default splitter width/height = "4px", and splitter borders have a "3px" width at sum, so splitter size = "7px"
        * after collapse() sidePanel size should be equal to splitter size
View Full Code Here

        * after collapse() sidePanel size should be equal to splitter size
        * after restore() sidePanel size should return to a normal size
        */
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "7px");
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "50%");

        /*test splitter dragging
View Full Code Here

        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "7px");
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "50%");

        /*test splitter dragging
         ----------------------
         by default minSize and maxSize not specified, so it should be equal "7px" and "100%", i.e. 7 and 200
        */
 
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.