Project Number Date
ApolloFullRunnerReport kapibary.34 10 cze 2021, 03:52

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Set transport order on auction 139 2 3 0 0 144 19 2 21 11m 51s 225ms Failed
Feature Set transport order on auction
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 450ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 209ms
When Fill auction form 16s 094ms
Then Verify that the auction has been added to transport 160ms
After Hooks.deleteTransportAfterTest() 652ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 818ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 141ms
When Fill auction form 16s 217ms
Then Verify that the auction has been added to transport 174ms
After Hooks.deleteTransportAfterTest() 743ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 609ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 078ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 822ms
When If user is login then logout 263ms
And Login as "paa1-carrier@qa.qa-test" 5s 165ms
And Go to auction offer 1s 630ms
And Accept transport with minimum rate 16s 945ms
Then Check if carrier is assigned to transport 076ms
After Hooks.deleteTransportAfterTest() 608ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 523ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 075ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 793ms
When If user is login then logout 347ms
And Login as "paa1-carrier@qa.qa-test" 2s 655ms
And Go to auction offer 1s 605ms
And Reject auction offer 15s 795ms
Then Verify that offer has been removed from transport 15s 131ms
After Hooks.deleteTransportAfterTest() 664ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 717ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 123ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 765ms
When If user is login then logout 455ms
And Login as "pskza1-carrier@qa.qa-test" 2s 437ms
And Go to auction offer 2s 444ms
And Reject auction offer 15s 836ms
Then Verify that offer has been removed from transport 15s 100ms
After Hooks.deleteTransportAfterTest() 664ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 487ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 064ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 792ms
When If user is login then logout 5s 541ms
And Login as "paa1-carrier@qa.qa-test" 2s 394ms
And Go to auction offer 1s 607ms
And Offer prize above maximum - "20000" 350ms
Then Verify that is not possible to add offer 835ms
After Hooks.deleteTransportAfterTest() 619ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 519ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 105ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 792ms
When If user is login then logout 268ms
And Login as "pskza1-carrier@qa.qa-test" 2s 589ms
And Go to auction offer 2s 396ms
And Offer prize above maximum - "20000" 386ms
Then Verify that is not possible to add offer 796ms
After Hooks.deleteTransportAfterTest() 663ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 349ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 069ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 788ms
And Wait till auction end 1m 58s 015ms
Then Verify that is possible to add auction 150ms
After Hooks.deleteTransportAfterTest() 722ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 676ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 122ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 840ms
And Wait till auction end 1m 58s 015ms
Then Verify that is possible to add auction 146ms
After Hooks.deleteTransportAfterTest() 767ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 886ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 451ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 842ms
And Go to auction offer 1s 522ms
When Offer "1000" 364ms
Then Verify that offer with "1000" has been added to auction 3s 077ms
After Hooks.deleteTransportAfterTest() 701ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 541ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 363ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 808ms
And Go to auction offer 1s 520ms
When Offer "1000" 332ms
Then Verify that offer with "1000" has been added to auction 3s 085ms
After Hooks.deleteTransportAfterTest() 649ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 620ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 365ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 778ms
And Go to auction offer 1s 518ms
When Offer "1000" 456ms
And Verify that offer with "1000" has been added to auction 3s 084ms
Then Go to auction offer 1s 508ms
And Revoke current offer 716ms
And Verify that offer has been revoked 32s 952ms
After Hooks.deleteTransportAfterTest() 653ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 718ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 323ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 794ms
And Go to auction offer 1s 537ms
When Offer "1000" 395ms
And Verify that offer with "1000" has been added to auction 3s 084ms
Then Go to auction offer 1s 516ms
And Offer "1500" 355ms
And Verify that offer with "1500" has been added to auction 3s 077ms
After Hooks.deleteTransportAfterTest() 636ms
Scenario Outline Check if it is possible to finish active auction
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 652ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 312ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 790ms
And Go to auction offer 1s 641ms
When Offer "1000" 393ms
And Verify that offer with "1000" has been added to auction 3s 093ms
Then Login as "swisskrono-admin" 2s 497ms
And Go to auction details 2s 181ms
And Finish active auction 231ms
And Verify that the transport has no active auction 30s 658ms
java.lang.AssertionError: Nie można wystawić zlecenia na aukcję!
	at org.junit.Assert.fail(Assert.java:88)
	at Pages.Transport.TransportsPage.checkIfTransportCanBePutOnAuction(TransportsPage.java:400)
	at CucumberTests.Transport.AuctionTransport.verifyThatTheTransportHasNoActiveAuction(AuctionTransport.java:212)
	at ✽.Verify that the transport has no active auction(file:Features/Atom/Transport/Auction.feature:124)
After Hooks.deleteTransportAfterTest() 708ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 799ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 252ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 798ms
And Go to auction offer 1s 531ms
When Offer "1000" 364ms
Then Verify that carrier can see current place in auction depending on the "true" role 820ms
After Hooks.deleteTransportAfterTest() 664ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 583ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 387ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 795ms
And Go to auction offer 1s 536ms
When Offer "1000" 368ms
Then Verify that carrier can see current place in auction depending on the "false" role 15s 029ms
After Hooks.deleteTransportAfterTest() 645ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 645ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 310ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 777ms
And Go to auction offer 1s 542ms
When Offer "300" 359ms
And Verify that carrier can't add offer to auction 099ms
After Hooks.deleteTransportAfterTest() 620ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 289ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 061ms
And Show all transport "false" 156ms
When Go to auction form 1s 589ms
Then Verify carrier selection value "false" 141ms
After Hooks.deleteTransportAfterTest() 589ms
Scenario Outline Check carrier selection in create auction form
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 419ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 301ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor190.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec"(file:Features/Atom/Transport/Auction.feature:157)
And Show all transport "true" 000ms
When Go to auction form 000ms
Then Verify carrier selection value "true" 000ms
After Hooks.deleteTransportAfterTest() 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 394ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 076ms
When Open transport auction form 444ms
And Select all companies checkbox in transport auction form 156ms
And Unselect company "PAA2" in transport auction form 169ms
And Put transport on auction 15s 469ms
And Open transport auction history 234ms
And Open participants section in transport auction history 164ms
Then Check if unselected "PAA2" is in transport auction history as participant 15s 083ms
After Hooks.deleteTransportAfterTest() 645ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 135ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 121ms
When Open transport auction form 752ms
And Select all companies checkbox in transport auction form 237ms
And Unselect company "PSKZA2" in transport auction form 146ms
And Put transport on auction 15s 449ms
And Open transport auction history 214ms
And Open participants section in transport auction history 144ms
Then Check if unselected "PSKZA2" is in transport auction history as participant 15s 040ms
After Hooks.deleteTransportAfterTest() 673ms