SHARE
TWEET

Untitled

a guest Aug 30th, 2018 142 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. λ mvn clean verify allure:serve
  2. [INFO] Scanning for projects...
  3. Downloading from central: https://repo.maven.apache.org/maven2/io/qameta/allure/allure-maven/2.9/allure-maven-2.9.pom
  4. Downloaded from central: https://repo.maven.apache.org/maven2/io/qameta/allure/allure-maven/2.9/allure-maven-2.9.pom (13 kB at 9.5 kB/s)
  5. Downloading from central: https://repo.maven.apache.org/maven2/io/qameta/allure/allure-maven/2.9/allure-maven-2.9.jar
  6. Downloaded from central: https://repo.maven.apache.org/maven2/io/qameta/allure/allure-maven/2.9/allure-maven-2.9.jar (7.1 MB at 1.1 MB/s)
  7. [INFO]
  8. [INFO] ------------< com.github.kathyrollo:jcucumberng-framework >-------------
  9. [INFO] Building jCucumberNG-Framework 0.0.1-SNAPSHOT
  10. [INFO] --------------------------------[ jar ]---------------------------------
  11. [INFO]
  12. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jcucumberng-framework ---
  13. [INFO] Deleting D:\dev\automation-testing\java\jCucumberNG-Framework\target
  14. [INFO]
  15. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jcucumberng-framework ---
  16. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  17. [INFO] skip non existing resourceDirectory D:\dev\automation-testing\java\jCucumberNG-Framework\src\main\resources
  18. [INFO]
  19. [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ jcucumberng-framework --- [INFO] No sources to compile
  20. [INFO]
  21. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jcucumberng-framework ---
  22. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  23. [INFO] Copying 15 resources
  24. [INFO]
  25. [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ jcucumberng-framework ---
  26. [INFO] Changes detected - recompiling the module!
  27. [INFO] Compiling 25 source files to D:\dev\automation-testing\java\jCucumberNG-Framework\target\test-classes
  28. [INFO]
  29. [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ jcucumberng-framework ---
  30. [INFO]
  31. [INFO] -------------------------------------------------------
  32. [INFO]  T E S T S
  33. [INFO] -------------------------------------------------------
  34. [INFO] Running project.RunCukesTest
  35. @sample @homePage
  36. Feature: Home Page Navigation
  37.         As a user
  38.         I want to visit the home page
  39.         So that I can start using the application
  40.  
  41.   @sample @homePage
  42.   Scenario: Verify Page Title                                   # src/test/resources/features/HomePageNavigation.feature:7
  43. [INFO ] 2018-08-30 23:53:02,146 ScenarioHook.beforeScenario() - BEGIN TEST -> Verify Page Title
  44. Starting ChromeDriver 2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91) on port 23147
  45. Only local connections are allowed.
  46. Aug 30, 2018 11:53:04 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  47. INFO: Detected dialect: OSS
  48. [INFO ] 2018-08-30 23:53:05,015 ScenarioHook.beforeScenario() - Browser=CHROME32_NOHEAD
  49. [INFO ] 2018-08-30 23:53:05,218 ScenarioHook.beforeScenario() - Screen Resolution (WxH)=1366x768
  50. [DEBUG] 2018-08-30 23:53:08,418 HomePageNavigationSteps.I_Am_At_The_Home_Page() - Base URL=http://simplydo.com/projector/
  51.     Given I Am At The Home Page                                 # HomePageNavigationSteps.I_Am_At_The_Home_Page()
  52.     Then I Should See Page Title: 'Simply Do - Balance Project' # HomePageNavigationSteps.I_Should_See_Page_Title(String)
  53.       org.junit.ComparisonFailure: expected:<...Do - Balance Project[]"> but was:<...Do - Balance Project[or]">
  54.         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  55.         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  56.         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  57.         at project.stepdefs.HomePageNavigationSteps.I_Should_See_Page_Title(HomePageNavigationSteps.java:33)
  58.         at ?.I Should See Page Title: 'Simply Do - Balance Project'(src/test/resources/features/HomePageNavigation.feature:9)
  59.  
  60. [INFO ] 2018-08-30 23:53:09,493 ScenarioHook.afterScenario() - END TEST -> Verify Page Title - FAILED
  61.  
  62. @sample @netIncome
  63. Feature: Net Income Projector
  64. As a user
  65. I want to enter my income and expenses
  66. So that I can see my net income per month and per year
  67.  
  68.   @sample @netIncome @netPerMonth
  69.   Scenario: Calculate Net Income Per Month        # src/test/resources/features/NetIncomeProjector.feature:8
  70. [INFO ] 2018-08-30 23:53:10,557 ScenarioHook.beforeScenario() - BEGIN TEST -> Calculate Net Income Per Month
  71. Starting ChromeDriver 2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91) on port 32165
  72. Only local connections are allowed.
  73. Aug 30, 2018 11:53:11 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  74. INFO: Detected dialect: OSS
  75. [INFO ] 2018-08-30 23:53:11,654 ScenarioHook.beforeScenario() - Browser=CHROME32_NOHEAD
  76. [INFO ] 2018-08-30 23:53:11,791 ScenarioHook.beforeScenario() - Screen Resolution (WxH)=1366x768
  77. [DEBUG] 2018-08-30 23:53:15,427 HomePageNavigationSteps.I_Am_At_The_Home_Page() - Base URL=http://simplydo.com/projector/
  78.     Given I Am At The Home Page                   # HomePageNavigationSteps.I_Am_At_The_Home_Page()
  79. [DEBUG] 2018-08-30 23:53:16,052 NetIncomeProjectorSteps.I_Enter_My_Start_Balance() - Start Balance=348000
  80.     When I Enter My Start Balance: 348000         # NetIncomeProjectorSteps.I_Enter_My_Start_Balance(String)
  81. [DEBUG] 2018-08-30 23:53:16,810 AllureLifecycle.lambda$prepareAttachment$17() - Adding attachment to item with uuid Net Income Projectoradf58a74-1716-4970-9a3d-d37dabc6716fI Enter My Regular Income Sources11
  82. [DEBUG] 2018-08-30 23:53:17,565 NetIncomeProjectorSteps.I_Enter_My_Regular_Income_Sources() - Transaction [name=Salary, amount=25000, frequency=every 2 weeks, month=null]
  83.     And I Enter My Regular Income Sources         # NetIncomeProjectorSteps.I_Enter_My_Regular_Income_Sources(Transaction)
  84. [DEBUG] 2018-08-30 23:53:17,980 AllureLifecycle.lambda$prepareAttachment$17() - Adding attachment to item with uuid Net Income Projectoradf58a74-1716-4970-9a3d-d37dabc6716fI Enter My Regular Expenses15
  85. [DEBUG] 2018-08-30 23:53:19,186 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Electricity, amount=5500, frequency=Monthly, month=null]
  86. [DEBUG] 2018-08-30 23:53:19,555 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Water, amount=900, frequency=Weekly, month=null]
  87. [DEBUG] 2018-08-30 23:53:20,058 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Internet, amount=1900, frequency=Every 2 Weeks, month=null]
  88. [DEBUG] 2018-08-30 23:53:20,429 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Cable TV, amount=555, frequency=Daily, month=null]
  89.     And I Enter My Regular Expenses               # NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses(DataTable)
  90. [DEBUG] 2018-08-30 23:53:20,909 NetIncomeProjectorSteps.I_Should_See_Net_Income_Per_Month() - Net Per Month=23769
  91.     Then I Should See Net Income Per Month: 23769 # NetIncomeProjectorSteps.I_Should_See_Net_Income_Per_Month(String)
  92. [INFO ] 2018-08-30 23:53:21,247 ScenarioHook.afterScenario() - END TEST -> Calculate Net Income Per Month - PASSED
  93.  
  94.   @sample @netIncome @netPerYear
  95.   Scenario: Calculate Net Income Per Year         # src/test/resources/features/NetIncomeProjector.feature:24
  96. [INFO ] 2018-08-30 23:53:21,864 ScenarioHook.beforeScenario() - BEGIN TEST -> Calculate Net Income Per Year
  97. Starting ChromeDriver 2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91) on port 32499
  98. Only local connections are allowed.
  99. Aug 30, 2018 11:53:22 PM org.openqa.selenium.remote.ProtocolHandshake createSession
  100. INFO: Detected dialect: OSS
  101. [INFO ] 2018-08-30 23:53:22,832 ScenarioHook.beforeScenario() - Browser=CHROME32_NOHEAD
  102. [INFO ] 2018-08-30 23:53:22,952 ScenarioHook.beforeScenario() - Screen Resolution (WxH)=1366x768
  103. [DEBUG] 2018-08-30 23:53:26,168 HomePageNavigationSteps.I_Am_At_The_Home_Page() - Base URL=http://simplydo.com/projector/
  104.     Given I Am At The Home Page                   # HomePageNavigationSteps.I_Am_At_The_Home_Page()
  105. [DEBUG] 2018-08-30 23:53:26,684 NetIncomeProjectorSteps.I_Enter_My_Start_Balance() - Start Balance=353000
  106.     When I Enter My Start Balance: 353000         # NetIncomeProjectorSteps.I_Enter_My_Start_Balance(String)
  107. [DEBUG] 2018-08-30 23:53:27,156 AllureLifecycle.lambda$prepareAttachment$17() - Adding attachment to item with uuid Net Income Projector8fd85ae6-ed55-4eaa-9495-c42c526e49e5I Enter My Regular Income Sources27
  108. [DEBUG] 2018-08-30 23:53:27,686 NetIncomeProjectorSteps.I_Enter_My_Regular_Income_Sources() - Transaction [name=Salary, amount=2180, frequency=work days, month=null]
  109.     And I Enter My Regular Income Sources         # NetIncomeProjectorSteps.I_Enter_My_Regular_Income_Sources(Transaction)
  110. [DEBUG] 2018-08-30 23:53:28,064 AllureLifecycle.lambda$prepareAttachment$17() - Adding attachment to item with uuid Net Income Projector8fd85ae6-ed55-4eaa-9495-c42c526e49e5I Enter My Regular Expenses31
  111. [DEBUG] 2018-08-30 23:53:29,139 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Electricity, amount=5500, frequency=Monthly, month=null]
  112. [DEBUG] 2018-08-30 23:53:29,464 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Water, amount=900, frequency=Weekly, month=null]
  113. [DEBUG] 2018-08-30 23:53:29,893 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Internet, amount=1900, frequency=Every 2 Weeks, month=null]
  114. [DEBUG] 2018-08-30 23:53:30,299 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Cable TV, amount=555, frequency=Daily, month=null]
  115.     And I Enter My Regular Expenses               # NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses(DataTable)
  116. [DEBUG] 2018-08-30 23:53:30,818 NetIncomeProjectorSteps.I_Should_See_Net_Income_Per_Year() - Net Per Year=202025
  117.     Then I Should See Net Income Per Year: 202025 # NetIncomeProjectorSteps.I_Should_See_Net_Income_Per_Year(String)
  118. [INFO ] 2018-08-30 23:53:31,178 ScenarioHook.afterScenario() - END TEST -> Calculate Net Income Per Year - PASSED
  119.  
  120. Failed scenarios:
  121. src/test/resources/features/HomePageNavigation.feature:7 # Verify Page Title
  122.  
  123. 3 Scenarios (1 failed, 2 passed)
  124. 12 Steps (1 failed, 11 passed)
  125. 0m30.112s
  126.  
  127. org.junit.ComparisonFailure: expected:<...Do - Balance Project[]"> but was:<...Do - Balance Project[or]">
  128.         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  129.         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  130.         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  131.         at project.stepdefs.HomePageNavigationSteps.I_Should_See_Page_Title(HomePageNavigationSteps.java:33)
  132.         at ?.I Should See Page Title: 'Simply Do - Balance Project'(src/test/resources/features/HomePageNavigation.feature:9)
  133.  
  134. [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 34.18 s <<< FAILURE! - in project.RunCukesTest
  135. [ERROR] Verify Page Title(Home Page Navigation)  Time elapsed: 8.404 s  <<< FAILURE!
  136. org.junit.ComparisonFailure: expected:<...Do - Balance Project[]"> but was:<...Do - Balance Project[or]">
  137.  
  138. [INFO]
  139. [INFO] Results:
  140. [INFO]
  141. [ERROR] Failures:
  142. [ERROR]   expected:<...Do - Balance Project[]"> but was:<...Do - Balance Project[or]">
  143. [INFO]
  144. [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
  145. [INFO]
  146. [ERROR] There are test failures.
  147.  
  148. Please refer to D:\dev\automation-testing\java\jCucumberNG-Framework\target\test-output\20180830T155239Z for the individual test results.
  149. Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
  150. [INFO]
  151. [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ jcucumberng-framework ---
  152. [INFO] Building jar: D:\dev\automation-testing\java\jCucumberNG-Framework\target\jcucumberng-framework-0.0.1-SNAPSHOT.jar
  153. [INFO]
  154. [INFO] --- maven-cucumber-reporting:3.20.0:generate (execution) @ jcucumberng-framework ---
  155. [INFO] About to generate Cucumber report.
  156. Aug 30, 2018 11:53:35 PM net.masterthought.cucumber.ReportParser parseJsonFiles
  157. INFO: File 'D:\dev\automation-testing\java\jCucumberNG-Framework\target\cucumber-report.json' contains 2 features
  158. [INFO] ------------------------------------------------------------------------
  159. [INFO] BUILD FAILURE
  160. [INFO] ------------------------------------------------------------------------
  161. [INFO] Total time: 56.745 s
  162. [INFO] Finished at: 2018-08-30T23:53:36+08:00
  163. [INFO] ------------------------------------------------------------------------
  164. [ERROR] Failed to execute goal net.masterthought:maven-cucumber-reporting:3.20.0:generate (execution) on project jcucumberng-framework: Error Found:: BUILD FAILED - Check Report For Details -> [Help 1]
  165. [ERROR]
  166. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  167. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  168. [ERROR]
  169. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  170. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top