Brief info:
I deployed Jenkins locally and configured the necessary plugins.
I take a screenshot during execution and in allure I see that screenshot is empty (black screen) in the report
Environment:
Allure Jenkins Plugin - Version 2.31.1
Selenide version - 7.3.2
Chrome version - 126.0.6478.127
What Operating System are you using (both controller, and any agents involved in the problem)?
Controller: Windows 11
Agents: Windows 11
Reproduction steps
I configured code to take a screenshot which was working previosly:
@Listeners({TextReport.class})
public class BaseTest {
@BeforeClass
public void configuration() {
SelenideLogger.addListener("AllureSelenide", new AllureSelenide()
.screenshots(true)
.savePageSource(false));
}
}
Jenkins and plugins versions report
Brief info: I deployed Jenkins locally and configured the necessary plugins. I take a screenshot during execution and in allure I see that screenshot is empty (black screen) in the report
Environment: Allure Jenkins Plugin - Version 2.31.1 Selenide version - 7.3.2 Chrome version - 126.0.6478.127
What Operating System are you using (both controller, and any agents involved in the problem)?
Controller: Windows 11 Agents: Windows 11
Reproduction steps
I configured code to take a screenshot which was working previosly:
also attached pom.xml file: pom.txt
I created locally freestyle job with a: Source code management - Git, Build Steps - Invoke top-level Maven targets - Goals: clean install Post-build Actions - Allure report
Expected Results
After bulid done should be created allure report with a screenshot if test failed:
Local execution from IntelliJIdea:![image](https://github.com/jenkinsci/allure-plugin/assets/91457119/05b200de-1464-409c-b42a-a7f3a5386cde)
Actual Results
After bulid done created allure report with a screenshot if test failed:
Execution from Jenkins - Screenshot is empty (black screen if download):![image](https://github.com/jenkinsci/allure-plugin/assets/91457119/c2eba8f2-5709-497c-89b2-b05ee0d76aa0)
Screenshot:![1719940956731 0](https://github.com/jenkinsci/allure-plugin/assets/91457119/ab5f8cd8-dd47-45ba-a2d7-dfc552a2117f)
Anything else?
Notes: With the same code everything works month ago.
After installing a new version Jenkins with Allure Jenkins Plugin - Version 2.31.1 this issue happens.
Also attaching github project: https://github.com/StasiukMarian/sep-2023-aqa.git
Are you interested in contributing a fix?
No response