Skip to content

Commit 4e26058

Browse files
committed
bump selenide
1 parent cb807c8 commit 4e26058

4 files changed

Lines changed: 35 additions & 5 deletions

File tree

allure-selenide/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Use this module when your UI tests use Selenide and you want Selenide actions, s
88

99
- Allure Java 3.x requires Java 17 or newer.
1010
- This module targets Selenide 7.x.
11-
- The current build validates against Selenide 7.16.2.
11+
- The current build validates against Selenide 7.17.0.
1212

1313
## Installation
1414

allure-selenide/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
description = "Allure Selenide Integration"
22

3-
val selenideVersion = "7.16.2"
3+
val selenideVersion = "7.17.0"
44

55
dependencies {
66
api(project(":allure-java-commons"))

allure-selenide/src/main/java/io/qameta/allure/selenide/LogType.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public enum LogType {
2929
/**
3030
* This log type pertains to logs from the client.
3131
*/
32-
CLIENT(org.openqa.selenium.logging.LogType.CLIENT),
32+
CLIENT("client"),
3333

3434
/**
3535
* This log pertains to logs from the WebDriver implementation.
@@ -44,12 +44,12 @@ public enum LogType {
4444
/**
4545
* This log type pertains to logs relating to performance timings.
4646
*/
47-
PROFILER(org.openqa.selenium.logging.LogType.PROFILER),
47+
PROFILER("profiler"),
4848

4949
/**
5050
* This log type pertains to logs from the remote server.
5151
*/
52-
SERVER(org.openqa.selenium.logging.LogType.SERVER);
52+
SERVER("server");
5353

5454
private final String logType;
5555

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright 2016-2026 Qameta Software Inc
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package io.qameta.allure.selenide;
17+
18+
import org.junit.jupiter.api.Test;
19+
20+
import static org.assertj.core.api.Assertions.assertThat;
21+
22+
class LogTypeTest {
23+
24+
@Test
25+
void shouldPreserveLegacySeleniumLogTypeNames() {
26+
assertThat(LogType.CLIENT).hasToString("client");
27+
assertThat(LogType.PROFILER).hasToString("profiler");
28+
assertThat(LogType.SERVER).hasToString("server");
29+
}
30+
}

0 commit comments

Comments
 (0)