Examples of WaitingWrapperImpl


Examples of org.richfaces.fragment.common.WaitingWrapperImpl

                }
            }.withMessage("Waiting for CST to collapse").withTimeout(getTimeoutForTableToCollapse(), TimeUnit.MILLISECONDS);
        }

        public WaitingWrapper waitUntilTableExpands() {
            return new WaitingWrapperImpl() {
                @Override
                protected void performWait(FluentWait<WebDriver, Void> wait) {
                    wait.until(new Predicate<WebDriver>() {
                        @Override
                        public boolean apply(WebDriver input) {
View Full Code Here

Examples of org.richfaces.fragment.common.WaitingWrapperImpl

        }
        getTodayButtonElement().click();
    }

    public WaitingWrapper waitUntilIsNotVisible() {
        return new WaitingWrapperImpl() {
            @Override
            protected void performWait(FluentWait<WebDriver, Void> wait) {
                wait.until().element(getRoot()).is().not().visible();
            }
        }.withMessage("Footer controls to be not visible.");
View Full Code Here

Examples of org.richfaces.fragment.common.WaitingWrapperImpl

            }
        }.withMessage("Footer controls to be not visible.");
    }

    public WaitingWrapper waitUntilIsVisible() {
        return new WaitingWrapperImpl() {
            @Override
            protected void performWait(FluentWait<WebDriver, Void> wait) {
                wait.until().element(getRoot()).is().visible();
            }
        }.withMessage("Footer controls to be visible.");
View Full Code Here

Examples of org.richfaces.fragment.common.WaitingWrapperImpl

    public long getTimeoutForPopupToBeVisible() {
        return _timeoutPopupToBeVisible == - 1 ? Utils.getWaitAjaxDefaultTimeout(browser) : _timeoutPopupToBeVisible;
    }

    public WaitingWrapper waitUntilIsNotVisible() {
        return new WaitingWrapperImpl() {
            @Override
            protected void performWait(FluentWait<WebDriver, Void> wait) {
                wait.withTimeout(getTimeoutForPopupToBeNotVisible(), TimeUnit.MILLISECONDS).until(new Predicate<WebDriver>() {
                    @Override
                    public boolean apply(WebDriver input) {
View Full Code Here

Examples of org.richfaces.fragment.common.WaitingWrapperImpl

            }
        };
    }

    public WaitingWrapper waitUntilIsVisible() {
        return new WaitingWrapperImpl() {

            @Override
            protected void performWait(FluentWait<WebDriver, Void> wait) {
                wait.withTimeout(getTimeoutForPopupToBeVisible(), TimeUnit.MILLISECONDS).until(new Predicate<WebDriver>() {
                    @Override
View Full Code Here

Examples of org.richfaces.fragment.common.WaitingWrapperImpl

            return Utils.isVisible(getRootElement()) && !getItems().isEmpty();
        }

        @Override
        public WaitingWrapper waitUntilMessagesAreNotVisible() {
            return new WaitingWrapperImpl() {

                @Override
                protected void performWait(FluentWait<WebDriver, Void> wait) {
                    wait.until(new Predicate<WebDriver>() {
View Full Code Here

Examples of org.richfaces.fragment.common.WaitingWrapperImpl

            }.withMessage("Waiting for message to be not visible.");
        }

        @Override
        public WaitingWrapper waitUntilMessagesAreVisible() {
            return new WaitingWrapperImpl() {

                @Override
                protected void performWait(FluentWait<WebDriver, Void> wait) {
                    wait.until(new Predicate<WebDriver>() {
View Full Code Here

Examples of org.richfaces.fragment.common.WaitingWrapperImpl

        public boolean isSaveOnSelect() {
            return saveOnSelect;
        }

        public WaitingWrapper waitForPopupToHide() {
            return new WaitingWrapperImpl() {

                @Override
                protected void performWait(FluentWait<WebDriver, Void> wait) {
                    wait.until().element(getLocalList()).is().present();
                    wait.until().element(getGlobalList()).is().not().visible();
View Full Code Here

Examples of org.richfaces.fragment.common.WaitingWrapperImpl

            }.withMessage("Waiting for popup to hide.")
                .withTimeout(getTimeoutForPopupToHide(), TimeUnit.MILLISECONDS);
        }

        public WaitingWrapper waitForPopupToShow() {
            return new WaitingWrapperImpl() {

                @Override
                protected void performWait(FluentWait<WebDriver, Void> wait) {
                    wait.until().element(getGlobalList()).is().visible();
                }
View Full Code Here

Examples of org.richfaces.fragment.common.WaitingWrapperImpl

    public long getTimeoutForTimeEditorToBeVisible() {
        return _timeoutForTimeEditorToBeVisible == -1 ? Utils.getWaitAjaxDefaultTimeout(browser) : _timeoutForTimeEditorToBeVisible;
    }

    public WaitingWrapper waitUntilIsNotVisible() {
        return new WaitingWrapperImpl() {
            @Override
            protected void performWait(FluentWait<WebDriver, Void> wait) {
                wait.until().element(getRootElement()).is().not().visible();
            }
        }.withMessage("Time editor to be not visible.").withTimeout(getTimeoutForTimeEditorToBeNotVisible(), TimeUnit.MILLISECONDS);
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.