Project Number Date
ApolloFullRunnerReport kapibary.43 15 cze 2021, 06:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Auctions Mail 54 1 3 0 0 58 7 1 8 10m 9s 537ms Failed
Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 504ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 099ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 109ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 3s 169ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowa aukcja" 13s 383ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 716ms
After Hooks.cleanUserDetailsAfterTest() 2s 059ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 537ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 271ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 114ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 3s 074ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 189ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 1s 697ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 39s 270ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 709ms
After Hooks.cleanUserDetailsAfterTest() 1s 943ms
Given Login as "swisskrono-producer" and set token of apiUsername "super-admin-skz" 12s 362ms
And Prepare user "swisskrono-producer" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 950ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 092ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 837ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 1s 055ms
And Wait till auction end 1m 57s 025ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Dodano nową ofertę" 8s 012ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 684ms
After Hooks.cleanUserDetailsAfterTest() 1s 706ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 579ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 507ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 102ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 3s 025ms
And Wait till auction end 1m 57s 018ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Aukcja zakończona bez ofert" 34s 673ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 681ms
After Hooks.cleanUserDetailsAfterTest() 1s 362ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 101ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 127ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 984ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 912ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 006ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 1s 819ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Oferta przelicytowana" 35s 740ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 632ms
After Hooks.cleanUserDetailsAfterTest() 1s 986ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 573ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 420ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 077ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 3s
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 908ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 1m 43s 436ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 709ms
After Hooks.cleanUserDetailsAfterTest() 2s 143ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 661ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 197ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 083ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 951ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 660ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 38s 494ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 694ms
After Hooks.cleanUserDetailsAfterTest() 2s 027ms
Scenario Outline Check mail two hours before auction ends
Steps
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 5s 701ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 448ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 089ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes 473ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor203.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.AuctionTransport.setTransportOnAuction(AuctionTransport.java:52)
	at CucumberTests.Transport.AuctionTransport.setTransportOnAuctionByApiWith(AuctionTransport.java:69)
	at ✽.Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes(file:Features/Atom/Mail/AuctionMail.feature:103)
And Wait "90" seconds 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zakończenie aukcji" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 691ms
After Hooks.cleanUserDetailsAfterTest() 2s 017ms