Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion allure-selenide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Use this module when your UI tests use Selenide and you want Selenide actions, s

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

## Installation

Expand Down
2 changes: 1 addition & 1 deletion allure-selenide/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description = "Allure Selenide Integration"

val selenideVersion = "7.16.2"
val selenideVersion = "7.17.0"

dependencies {
api(project(":allure-java-commons"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public enum LogType {
/**
* This log type pertains to logs from the client.
*/
CLIENT(org.openqa.selenium.logging.LogType.CLIENT),
CLIENT("client"),

/**
* This log pertains to logs from the WebDriver implementation.
Expand All @@ -44,12 +44,12 @@ public enum LogType {
/**
* This log type pertains to logs relating to performance timings.
*/
PROFILER(org.openqa.selenium.logging.LogType.PROFILER),
PROFILER("profiler"),

/**
* This log type pertains to logs from the remote server.
*/
SERVER(org.openqa.selenium.logging.LogType.SERVER);
SERVER("server");

private final String logType;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Copyright 2016-2026 Qameta Software Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.qameta.allure.selenide;

import org.junit.jupiter.api.Test;

import static org.assertj.core.api.Assertions.assertThat;

class LogTypeTest {

@Test
void shouldPreserveLegacySeleniumLogTypeNames() {
assertThat(LogType.CLIENT).hasToString("client");
assertThat(LogType.PROFILER).hasToString("profiler");
assertThat(LogType.SERVER).hasToString("server");
}
}