protected void loadingComponents()

in src/main/java/platform/qa/base/BasePage.java [79:91]


    protected void loadingComponents() {
        wait.withTimeout(Duration.ofSeconds(LOADER_WAIT_TIMEOUT)).withMessage("Component Loader still exist!")
                .until((ExpectedCondition<Boolean>) driver -> {
                    boolean isDisappeared;
                    try {
                        isDisappeared = componentLoader.getCssValue("display").equals("none");
                    } catch (WebDriverException exception) {
                        isDisappeared = true;
                    }
                    return isDisappeared;
                });
        this.wait = getDefaultWebDriverWait();
    }