How to get my log file from GitHub Actions?

Viewed 659

I decided to try GitHub Actions. And it failed =)

I have a little understanding on what is how the whole process works, but need some help.

This is the error message I'm getting:

DragAndDrop > dragAndDropValidation() FAILED
    org.openqa.selenium.WebDriverException at DragAndDrop.java:26

1 test completed, 1 failed

> Task :test FAILED
3 actionable tasks: 3 executed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/runner/work/theinternetTests/theinternetTests/build/reports/tests/test/index.html

How to I see what is in that report file?

The tests don't fail on my local machine, so I can't replicate it there.

1 Answers

You can adjust the gradle.build file to increase the log level.

test {
    testLogging {
        exceptionFormat = 'full'
    }
}
Related