Project Number Date
ApolloFullRunnerReport develop.426 20 maj 2021, 05:03

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Auctions Mail 52 3 3 0 0 58 5 3 8 13m 34s 116ms Failed
Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 813ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 175ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 354ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 746ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowa aukcja" 18s 536ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 141ms
After Hooks.cleanUserDetailsAfterTest() 217ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 173ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 231ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 263ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 161ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 592ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 450ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 19s 009ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 109ms
After Hooks.cleanUserDetailsAfterTest() 201ms
Given Login as "swisskrono-producer" and set token of apiUsername "super-admin-skz" 2s 663ms
And Prepare user "swisskrono-producer" details with all notifications and "apolloautomattest@gmail.com" by JSON file 348ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 353ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 128ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 234ms
And Wait till auction end 1m 58s 023ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Dodano nową ofertę" 7s 738ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 102ms
After Hooks.cleanUserDetailsAfterTest() 276ms
Scenario Outline Check mail after auction without bids
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 112ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 124ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 240ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 103ms
And Wait till auction end 1m 58s 020ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Aukcja zakończona bez ofert" 3m 14s 255ms
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:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AuctionMail.feature:52)
After Hooks.deleteTransportAfterTest() 147ms
After Hooks.cleanUserDetailsAfterTest() 118ms
Scenario Outline Check mail after loosing first place in auction
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 637ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 214ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 267ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 166ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 280ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 407ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Oferta przelicytowana" 3m 15s 441ms
Then Check if user got a mail 001ms
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:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AuctionMail.feature:66)
After Hooks.deleteTransportAfterTest() 132ms
After Hooks.cleanUserDetailsAfterTest() 230ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 153ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 260ms
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 170ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 228ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 1m 20s 521ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 090ms
After Hooks.cleanUserDetailsAfterTest() 190ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 128ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 220ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 264ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 165ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 340ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 19s 662ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 127ms
After Hooks.cleanUserDetailsAfterTest() 237ms
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" 1s 797ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 238ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 300ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes 117ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor191.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.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() 154ms
After Hooks.cleanUserDetailsAfterTest() 204ms