Skip to content

Instantly share code, notes, and snippets.

@maiconfang
Created August 1, 2017 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maiconfang/e28e25bb0883d01dd0150d50df667129 to your computer and use it in GitHub Desktop.
Save maiconfang/e28e25bb0883d01dd0150d50df667129 to your computer and use it in GitHub Desktop.
Resultado do comando executando no cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Maicon Fang>e:
E:\>c:
C:\Users\Maicon Fang>cd C:\Users\Maicon Fang\Git\br.com.velti.vwponto.web.teste.
pontocorporativo
C:\Users\Maicon Fang\Git\br.com.velti.vwponto.web.teste.pontocorporativo>mvn -Ds
urefire.rerunFailingTestsCount=2 test
C:\Users\Maicon Fang\Git\br.com.velti.vwponto.web.teste.pontocorporativo>set "JA
VA_HOME=C:\Program Files\Java\jdk1.8.0_111"
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building vwponto.web.teste.pontocorporativo 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ vwponto.we
b.teste.pontocorporativo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\Maicon Fang\Git\br.com.velti
.vwponto.web.teste.pontocorporativo\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ vwponto.web.tes
te.pontocorporativo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to C:\Users\Maicon Fang\Git\br.com.velti.vwpont
o.web.teste.pontocorporativo\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ vw
ponto.web.teste.pontocorporativo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\Maicon Fang\Git\br.com.velti
.vwponto.web.teste.pontocorporativo\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ vwponto
.web.teste.pontocorporativo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to C:\Users\Maicon Fang\Git\br.com.velti.vwpont
o.web.teste.pontocorporativo\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.20:test (default-test) @ vwponto.web.teste.po
ntocorporativo ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
1501614712851 geckodriver INFO Listening on 127.0.0.1:24583
1501614713152 geckodriver::marionette INFO Starting browser \\?\C:\Program
Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
1501614714190 addons.manager DEBUG Application has been upgraded
1501614714190 addons.manager ERROR startup failed: [Exception... "Component
returned failure code: 0x80070057 (NS_ERROR_ILLEGJavaScript error: resource://g
re/modules/AddonManager.jsm, line 1673: NS_ERROR_NOT_INITIALIZED: AddonManager i
s not initialized
AL_VALUE) [nsIFile.create]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" lo
cation: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir ::
line 70" data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/File
Utils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < Add
onManagerInternal.validateBlocklist()@resource://gre/modules/AddonManager.jsm:69
8 < AddonManagerInternal.startup()@resource://gre/modules/AddonManager.jsm:866 <
this.AddonManagerPrivate.startup()@resource://gre/modules/AddonManager.jsm:3016
< amManager.prototype.observe()@resource://gre/components/addonManager.js:71
1501614714192 addons.manager DEBUG Completed startup sequence
1501614715808 Marionette INFO Listening on port 56846
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2568: NS_ERROR_N
OT_INITIALIZED: AddonManager is not initialized
ago 01, 2017 4:11:57 PM org.openqa.selenium.remote.ProtocolHandshake createSessi
on
INFO: Detected dialect: W3C
JavaScript error: http://localhost:8080/veltiponto/login.jsf, line 1: TypeError:
PF(...) is undefined
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.975 s
<<< FAILURE! - in TestSuite
[ERROR] testeMsgRegistroGravadoComSucesso on testeMsgRegistroGravadoComSucesso(b
r.com.velti.pontocorporativo.cargo.cenario.TesteCenarioCargoPageObject)(br.com.v
elti.pontocorporativo.cargo.cenario.TesteCenarioCargoPageObject) Time elapsed:
30.393 s <<< FAILURE!
org.junit.ComparisonFailure:
Sistema deve apresentar a mensagem <<Operação realizada com sucesso.>> ao inseri
r registro com sucesso !
expected:<...alizada com sucesso.[XXXXXXXXXXXXx]> but was:<...alizada com suces
so.[]>
at br.com.velti.pontocorporativo.cargo.cenario.TesteCenarioCargoPageObje
ct.testeMsgRegistroGravadoComSucesso(TesteCenarioCargoPageObject.java:65)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TesteCenarioCargoPageObject.testeMsgRegistroGravadoComSucesso:65
Sistema deve apresentar a mensagem <<Operação realizada com sucesso.>> ao inseri
r registro com sucesso !
expected:<...alizada com sucesso.[XXXXXXXXXXXXx]> but was:<...alizada com suces
so.[]>
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.845s
[INFO] Finished at: Tue Aug 01 16:12:14 BRT 2017
[INFO] Final Memory: 21M/227M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
20:test (default-test) on project vwponto.web.teste.pontocorporativo: There are
test failures.
[ERROR]
[ERROR] Please refer to C:\Users\Maicon Fang\Git\br.com.velti.vwponto.web.teste.
pontocorporativo\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].
dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
C:\Users\Maicon Fang\Git\br.com.velti.vwponto.web.teste.pontocorporativo>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment