Project Number Date
ApolloFullRunnerReport develop.376 11 kwi 2021, 05:27

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 9m 1s 798ms Failed
Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 643ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 147ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 265ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 728ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowa aukcja" 6s 548ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 204ms
After Hooks.deleteTransportAfterTest() 081ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 085ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 223ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 235ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 138ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 606ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 364ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 13s 012ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 218ms
After Hooks.deleteTransportAfterTest() 098ms
Given Login as "swisskrono-producer" and set token of apiUsername "super-admin-skz" 2s 521ms
And Prepare user "swisskrono-producer" details with all notifications and "apolloautomattest@gmail.com" by JSON file 310ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 330ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 101ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 220ms
And Wait till auction end 1m 58s 023ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Dodano nową ofertę" 7s 502ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 280ms
After Hooks.deleteTransportAfterTest() 080ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 148ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 181ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 262ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 150ms
And Wait till auction end 1m 58s 022ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Aukcja zakończona bez ofert" 6s 864ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 174ms
After Hooks.deleteTransportAfterTest() 060ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 534ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 313ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 212ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 130ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 184ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 299ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Oferta przelicytowana" 50s 565ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 194ms
After Hooks.deleteTransportAfterTest() 098ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 154ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 261ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 258ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 129ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 274ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 2m 43s 462ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 272ms
After Hooks.deleteTransportAfterTest() 110ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 154ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 224ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 272ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 172ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 327ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 13s 066ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 212ms
After Hooks.deleteTransportAfterTest() 086ms
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" 2s 645ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 189ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 218ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes 105ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	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.GeneratedMethodAccessor94.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.GeneratedMethodAccessor93.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.cleanUserDetailsAfterTest() 197ms
After Hooks.deleteTransportAfterTest() 090ms