From a483832da1ee236fd7b215a179629ec7919c3d2d Mon Sep 17 00:00:00 2001 From: Noam Date: Mon, 13 Nov 2023 16:29:47 +0200 Subject: [PATCH 1/2] Changed report.extra to report.extras. --- src/pytest_selenium/pytest_selenium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pytest_selenium/pytest_selenium.py b/src/pytest_selenium/pytest_selenium.py index b013dc5..dfa248e 100644 --- a/src/pytest_selenium/pytest_selenium.py +++ b/src/pytest_selenium/pytest_selenium.py @@ -302,7 +302,7 @@ def pytest_runtest_makereport(item, call): ) if summary: report.sections.append(("pytest-selenium", "\n".join(summary))) - report.extra = extra + report.extras = extra def _gather_url(item, report, driver, summary, extra): From 324d0915559344f6e25809a6a7ccbf05b69cd557 Mon Sep 17 00:00:00 2001 From: Noam Date: Thu, 16 Nov 2023 09:06:42 +0200 Subject: [PATCH 2/2] Updated pytest-html dependency minimum version. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 731bee0..16d21b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ classifiers = [ dependencies = [ "pytest>=6.0.0", "pytest-base-url>=2.0.0", - "pytest-html>=2.0.0", + "pytest-html>=4.0.0", "pytest-variables>=2.0.0", "requests>=2.26.0", "selenium>=4.0.0",