Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

Update dependencies as far as possible #165

Closed occupant23 closed 3 months ago

occupant23 commented 3 years ago

Updated: Allure Cucumber Selenide BrowserUp log4j jsonPath

occupant23 commented 3 years ago

Selenide deprecates the waitUntil / waitWhile functions. Future test cases with the need for a special waiting time should use. should(Condition, Duration). Therefore we need to adjust the example project accordingly.

oomelianchuk commented 3 years ago

In case we want to update both allure and cucumber dependencies without having a version conflict, we can use this instructions to do so. In this case, the allure-cucumber dependency would look like the following:

        <dependency>
            <groupId>io.qameta.allure</groupId>
            <artifactId>allure-cucumber6-jvm</artifactId>
            <version>${allure.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>io.cucumber</groupId>
                    <artifactId>cucumber-junit</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.cucumber</groupId>
                    <artifactId>cucumber-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.cucumber</groupId>
                    <artifactId>messages</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.cucumber</groupId>
                    <artifactId>create-meta</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.cucumber</groupId>
                    <artifactId>allure-cucumber6-jvm</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.cucumber</groupId>
                    <artifactId>gherkin</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
wurzelkuchen commented 5 months ago

We should do this upfront the next big release. Also as a general note there are already new Selenide Updates, which unfortunately removed some deprecated classes.