Project Number Date
ApolloFullRunnerReport develop.349 20 mar 2021, 04:07

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Auctions Mail 53 2 3 0 0 58 6 2 8 11m 10s 550ms Failed
Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 841ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 127ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 240ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 750ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowa aukcja" 12s 811ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 085ms
After Hooks.cleanUserDetailsAfterTest() 186ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 157ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 174ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 225ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 131ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 602ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 460ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 7s 288ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 086ms
After Hooks.cleanUserDetailsAfterTest() 190ms
Scenario Outline Check mail after bid has been added to auction
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 115ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 180ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 257ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 174ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 190ms
And Wait till auction end 1m 58s 024ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Dodano nową ofertę" 3m 17s 040ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AuctionMail.feature:39)
After Hooks.deleteTransportAfterTest() 140ms
After Hooks.cleanUserDetailsAfterTest() 287ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 217ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 195ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 286ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 127ms
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 882ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 092ms
After Hooks.cleanUserDetailsAfterTest() 154ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 859ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 182ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 228ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 157ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 200ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 353ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Oferta przelicytowana" 25s 327ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 074ms
After Hooks.cleanUserDetailsAfterTest() 170ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 163ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 244ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 230ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 136ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 182ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 2m 14s 667ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 101ms
After Hooks.cleanUserDetailsAfterTest() 187ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 212ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 187ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 249ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 132ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 326ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 6s 926ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 080ms
After Hooks.cleanUserDetailsAfterTest() 188ms
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 583ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 179ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 194ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes 097ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor186.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.GeneratedMethodAccessor92.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.GeneratedMethodAccessor91.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() 067ms
After Hooks.cleanUserDetailsAfterTest() 209ms