Project Number Date
ApolloFullRunnerReport apollo-test-2.143 03 wrz 2021, 07:47

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteSimilarTransportAfterTest 52 2 28 0 0 82 3 2 5 5m 57s 696ms Failed
View Feature Transport form
Before Hooks.showScenarioName(Scenario) 001ms
Given Set "transport" inputs from JSON file "CREATE_SMALLS_IMPORT" "super-admin-skz" 000ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 667ms
When Go to new transport "SMALLS_IMPORT" 768ms
And Fill transport form 21s 409ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 257ms
And Show all transport "false" 000ms
And Go to transport details "SMALLS_IMPORT" 3s 007ms
And Click create similar button 15s 268ms
And Fill "transport" form "CREATE_SIMILAR_SMALLS_IMPORT" by "super-admin-skz" 001ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 205ms
And Open similar transport details 562ms
Then Check are transport values equals 2s 343ms
After Hooks.deleteSimilarTransportAfterTest() 585ms
After Hooks.deleteTransportAfterTest() 551ms
View Feature Transport form
Scenario Outline Check if transport created with advice by similar button has correct values
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 000ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 317ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	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.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	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.GeneratedMethodAccessor79.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.GeneratedMethodAccessor78.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.getAuthenticationTokenForUser(RestUtil.java:249)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:225)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:81)
	at ✽.Login as "pna1-carrier" and set token of apiUsername "pna1-carrier"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:28)
When Go to new transport "DELIVERY" 000ms
And Fill transport form 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Click create similar button 000ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule in "2" days 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Open similar transport details 000ms
Then Check are transport values equals 000ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Transport form
Scenario Outline Check if transport created with advice by similar button has correct carrier
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 000ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 263ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	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.GeneratedMethodAccessor79.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.GeneratedMethodAccessor78.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.getAuthenticationTokenForUser(RestUtil.java:249)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:225)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:81)
	at ✽.Login as "pna1-carrier" and set token of apiUsername "pna1-carrier"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:52)
When Go to new transport "DELIVERY" 000ms
And Fill transport form 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Click create similar button 000ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule in "2" days 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Open similar transport details 000ms
Then Check is field "CARRIER" of type "autocomplete" equals "Przewoźnik Neuca Automat 1" 000ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Transport form
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-dayco" 229ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 114ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 092ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 003ms
When Login as "dayco-admin" 4s 680ms
And Click button advice in transport table "OWN_COLLECTION" 907ms
And Set advice window in schedule 3s 390ms
And Fill advice form 11s 596ms
And Click advice save button and wait for advice form to disappear 33s 261ms
And Go to "TRANSPORT_TABLE" 428ms
And Find transport in table with status "planned" 3s 678ms
And Confirm statuses until reach "on-the-area" 6s 290ms
And Go to transport details "OWN_COLLECTION" 2s 898ms
And Click create similar button 15s 278ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 7s 021ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 224ms
And Open similar transport details 534ms
Then Check if transport form modal is visible 090ms
After Hooks.deleteSimilarTransportAfterTest() 560ms
After Hooks.deleteTransportAfterTest() 758ms
After Hooks.rollbackAllCustomFieldsSettings() 495ms
View Feature Transport form
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-dayco" 244ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 122ms
And Mark custom fields as not obligatory 004ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 022ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 000ms
When Login as "dayco-admin" 4s 999ms
And Click button advice in transport table "OWN_COLLECTION" 880ms
And Set advice window in schedule 3s 261ms
And Fill advice form 11s 525ms
And Click advice save button and wait for advice form to disappear 33s 259ms
And Go to "TRANSPORT_TABLE" 448ms
And Find transport in table with status "planned" 3s 666ms
And Confirm statuses until reach "during-load" 11s 452ms
And Go to transport details "OWN_COLLECTION" 2s 934ms
And Click create similar button 15s 263ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 6s 990ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 202ms
And Open similar transport details 527ms
Then Check if transport form modal is visible 085ms
After Hooks.deleteSimilarTransportAfterTest() 544ms
After Hooks.deleteTransportAfterTest() 801ms
After Hooks.rollbackAllCustomFieldsSettings() 495ms