Failing e2e tests does not create screenshot #22529
Labels
area/qe
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
team/B
This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.
Describe the bug
When running
export USERSTORY=SmokeTest && npm run test
to run the smoke tests, if there is a test failure, there are no screenshot, pagesource, or browserlog files in the reports folder.Here is the terminal output: log
Che version
7.74@latest
Steps to reproduce
cd
tests/e2e`export USERSTORY=SmokeTest && npm run test
tests/e2e/reports
folder to verify that there is no screenshot, pagesource file or browser log fileExpected behavior
I expected a screenshot, pagesource file and browser log file
Runtime
OpenShift
Screenshots
No response
Installation method
other (please specify in additional context)
Environment
macOS
Eclipse Che Logs
No response
Additional context
I noticed the screenshot is created (but no pagesource, or browserlog file) if the
driverHelper
is retrieved withe2eContainer.get
like so: https://github.com/eclipse/che/blob/41d1364f679779f61e3d17f248bcb5de260c22a4/tests/e2e/utils/CheReporter.ts#L28, instead of constructor injectionThe text was updated successfully, but these errors were encountered: