Project Number Date
ApolloFullRunnerReport develop.321 27 lut 2021, 04:28

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 10m 56s 619ms Failed
Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 382ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 202ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 232ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 348ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowa aukcja" 13s 302ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 101ms
After Hooks.cleanUserDetailsAfterTest() 178ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 091ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 208ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 241ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 134ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 670ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 286ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 13s 232ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 095ms
After Hooks.cleanUserDetailsAfterTest() 168ms
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 219ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 286ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 261ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 207ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 182ms
And Wait till auction end 1m 58s 023ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Dodano nową ofertę" 3m 15s 581ms
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() 098ms
After Hooks.cleanUserDetailsAfterTest() 301ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 186ms
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 250ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 138ms
And Wait till auction end 1m 58s 023ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Aukcja zakończona bez ofert" 7s 358ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 151ms
After Hooks.cleanUserDetailsAfterTest() 189ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 368ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 235ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 261ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 107ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 227ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 335ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Oferta przelicytowana" 25s 955ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 097ms
After Hooks.cleanUserDetailsAfterTest() 184ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 177ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 202ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 236ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 140ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 191ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 1m 55s 781ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 094ms
After Hooks.cleanUserDetailsAfterTest() 206ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 142ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 203ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 201ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 133ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 284ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 7s 317ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 093ms
After Hooks.cleanUserDetailsAfterTest() 199ms
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 351ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 210ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 246ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes 066ms
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.deleteTransportAfterTest() 073ms
After Hooks.cleanUserDetailsAfterTest() 175ms