Mam problem aby uruchomić testy na platformie Travis ci napisane w Selenium WebDriver.
Link do mojego projektu GitHub
Test na Travisie Ci w ogóle się nie uruchamia, a tylko się kompiluje.
Uruchamiam komendy:
" ant build " i
" ant Tests " - to jest nazwa klasy testowej
Sam test jest napisany poprawnie ( uruchamia się lokalnie na komputerze oraz na Jenkinskie używając tych komend )
Podejrzewam, że jest to problem z uruchomieniem XVFB.
Rezultat z Travisa ci to:
" Buildfile: /home/travis/build/tomik1212/test2/build.xml
build-subprojects:
init:
[mkdir] Created dir: /home/travis/build/tomik1212/test2/bin
build-project:
[echo] test: /home/travis/build/tomik1212/test2/build.xml
[javac] Compiling 1 source file to /home/travis/build/tomik1212/test2/bin
build:
BUILD SUCCESSFUL
Total time: 1 second
The command "ant build" exited with 0.
2.13s$ ant Tests
Buildfile: /home/travis/build/tomik1212/test2/build.xml
Tests:
[mkdir] Created dir: /home/travis/build/tomik1212/test2/junit
[junit] Running Tests
[junit] Tests run: 1, Failures: 0, Errors: 2, Time elapsed: 0.422 sec
[junit] Test Tests FAILED
BUILD SUCCESSFUL
Total time: 1 second "
Proszę o pomoc w uruchomieniu testu.