Project Number Date
ApolloFullRunnerReport apollo-test-2.53 24 cze 2021, 06:22

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Set transport order on auction 147 1 8 0 0 156 21 1 22 11m 25s 600ms Failed
Feature Set transport order on auction
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 055ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 106ms
When Fill auction form 16s 130ms
Then Verify that the auction has been added to transport 123ms
After Hooks.deleteTransportAfterTest() 637ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 8s 072ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 161ms
When Fill auction form 16s 314ms
Then Verify that the auction has been added to transport 167ms
After Hooks.deleteTransportAfterTest() 664ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 675ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 187ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 844ms
When If user is login then logout 279ms
And Login as "paa1-carrier@qa.qa-test" 4s 848ms
And Go to auction offer 1s 792ms
And Accept transport with minimum rate 17s 006ms
Then Check if carrier is assigned to transport 054ms
After Hooks.deleteTransportAfterTest() 537ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 486ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 123ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 842ms
When If user is login then logout 251ms
And Login as "paa1-carrier@qa.qa-test" 2s 451ms
And Go to auction offer 1s 786ms
And Reject auction offer 15s 774ms
Then Verify that offer has been removed from transport 15s 111ms
After Hooks.deleteTransportAfterTest() 714ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 846ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 184ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 901ms
When If user is login then logout 243ms
And Login as "pskza1-carrier@qa.qa-test" 6s 280ms
And Go to auction offer 3s 039ms
And Reject auction offer 15s 761ms
Then Verify that offer has been removed from transport 15s 104ms
After Hooks.deleteTransportAfterTest() 703ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 621ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 148ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 843ms
When If user is login then logout 266ms
And Login as "paa1-carrier@qa.qa-test" 2s 472ms
And Go to auction offer 1s 810ms
And Offer prize above maximum - "20000" 357ms
Then Verify that is not possible to add offer 795ms
After Hooks.deleteTransportAfterTest() 631ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 432ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 143ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 793ms
When If user is login then logout 283ms
And Login as "pskza1-carrier@qa.qa-test" 2s 292ms
And Go to auction offer 3s 225ms
And Offer prize above maximum - "20000" 330ms
Then Verify that is not possible to add offer 828ms
After Hooks.deleteTransportAfterTest() 681ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 457ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 193ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 828ms
And Wait till auction end 1m 58s 019ms
Then Verify that is possible to add auction 150ms
After Hooks.deleteTransportAfterTest() 728ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 925ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 133ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 833ms
And Wait till auction end 1m 58s 014ms
Then Verify that is possible to add auction 145ms
After Hooks.deleteTransportAfterTest() 651ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 759ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 480ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 877ms
And Go to auction offer 1s 550ms
When Offer "1000" 379ms
Then Verify that offer with "1000" has been added to auction 3s 080ms
After Hooks.deleteTransportAfterTest() 668ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 759ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 599ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 862ms
And Go to auction offer 1s 570ms
When Offer "1000" 361ms
Then Verify that offer with "1000" has been added to auction 3s 085ms
After Hooks.deleteTransportAfterTest() 697ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 606ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 710ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 819ms
And Go to auction offer 1s 550ms
When Offer "1000" 352ms
And Verify that offer with "1000" has been added to auction 3s 074ms
Then Go to auction offer 1s 500ms
And Revoke current offer 713ms
And Verify that offer has been revoked 17s 986ms
After Hooks.deleteTransportAfterTest() 703ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 843ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 679ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 821ms
And Go to auction offer 1s 554ms
When Offer "1000" 366ms
And Verify that offer with "1000" has been added to auction 3s 086ms
Then Go to auction offer 1s 560ms
And Offer "1500" 358ms
And Verify that offer with "1500" has been added to auction 3s 073ms
After Hooks.deleteTransportAfterTest() 682ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 698ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 538ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 814ms
And Go to auction offer 1s 540ms
When Offer "1000" 328ms
And Verify that offer with "1000" has been added to auction 3s 068ms
Then Login as "swisskrono-admin" 2s 305ms
And Go to auction details 2s 241ms
And Finish active auction 143ms
And Verify that the transport has no active auction 699ms
After Hooks.deleteTransportAfterTest() 646ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 520ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 484ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 804ms
And Go to auction offer 1s 528ms
When Offer "1000" 365ms
Then Verify that carrier can see current place in auction depending on the "true" role 902ms
After Hooks.deleteTransportAfterTest() 723ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 564ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 571ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 841ms
And Go to auction offer 1s 548ms
When Offer "1000" 358ms
Then Verify that carrier can see current place in auction depending on the "false" role 15s 063ms
After Hooks.deleteTransportAfterTest() 686ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 849ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 450ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 827ms
And Go to auction offer 1s 593ms
When Offer "300" 368ms
And Verify that carrier can't add offer to auction 096ms
After Hooks.deleteTransportAfterTest() 658ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 479ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 976ms
And Show all transport "false" 159ms
When Go to auction form 1s 572ms
Then Verify carrier selection value "false" 114ms
After Hooks.deleteTransportAfterTest() 584ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 246ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 268ms
And Show all transport "true" 284ms
When Go to auction form 1s 548ms
Then Verify carrier selection value "true" 115ms
After Hooks.deleteTransportAfterTest() 571ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 323ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 990ms
When Open transport auction form 400ms
And Select all companies checkbox in transport auction form 136ms
And Unselect company "PAA2" in transport auction form 128ms
And Put transport on auction 15s 391ms
And Open transport auction history 221ms
And Open participants section in transport auction history 157ms
Then Check if unselected "PAA2" is in transport auction history as participant 15s 048ms
After Hooks.deleteTransportAfterTest() 728ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 822ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 156ms
When Open transport auction form 660ms
And Select all companies checkbox in transport auction form 230ms
And Unselect company "PSKZA2" in transport auction form 161ms
And Put transport on auction 15s 461ms
And Open transport auction history 187ms
And Open participants section in transport auction history 148ms
Then Check if unselected "PSKZA2" is in transport auction history as participant 15s 058ms
After Hooks.deleteTransportAfterTest() 675ms
Scenario Outline Check if "reason" field has validation error when passing to second carrier in auction [A-7573]
Steps
Given Set token of apiUsername "super-admin-varrocrychvald" 242ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-varrocrychvald" 2s 396ms
And Set transport on auction with "1000" and "1500" by JSON file as "super-admin-varrocrychvald" 2s 775ms
And Add a bid "1500" to an auction by JSON file as "pvra1-carrier-1" for "super-admin-varrocrychvald" 231ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.GeneratedMethodAccessor74.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.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.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:135)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:111)
	at CucumberTests.Transport.AuctionTransport.addABidToAnAuctionByJSONFileAs(AuctionTransport.java:76)
	at ✽.Add a bid "1500" to an auction by JSON file as "pvra1-carrier-1" for "super-admin-varrocrychvald"(file:Features/Atom/Transport/Auction.feature:187)
And Add a bid "1000" to an auction by JSON file as "pvra2-carrier-2" for "super-admin-varrocrychvald" 000ms
When Login as "varrocrychvald-admin" and set token of apiUsername "super-admin-varrocrychvald" 000ms
And Show all transport "true" 000ms
And Open transport auction history 000ms
And Pass transport to "2" carrier in auction history 000ms
Then Verify if "REASON" is visible in pass transport modal 000ms
And Confirm pass transport to carrier in pass transport modal 000ms
And Verify that "REASON" in pass transport modal has validation error 000ms
After Hooks.deleteTransportAfterTest() 712ms