Boa noite pessoal,
Nao estou conseguindo rodar o job com o teste de Selenium, o log informa que o webdriver eh desconhecido.
Estou usando o Fedora 64 bits e baixei o driver na mesma versao, mas nao funciona. Alguem ja teve esse problema?
O driver esta em Downloads:
bash-4.3$ cd /home/jferreira/Downloads/ bash-4.3$ ls apache-maven-3.3.9-bin.tar.gz flash_player_ppapi_linux.x86_64.tar.gz apache-tomcat-7.0.72.tar.gz flash-plugin-11.2.202.637-release.x86_64.rpm chromedriver google-chrome-stable_current_x86_64.rpm chromedriver_linux64.zip jenkins-2.9-1.1.noarch.rpm
E essa eh a informacao que esta no Goal:
clean verify -Ptestes-integracao -Dwebdriver.chrome.driver=/home/jferreira/Downloads/chromedriver
Results :
Tests in error:
FiltraNegociacoesIT.verificaResultadosFiltradosNaTabela:84 » WebDriver unknown...
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] --- maven-pmd-plugin:3.6:pmd (default) @ argentum-web ---
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:report (default) @ argentum-web ---
[INFO] Analyzed bundle 'argentum-web' with 12 classes
[INFO]
[INFO] --- maven-failsafe-plugin:2.19.1:verify (default) @ argentum-web ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50.112 s
[INFO] Finished at: 2016-12-07T22:49:21-02:00
[INFO] Final Memory: 39M/308M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (default) on project argentum-web: There are test failures.
[ERROR]
[ERROR] Please refer to /home/jferreira/.jenkins/workspace/argentum-web/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Invoke top-level Maven targets' marked build as failure
Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
Finished: FAILURE
Obrigada pela ajuda!