Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- λ mvn clean verify allure:serve
- [INFO] Scanning for projects...
- Downloading from central: https://repo.maven.apache.org/maven2/io/qameta/allure/allure-maven/2.9/allure-maven-2.9.pom
- 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)
- Downloading from central: https://repo.maven.apache.org/maven2/io/qameta/allure/allure-maven/2.9/allure-maven-2.9.jar
- 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)
- [INFO]
- [INFO] ------------< com.github.kathyrollo:jcucumberng-framework >-------------
- [INFO] Building jCucumberNG-Framework 0.0.1-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jcucumberng-framework ---
- [INFO] Deleting D:\dev\automation-testing\java\jCucumberNG-Framework\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jcucumberng-framework ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory D:\dev\automation-testing\java\jCucumberNG-Framework\src\main\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ jcucumberng-framework --- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jcucumberng-framework ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 15 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ jcucumberng-framework ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 25 source files to D:\dev\automation-testing\java\jCucumberNG-Framework\target\test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ jcucumberng-framework ---
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO] Running project.RunCukesTest
- @sample @homePage
- Feature: Home Page Navigation
- As a user
- I want to visit the home page
- So that I can start using the application
- @sample @homePage
- Scenario: Verify Page Title # src/test/resources/features/HomePageNavigation.feature:7
- [INFO ] 2018-08-30 23:53:02,146 ScenarioHook.beforeScenario() - BEGIN TEST -> Verify Page Title
- Starting ChromeDriver 2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91) on port 23147
- Only local connections are allowed.
- Aug 30, 2018 11:53:04 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: OSS
- [INFO ] 2018-08-30 23:53:05,015 ScenarioHook.beforeScenario() - Browser=CHROME32_NOHEAD
- [INFO ] 2018-08-30 23:53:05,218 ScenarioHook.beforeScenario() - Screen Resolution (WxH)=1366x768
- [DEBUG] 2018-08-30 23:53:08,418 HomePageNavigationSteps.I_Am_At_The_Home_Page() - Base URL=http://simplydo.com/projector/
- Given I Am At The Home Page # HomePageNavigationSteps.I_Am_At_The_Home_Page()
- Then I Should See Page Title: 'Simply Do - Balance Project' # HomePageNavigationSteps.I_Should_See_Page_Title(String)
- org.junit.ComparisonFailure: expected:<...Do - Balance Project[]"> but was:<...Do - Balance Project[or]">
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at project.stepdefs.HomePageNavigationSteps.I_Should_See_Page_Title(HomePageNavigationSteps.java:33)
- at ?.I Should See Page Title: 'Simply Do - Balance Project'(src/test/resources/features/HomePageNavigation.feature:9)
- [INFO ] 2018-08-30 23:53:09,493 ScenarioHook.afterScenario() - END TEST -> Verify Page Title - FAILED
- @sample @netIncome
- Feature: Net Income Projector
- As a user
- I want to enter my income and expenses
- So that I can see my net income per month and per year
- @sample @netIncome @netPerMonth
- Scenario: Calculate Net Income Per Month # src/test/resources/features/NetIncomeProjector.feature:8
- [INFO ] 2018-08-30 23:53:10,557 ScenarioHook.beforeScenario() - BEGIN TEST -> Calculate Net Income Per Month
- Starting ChromeDriver 2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91) on port 32165
- Only local connections are allowed.
- Aug 30, 2018 11:53:11 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: OSS
- [INFO ] 2018-08-30 23:53:11,654 ScenarioHook.beforeScenario() - Browser=CHROME32_NOHEAD
- [INFO ] 2018-08-30 23:53:11,791 ScenarioHook.beforeScenario() - Screen Resolution (WxH)=1366x768
- [DEBUG] 2018-08-30 23:53:15,427 HomePageNavigationSteps.I_Am_At_The_Home_Page() - Base URL=http://simplydo.com/projector/
- Given I Am At The Home Page # HomePageNavigationSteps.I_Am_At_The_Home_Page()
- [DEBUG] 2018-08-30 23:53:16,052 NetIncomeProjectorSteps.I_Enter_My_Start_Balance() - Start Balance=348000
- When I Enter My Start Balance: 348000 # NetIncomeProjectorSteps.I_Enter_My_Start_Balance(String)
- [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
- [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]
- And I Enter My Regular Income Sources # NetIncomeProjectorSteps.I_Enter_My_Regular_Income_Sources(Transaction)
- [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
- [DEBUG] 2018-08-30 23:53:19,186 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Electricity, amount=5500, frequency=Monthly, month=null]
- [DEBUG] 2018-08-30 23:53:19,555 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Water, amount=900, frequency=Weekly, month=null]
- [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]
- [DEBUG] 2018-08-30 23:53:20,429 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Cable TV, amount=555, frequency=Daily, month=null]
- And I Enter My Regular Expenses # NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses(DataTable)
- [DEBUG] 2018-08-30 23:53:20,909 NetIncomeProjectorSteps.I_Should_See_Net_Income_Per_Month() - Net Per Month=23769
- Then I Should See Net Income Per Month: 23769 # NetIncomeProjectorSteps.I_Should_See_Net_Income_Per_Month(String)
- [INFO ] 2018-08-30 23:53:21,247 ScenarioHook.afterScenario() - END TEST -> Calculate Net Income Per Month - PASSED
- @sample @netIncome @netPerYear
- Scenario: Calculate Net Income Per Year # src/test/resources/features/NetIncomeProjector.feature:24
- [INFO ] 2018-08-30 23:53:21,864 ScenarioHook.beforeScenario() - BEGIN TEST -> Calculate Net Income Per Year
- Starting ChromeDriver 2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91) on port 32499
- Only local connections are allowed.
- Aug 30, 2018 11:53:22 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: OSS
- [INFO ] 2018-08-30 23:53:22,832 ScenarioHook.beforeScenario() - Browser=CHROME32_NOHEAD
- [INFO ] 2018-08-30 23:53:22,952 ScenarioHook.beforeScenario() - Screen Resolution (WxH)=1366x768
- [DEBUG] 2018-08-30 23:53:26,168 HomePageNavigationSteps.I_Am_At_The_Home_Page() - Base URL=http://simplydo.com/projector/
- Given I Am At The Home Page # HomePageNavigationSteps.I_Am_At_The_Home_Page()
- [DEBUG] 2018-08-30 23:53:26,684 NetIncomeProjectorSteps.I_Enter_My_Start_Balance() - Start Balance=353000
- When I Enter My Start Balance: 353000 # NetIncomeProjectorSteps.I_Enter_My_Start_Balance(String)
- [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
- [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]
- And I Enter My Regular Income Sources # NetIncomeProjectorSteps.I_Enter_My_Regular_Income_Sources(Transaction)
- [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
- [DEBUG] 2018-08-30 23:53:29,139 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Electricity, amount=5500, frequency=Monthly, month=null]
- [DEBUG] 2018-08-30 23:53:29,464 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Water, amount=900, frequency=Weekly, month=null]
- [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]
- [DEBUG] 2018-08-30 23:53:30,299 NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses() - Transaction [name=Cable TV, amount=555, frequency=Daily, month=null]
- And I Enter My Regular Expenses # NetIncomeProjectorSteps.I_Enter_My_Regular_Expenses(DataTable)
- [DEBUG] 2018-08-30 23:53:30,818 NetIncomeProjectorSteps.I_Should_See_Net_Income_Per_Year() - Net Per Year=202025
- Then I Should See Net Income Per Year: 202025 # NetIncomeProjectorSteps.I_Should_See_Net_Income_Per_Year(String)
- [INFO ] 2018-08-30 23:53:31,178 ScenarioHook.afterScenario() - END TEST -> Calculate Net Income Per Year - PASSED
- Failed scenarios:
- src/test/resources/features/HomePageNavigation.feature:7 # Verify Page Title
- 3 Scenarios (1 failed, 2 passed)
- 12 Steps (1 failed, 11 passed)
- 0m30.112s
- org.junit.ComparisonFailure: expected:<...Do - Balance Project[]"> but was:<...Do - Balance Project[or]">
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at project.stepdefs.HomePageNavigationSteps.I_Should_See_Page_Title(HomePageNavigationSteps.java:33)
- at ?.I Should See Page Title: 'Simply Do - Balance Project'(src/test/resources/features/HomePageNavigation.feature:9)
- [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 34.18 s <<< FAILURE! - in project.RunCukesTest
- [ERROR] Verify Page Title(Home Page Navigation) Time elapsed: 8.404 s <<< FAILURE!
- org.junit.ComparisonFailure: expected:<...Do - Balance Project[]"> but was:<...Do - Balance Project[or]">
- [INFO]
- [INFO] Results:
- [INFO]
- [ERROR] Failures:
- [ERROR] expected:<...Do - Balance Project[]"> but was:<...Do - Balance Project[or]">
- [INFO]
- [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
- [INFO]
- [ERROR] There are test failures.
- Please refer to D:\dev\automation-testing\java\jCucumberNG-Framework\target\test-output\20180830T155239Z for the individual test results.
- Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
- [INFO]
- [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ jcucumberng-framework ---
- [INFO] Building jar: D:\dev\automation-testing\java\jCucumberNG-Framework\target\jcucumberng-framework-0.0.1-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-cucumber-reporting:3.20.0:generate (execution) @ jcucumberng-framework ---
- [INFO] About to generate Cucumber report.
- Aug 30, 2018 11:53:35 PM net.masterthought.cucumber.ReportParser parseJsonFiles
- INFO: File 'D:\dev\automation-testing\java\jCucumberNG-Framework\target\cucumber-report.json' contains 2 features
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 56.745 s
- [INFO] Finished at: 2018-08-30T23:53:36+08:00
- [INFO] ------------------------------------------------------------------------
- [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]
- [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/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement