Open djc6996 opened 6 months ago
@djc6996 Can you try updating to the latest version of Cypress? The screenshot timeout and the Vulkan error should both be fixed in our latest version.
@jennifer-shehane we will try to update with the latest version. Someone else will reply on this issue. Thank you
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
Current behavior
We are runnin in our CI (gitlab): osName --> linux osVersion --> Debian - Cypress version --> 13.6.6
I am using the cypress-multi-reporters with mochawesome to generate the report. No othe conifguration or custom screenshot are present in our project.
We are facing on a issue generating the screenshot after a test failure.
It happens that in case the follow warning is spotted menwhile a test fail and a screenshot must be taken:
Warning: vkCreateInstance: Found no drivers! Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88) at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458) at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344) at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266) at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
The screenshot is not made due to a timeout..
I know that with the last version 13.7.3 this error it is only suppressed because is a benign warning, please could you take in conisderation that maybe is not only a benign warning and try to explore it.
Because the issue is related on a combination of test failure and warning raised is not so simple duplicate. But i can suggest you to create several test that fails and run them.
Should be the warning correlated to the cy.screenshot() timeout?
Desired behavior
The screenshot after a test failure must be done. Doesn't matter if the warning mentioned is a benign.
Test code to reproduce
I am 100% sure that not depends on our code. the warning message was highlighted in other issue: #29278, #29085. But they was not raised during a test failure.
Cypress Version
13.6.6
Node version
20.12.2
Operating System
linux Debian
Debug Logs
Other
Chrome 123
Only the screenshot of the first test failed appear in the related directory.