We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f75fc3c commit 87ee815Copy full SHA for 87ee815
tests/conftest.py
@@ -347,11 +347,8 @@ def pytest_exception_interact(node: Item) -> None:
347
if browser != "remote":
348
# https://github.com/lana-20/selenium-webdriver-bidi
349
if console_messages:
350
- console_messages_text = "\n".join(
351
- str(message) for message in console_messages
352
- )
353
allure.attach(
354
- body=console_messages_text,
+ body="\n".join(str(message) for message in console_messages),
355
name="Console Logs",
356
attachment_type=allure.attachment_type.TEXT,
357
)
0 commit comments