Project Number Date
ApolloFullRunnerReport apollo-test-2.142 02 wrz 2021, 20:16

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 58s 263ms 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 651ms
When Go to new transport "SMALLS_IMPORT" 767ms
And Fill transport form 21s 490ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 182ms
And Show all transport "false" 000ms
And Go to transport details "SMALLS_IMPORT" 3s 005ms
And Click create similar button 15s 307ms
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 262ms
And Open similar transport details 550ms
Then Check are transport values equals 2s 354ms
After Hooks.deleteSimilarTransportAfterTest() 616ms
After Hooks.deleteTransportAfterTest() 583ms
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" 316ms
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" 246ms
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" 230ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 127ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 061ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 000ms
When Login as "dayco-admin" 4s 655ms
And Click button advice in transport table "OWN_COLLECTION" 995ms
And Set advice window in schedule 3s 482ms
And Fill advice form 11s 640ms
And Click advice save button and wait for advice form to disappear 33s 305ms
And Go to "TRANSPORT_TABLE" 454ms
And Find transport in table with status "planned" 3s 675ms
And Confirm statuses until reach "on-the-area" 6s 311ms
And Go to transport details "OWN_COLLECTION" 2s 950ms
And Click create similar button 15s 256ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 7s 011ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 227ms
And Open similar transport details 496ms
Then Check if transport form modal is visible 070ms
After Hooks.deleteSimilarTransportAfterTest() 573ms
After Hooks.deleteTransportAfterTest() 750ms
After Hooks.rollbackAllCustomFieldsSettings() 497ms
View Feature Transport form
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-dayco" 240ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 120ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 007ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 4s 873ms
And Click button advice in transport table "OWN_COLLECTION" 940ms
And Set advice window in schedule 3s 290ms
And Fill advice form 11s 614ms
And Click advice save button and wait for advice form to disappear 33s 350ms
And Go to "TRANSPORT_TABLE" 502ms
And Find transport in table with status "planned" 3s 690ms
And Confirm statuses until reach "during-load" 11s 443ms
And Go to transport details "OWN_COLLECTION" 2s 934ms
And Click create similar button 15s 223ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 6s 983ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 237ms
And Open similar transport details 608ms
Then Check if transport form modal is visible 095ms
After Hooks.deleteSimilarTransportAfterTest() 550ms
After Hooks.deleteTransportAfterTest() 813ms
After Hooks.rollbackAllCustomFieldsSettings() 516ms