diff --git a/allure-selenide/build.gradle.kts b/allure-selenide/build.gradle.kts index 0fbff5479..6473dcf2d 100644 --- a/allure-selenide/build.gradle.kts +++ b/allure-selenide/build.gradle.kts @@ -2,7 +2,7 @@ description = "Allure Selenide Integration" val agent: Configuration by configurations.creating -val selenideVersion = "5.8.0" +val selenideVersion = "5.11.0" dependencies { agent("org.aspectj:aspectjweaver") diff --git a/allure-selenide/src/test/java/io/qameta/allure/selenide/AllureSelenideTest.java b/allure-selenide/src/test/java/io/qameta/allure/selenide/AllureSelenideTest.java index 33993679e..4aaabffd7 100644 --- a/allure-selenide/src/test/java/io/qameta/allure/selenide/AllureSelenideTest.java +++ b/allure-selenide/src/test/java/io/qameta/allure/selenide/AllureSelenideTest.java @@ -80,7 +80,7 @@ void shouldLogPassedSteps() { assertThat(selenideStep) .extracting(StepResult::getName, StepResult::getStatus) .containsExactly( - "$(dummy source) dummy method()([param1, param2])", + "$(\"dummy source\") dummy method()([param1, param2])", Status.PASSED ); } @@ -234,7 +234,7 @@ void shouldNotFailIfBrowserIsNotOpened() { final StepResult selenideStep = extractStepFromResults(results); assertThat(selenideStep.getStatus()).isEqualTo(Status.BROKEN); assertThat(selenideStep.getStatusDetails().getMessage()).startsWith("failed to open a browser"); - assertThat(selenideStep.getName()).isEqualTo("$(open) https://some.url"); + assertThat(selenideStep.getName()).isEqualTo("$(\"open\") https://some.url"); assertThat(selenideStep.getStage()).isEqualTo(Stage.FINISHED); assertThat(selenideStep.getAttachments()).hasSize(0); } @@ -304,7 +304,7 @@ void shouldLogFailedSteps() { assertThat(selenideStep) .extracting(StepResult::getName, StepResult::getStatus) .containsExactly( - "$(dummy source) dummy method()([param1, param2])", + "$(\"dummy source\") dummy method()([param1, param2])", Status.BROKEN );