Closed eugenetangkj closed 1 year ago
@eugenetangkj This is the kind of problem one encounters with GUI tests, especially in CI, and especially on Linux. Quite hard to debug.
Some suggestions:
Hi Prof @damithc, thank you for your reply! I managed to resolve it with the help of a method in GuiUnitTest
from a past CS2103T project. I have given credit for the method accordingly in my code as well. Appreciate the guidance!
Hi, I recently followed the GUI tests that AB4 has, to conduct testing for my team's updates to the GUI. However, I encountered an issue of being stuck at the
ubuntu-latest
CI build, where on GitHub, it would be stuck atBuild and check with Gradle
, having no progress in doing the required checks. There is no problem formacos-latest
andwindows-latest
where the builds managed to successfully complete.Loading:
Log message:
I thought that it might be a problem with my
build.gradle
file but theubuntu-latest
build managed to complete when I push only my changes tobuild.gradle
without my GUI unit tests. Hence, the problem might be with my GUI unit tests, but I am not sure whether that would be the case because all tests managed to complete successfully locally and the CI builds formacos-latest
andwindows-latest
were complete.Could I kindly seek some advice on this issue? Thank you!