Package org.xwiki.test.ui.po.editor

Examples of org.xwiki.test.ui.po.editor.UserPicker.moveMouseOver()


        // We should be able to close the list of suggestions using the escape key.
        userPicker.sendKeys("mor").waitForSuggestions().sendKeys(Keys.ESCAPE).waitForSuggestionsToFadeOut();

        // The list of suggestions should close itself after a while.
        userPicker.moveMouseOver().sendKeys(Keys.BACK_SPACE).waitForSuggestions().waitForSuggestionsToDisappear();

        // The list of suggestions should stay open if the mouse is over it.
        userPicker.sendKeys(Keys.BACK_SPACE).waitForSuggestions().getSuggestions().get(0).moveMouseOver();
        try {
            userPicker.waitForSuggestionsToDisappear();
View Full Code Here


            Assert.fail();
        } catch (Exception e) {
        }

        // .. and the list of suggestions should fade out when the mouse is moved out.
        userPicker.moveMouseOver().waitForSuggestionsToFadeOut();
    }

    /**
     * Asserts the given user matches the expectations.
     *
 
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.