Project Number Date
ApolloFullRunnerReport develop.461 16 cze 2021, 06:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice transport 380 9 48 0 0 437 32 9 41 27m 18s 254ms Failed
Feature Advice transport
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 306ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 2s 567ms
And Get inputs from database "CREATE_ADVICE_CONTAINER" "super-admin-adama" 963ms
And Check is transport "CONTAINER" created in transport table and set transport id 1s 134ms
When Click button advice in transport table "CONTAINER" 092ms
And Set advice window in schedule in the past 2s 985ms
And Fill advice form 16s 272ms
And Click advice save button to check error message 063ms
Then Check if possible advice alert is displayed 020ms
After Hooks.deleteTransportAfterTest() 625ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 409ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 404ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 007ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 120ms
When Click button advice in transport table "DELIVERY" 106ms
And Set advice window in schedule in the past 2s 864ms
And Fill advice form 8s 474ms
And Click advice save button to check error message 144ms
Then Check if possible advice alert is displayed 019ms
After Hooks.deleteTransportAfterTest() 215ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 569ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 445ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 003ms
And Check is transport "LOAD" created in transport table and set transport id 1s 102ms
When Click button advice in transport table "LOAD" 085ms
And Set advice window in schedule in the past 3s 196ms
And Fill advice form 8s 607ms
And Click advice save button to check error message 093ms
Then Check if possible advice alert is displayed 024ms
After Hooks.deleteTransportAfterTest() 151ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 251ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 329ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 010ms
And Check is transport "LOAD" created in transport table and set transport id 1s 118ms
When Click button advice in transport table "LOAD" 085ms
And Set advice window in schedule in the past 2s 578ms
And Fill advice form 13s 210ms
And Click advice save button to check error message 067ms
Then Check if possible advice alert is displayed 022ms
After Hooks.deleteTransportAfterTest() 125ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 545ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 449ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 004ms
And Check is transport "CONTAINER" created in transport table and set transport id 1s 116ms
When Click button advice in transport table "CONTAINER" 109ms
And Set advice window in schedule in the past 2s 539ms
And Fill advice form 13s 290ms
And Click advice save button to check error message 095ms
Then Check if possible advice alert is displayed 013ms
After Hooks.deleteTransportAfterTest() 144ms
Scenario Outline Check if possible to edit advice in transport details.
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 601ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 315ms
And Show all transport types 1s 032ms
And Create advice "CREATE_ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 49s 962ms
And Go to "TRANSPORT_TABLE" 261ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 002ms
When Go to transport details "CONTAINER" 4s 528ms
And Fill transport form 15s 061ms
java.lang.AssertionError: Nie można wypełnić pola number-of-pallets-step-1, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Advice/AdviceTransport.feature:32)
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to transport details "CONTAINER" 000ms
And Expand advice panel 000ms
Then Check are advice values equals after edition 000ms
After Hooks.deleteTransportAfterTest() 178ms
Scenario Outline Check if possible to edit advice in transport details.
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 284ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 271ms
And Show all transport types 1s 042ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 42s 480ms
And Go to "TRANSPORT_TABLE" 233ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 006ms
When Go to transport details "DELIVERY" 4s 462ms
And Fill transport form 25s 653ms
java.lang.AssertionError: Nie można wypełnić pola number-of-pallets-step-0, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Advice/AdviceTransport.feature:32)
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to transport details "DELIVERY" 000ms
And Expand advice panel 000ms
Then Check are advice values equals after edition 000ms
After Hooks.deleteTransportAfterTest() 155ms
Scenario Outline Check if possible to edit advice in transport details.
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 261ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 269ms
And Show all transport types 1s 042ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-piast" 42s 333ms
And Go to "TRANSPORT_TABLE" 162ms
And Get inputs from database "EDIT_LOAD" "super-admin-piast" 006ms
When Go to transport details "LOAD" 4s 500ms
And Fill transport form 19s 860ms
java.lang.AssertionError: Nie można wypełnić pola number-of-pallets-step-1, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Advice/AdviceTransport.feature:32)
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to transport details "LOAD" 000ms
And Expand advice panel 000ms
Then Check are advice values equals after edition 000ms
After Hooks.deleteTransportAfterTest() 220ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 458ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 253ms
And Show all transport types 1s 038ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 47s 288ms
And Go to "TRANSPORT_TABLE" 269ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 4s 409ms
And Fill transport form 26s 115ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 006ms
And Expand advice panel 166ms
And Edit advice in transport details 18s 622ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 151ms
And Go to transport details "LOAD" 4s 373ms
And Expand advice panel 173ms
Then Check are advice values equals after edition 6s 284ms
After Hooks.deleteTransportAfterTest() 248ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 426ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 300ms
And Show all transport types 1s 041ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-keeeper" 47s 609ms
And Go to "TRANSPORT_TABLE" 173ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-keeeper" 003ms
When Go to transport details "CONTAINER" 4s 598ms
And Fill transport form 26s 071ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-keeeper" 003ms
And Expand advice panel 165ms
And Edit advice in transport details 18s 528ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 140ms
And Go to transport details "CONTAINER" 4s 332ms
And Expand advice panel 093ms
Then Check are advice values equals after edition 6s 256ms
After Hooks.deleteTransportAfterTest() 218ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 260ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 319ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 005ms
When Show all transport types 1s 037ms
And Click button advice in transport table "CONTAINER" 104ms
And Set advice window in schedule 2s 599ms
And Fill advice form 12s 507ms
And Click advice save button and wait for advice form to disappear 30s 713ms
And Go to "TRANSPORT_TABLE" 163ms
And Go to transport details "CONTAINER" 4s 327ms
Then Check are advice values equals 350ms
After Hooks.deleteTransportAfterTest() 179ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 548ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 324ms
And Get inputs from database "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 004ms
When Show all transport types 1s 033ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 094ms
And Set advice window in schedule 6s 619ms
And Fill advice form 11s 987ms
And Click advice save button and wait for advice form to disappear 30s 773ms
And Go to "TRANSPORT_TABLE" 152ms
And Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 758ms
Then Check are advice values equals 2s 271ms
After Hooks.deleteTransportAfterTest() 172ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 598ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 317ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
When Show all transport types 1s 030ms
And Click button advice in transport table "DELIVERY" 088ms
And Set advice window in schedule 2s 733ms
And Fill advice form 8s 396ms
And Click advice save button and wait for advice form to disappear 31s 334ms
And Go to "TRANSPORT_TABLE" 206ms
And Go to transport details "DELIVERY" 4s 500ms
Then Check are advice values equals 193ms
After Hooks.deleteTransportAfterTest() 144ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 520ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 284ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 003ms
When Show all transport types 1s 030ms
And Click button advice in transport table "LOAD" 100ms
And Set advice window in schedule 3s 040ms
And Fill advice form 8s 847ms
And Click advice save button and wait for advice form to disappear 31s 233ms
And Go to "TRANSPORT_TABLE" 192ms
And Go to transport details "LOAD" 4s 689ms
Then Check are advice values equals 208ms
After Hooks.deleteTransportAfterTest() 151ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 218ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 253ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 003ms
When Show all transport types 1s 040ms
And Click button advice in transport table "LOAD" 097ms
And Set advice window in schedule 2s 793ms
And Fill advice form 13s 334ms
And Click advice save button and wait for advice form to disappear 30s 684ms
And Go to "TRANSPORT_TABLE" 200ms
And Go to transport details "LOAD" 4s 408ms
Then Check are advice values equals 2s 290ms
After Hooks.deleteTransportAfterTest() 130ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 161ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 260ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 005ms
When Show all transport types 1s 047ms
And Click button advice in transport table "CONTAINER" 105ms
And Set advice window in schedule 2s 541ms
And Fill advice form 13s 475ms
And Click advice save button and wait for advice form to disappear 30s 733ms
And Go to "TRANSPORT_TABLE" 197ms
And Go to transport details "CONTAINER" 4s 385ms
Then Check are advice values equals 2s 321ms
After Hooks.deleteTransportAfterTest() 143ms
Given Set token of apiUsername "super-admin-adama" 141ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 272ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 229ms
And Set token of apiUsername "paa1-carrier@qa.qa-test" 115ms
And Accept transferred transport by Api 184ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 283ms
And Get inputs from database "ADVICE_TRANSPORT" "super-admin-adama" 004ms
When Show all transport types 1s 122ms
And Click button advice in transport table "TRANSPORT" 089ms
And Set advice window in schedule 2s 534ms
And Fill advice form 11s 980ms
And Click advice save button and wait for advice form to disappear 31s 240ms
And Go to "TRANSPORT_TABLE" 246ms
And Go to transport details "TRANSPORT" 4s 457ms
Then Check are advice values equals 2s 297ms
After Hooks.deleteTransportAfterTest() 160ms
Scenario Outline Check if it is possible to advice by advice button in transport table after passing it on to the carrier
Steps
Given Set token of apiUsername "super-admin-skz" 123ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 269ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 120ms
And Set token of apiUsername "pskza1-carrier@qa.qa-test" 128ms
And Accept transferred transport by Api 304ms
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.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.GeneratedMethodAccessor73.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.GeneratedMethodAccessor72.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.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:84)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:83)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Advice/AdviceTransport.feature:95)
And Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 000ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 000ms
When Show all transport types 000ms
And Click button advice in transport table "SMALLS_IMPORT" 000ms
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "SMALLS_IMPORT" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 107ms
Given Set token of apiUsername "super-admin-skz" 156ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 258ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 103ms
And Set token of apiUsername "pskza1-carrier@qa.qa-test" 146ms
And Accept transferred transport by Api 123ms
And Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 259ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 005ms
When Show all transport types 1s 116ms
And Click button advice in transport table "SMALLS_EXPORT" 144ms
And Set advice window in schedule 2s 690ms
And Fill advice form 14s 589ms
And Click advice save button and wait for advice form to disappear 30s 798ms
And Go to "TRANSPORT_TABLE" 193ms
And Go to transport details "SMALLS_EXPORT" 4s 447ms
Then Check are advice values equals 2s 286ms
After Hooks.deleteTransportAfterTest() 208ms
Given Set token of apiUsername "super-admin-adama" 123ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 247ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 118ms
And Accept transferred transport by Api 105ms
And Login as "paa1-carrier@qa.qa-test" 1s 080ms
When Show all transport types 1s 180ms
And Click button advice in transport table "TRANSPORT" 112ms
And Set week view 1s 550ms
And Show yesterday 1s 052ms
Then Check if advice restriction blockade windows are visible 026ms
After Hooks.deleteTransportAfterTest() 123ms
Given Set token of apiUsername "super-admin-skz" 133ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 15s 265ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 099ms
And Accept transferred transport by Api 123ms
And Login as "pskza1-carrier@qa.qa-test" 1s 377ms
When Show all transport types 1s 077ms
And Click button advice in transport table "SMALLS_IMPORT" 117ms
And Set week view 2s 374ms
And Show yesterday 1s 075ms
Then Check if advice restriction blockade windows are visible 247ms
After Hooks.deleteTransportAfterTest() 137ms
Given Set token of apiUsername "super-admin-skz" 125ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 15s 388ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 128ms
And Accept transferred transport by Api 143ms
And Login as "pskza1-carrier@qa.qa-test" 1s 144ms
When Show all transport types 1s 075ms
And Click button advice in transport table "SMALLS_EXPORT" 145ms
And Set week view 1s 870ms
And Show yesterday 1s 061ms
Then Check if advice restriction blockade windows are visible 026ms
After Hooks.deleteTransportAfterTest() 144ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 592ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 537ms
And Show all transport "false" 027ms
And Click on time window date 1s 332ms
And Select view "DAYS_4" 2s 070ms
And Move advice window "3" 1s 325ms
Then Check if advice window is in new location 021ms
After Hooks.deleteTransportAfterTest() 132ms
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 1s 484ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" 15s 795ms
And Show all transport "false" 017ms
And Click on time window date 15s 797ms
And Select view "DAYS_4" 2s 153ms
And Move advice window "3" 1s 527ms
Then Check if advice window is in new location 040ms
After Hooks.deleteTransportAfterTest() 319ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 772ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 455ms
And Show all transport "false" 019ms
And Click on time window date 15s 617ms
And Select view "DAYS_4" 2s 119ms
And Move advice window "3" 1s 451ms
Then Check if advice window is in new location 020ms
After Hooks.deleteTransportAfterTest() 142ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 913ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 1s 401ms
And Show all transport "false" 010ms
And Click on time window date 1s 561ms
And Select view "DAYS_4" 2s 093ms
And Move advice window "3" 1s 351ms
Then Check if advice window is in new location 016ms
After Hooks.deleteTransportAfterTest() 158ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 498ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 489ms
And Show all transport "false" 014ms
And Click on time window date 1s 421ms
And Select view "DAYS_4" 2s 045ms
And Move advice window "3" 1s 279ms
Then Check if advice window is in new location 015ms
After Hooks.deleteTransportAfterTest() 216ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 497ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 458ms
And Show all transport "true" 076ms
And Click on time window date 1s 435ms
And Select view "DAYS_4" 2s 052ms
And Move advice window "3" 1s 381ms
Then Check if advice window is in new location 028ms
After Hooks.deleteTransportAfterTest() 110ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 471ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 224ms
And Set "advice" inputs from JSON file "ADVICE_DELIVERY" "super-admin-piast" 009ms
When Show all transport types 1s 044ms
And Click button advice in transport table "DELIVERY" 135ms
And Set advice window in schedule 2s 843ms
And Fill advice form 8s 537ms
And Click advice save button and wait for advice form to disappear 30s 732ms
And Go to "TRANSPORT_TABLE" 311ms
And Click on time window date 1s 474ms
And Select view "DAYS_4" 2s 076ms
And Move advice window "3" 1s 551ms
Then Check if advice window is in new location 106ms
After Hooks.deleteTransportAfterTest() 202ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 687ms
And Create transport "CREATE_LATE_DELIVERY" by JSON file as "super-admin-hochland" in "0" days 1s 649ms
Then Check if transport row is "red" 3s 063ms
After Hooks.deleteTransportAfterTest() 215ms
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 976ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 801ms
And Go to "TRANSPORT_TABLE" 151ms
And Show all transport types 1s 045ms
And Click on time window date 1s 453ms
And Scroll to time window "adviceWindow" 034ms
And Set time window height "80" "adviceWindow" 2s 375ms
Then Check height of the time window after expanding by "80" in "adviceWindow" 024ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "80" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:186)
After Hooks.deleteTransportAfterTest() 152ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 017ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 1s 361ms
And Go to "TRANSPORT_TABLE" 141ms
And Show all transport types 1s 043ms
And Click on time window date 1s 436ms
And Scroll to time window "adviceWindow" 027ms
And Set time window height "120" "adviceWindow" 2s 375ms
Then Check height of the time window after expanding by "120" in "adviceWindow" 026ms
After Hooks.deleteTransportAfterTest() 130ms
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 087ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 364ms
And Go to "TRANSPORT_TABLE" 134ms
And Show all transport types 1s 044ms
And Click on time window date 1s 335ms
And Scroll to time window "adviceWindow" 036ms
And Set time window height "48" "adviceWindow" 2s 376ms
Then Check height of the time window after expanding by "48" in "adviceWindow" 025ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "48" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:186)
After Hooks.deleteTransportAfterTest() 135ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 889ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 15s 352ms
And Go to "TRANSPORT_TABLE" 289ms
And Show all transport types 15s 057ms
And Click on time window date 15s 816ms
And Scroll to time window "adviceWindow" 051ms
And Set time window height "40" "adviceWindow" 2s 412ms
Then Check height of the time window after expanding by "40" in "adviceWindow" 021ms
After Hooks.deleteTransportAfterTest() 157ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 228ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 238ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 004ms
When Show all transport types 1s 049ms
And Click button advice in transport table "DELIVERY" 103ms
And Set advice window in schedule 2s 661ms
And Fill advice form 8s 345ms
And Click advice save button and wait for advice form to disappear 30s 757ms
And Go to "TRANSPORT_TABLE" 264ms
And Click on time window date 1s 578ms
And Set time window height "120" "adviceWindow" 2s 420ms
Then Check height of the time window after expanding by "120" in "adviceWindow" 017ms
After Hooks.deleteTransportAfterTest() 136ms
Scenario Outline Check if it is possible to advice after clicking back button in browser
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 003ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 440ms
And Go to "WAREHOUSE_TAB" 726ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 765ms
When Go to new transport "DELIVERY" 350ms
And Fill transport form 37s 957ms
java.lang.AssertionError: Nie można wypełnić pola number-of-pallets-step-0, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Advice/AdviceTransport.feature:219)
And Click "save-transport" save button and wait for form to disappear 000ms
And Click previous page button in browser 000ms
Then Check if advice window can't be created 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it is possible to advice after modifing warehouse id in browser url
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 003ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 900ms
And Go to "WAREHOUSE_TAB" 920ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 143ms
When Go to new transport "DELIVERY" 376ms
And Fill transport form 37s 994ms
java.lang.AssertionError: Nie można wypełnić pola number-of-pallets-step-0, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Advice/AdviceTransport.feature:234)
And Click "save-transport" save button and wait for form to disappear 000ms
And Replace warehouse id in browser url with "Twarożkarnia wyrób gotowy" id 000ms
Then Check if advice window can't be created 000ms
After Hooks.deleteTransportAfterTest() 002ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 341ms
And Create transport "CREATE_TRANSPORT_WITHOUT_WAREHOUSES" by JSON file as "super-admin-adama" 1s 335ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 256ms
And Get inputs from database "ADVICE_TRANSPORT" "super-admin-adama" 001ms
When Show all transport types 1s 024ms
And Click button advice in transport table "TRANSPORT" 974ms
And Fill advice form 11s 613ms
And Click advice save button and wait for advice form to disappear 30s 673ms
When Find transport in table with status "no-advice-undefined" 3s 260ms
And Open statuses popup 128ms
And Wait "2" seconds 2s
Then Check if transport has checkpoints from list "Zgłoszenie się kierowcy,Zakończenie załadunku,Dostarczenie do klienta" in "1" 062ms
After Hooks.deleteTransportAfterTest() 121ms
Scenario Outline Check if mode of transportation select is still empty after selecting driver in advice form
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 529ms
And Create default accepted mode of transportation by API with "pba1-carrier" 2s 396ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 1s 373ms
And Set "advice" inputs from JSON file "ADVICE_LOAD_PL" "super-admin-bausch" 003ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 157ms
And Click button advice in transport table "LOAD_PL" 30s 070ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-column-name='ADVICE' and ancestor-or-self::*[@data-transport-type='LOAD_PL']]//button"}
  (Session info: headless chrome=91.0.4472.77)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.EJ8nQZ}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: e9ffa0727084bdcaee38ac1406847416
*** Element info: {Using=xpath, value=//td[@data-column-name='ADVICE' and ancestor-or-self::*[@data-transport-type='LOAD_PL']]//button}
	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.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at CucumberTests.Transport.AdviceTransport.adviceTransport(AdviceTransport.java:69)
	at ✽.Click button advice in transport table "LOAD_PL"(file:Features/Atom/Advice/AdviceTransport.feature:267)
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 000ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Show all transport types 000ms
And Click button advice in transport table "LOAD_PL" 000ms
And Set advice window in schedule 000ms
And Select driver "Marek Kanarek" from suggestions 000ms
Then Verify if mode of transportation select is empty 000ms
After Hooks.deleteAllTransports() 1m 16s 428ms
After Hooks.deleteModeOfTransportationAfterTest() 327ms
Given Set token of apiUsername "super-admin-farmacol" 123ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 231ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 853ms
And Login as "farmacol-admin" 1s 731ms
And Go to "WAREHOUSE_TAB" 616ms
And Select warehouse "Katowice Przyjęcia" 1s 179ms
And Set week view 2s 126ms
And Move cursor over time window element 361ms
Then Check if "Zaawizowany" "31415" "06:00" "GDA12345" are visible on time window popup details 131ms
After Hooks.deleteTransportAfterTest() 116ms
- order: advice data => advice window [A-7478]
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 716ms
And Create default accepted mode of transportation by API with "pba1-carrier" 493ms
And Create transport "CREATE_EXW_DELIVERY" by JSON file as "super-admin-bausch" 1s 338ms
And Set "advice" inputs from JSON file "ADVICE_EXW_DELIVERY" "super-admin-bausch" 005ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 125ms
When Go to "TRANSPORT_TABLE" 124ms
And Show all transport types 1s 037ms
And Click button advice in transport table "EXW_DELIVERY" 1s 132ms
And Fill advice form 8s 886ms
And Click advice save button and wait for advice form to disappear 30s 739ms
And Click button advice in transport table "EXW_DELIVERY" 125ms
And Set advice window in schedule 2s 617ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 1s 575ms
And Click advice save button and wait for advice form to disappear 30s 828ms
And Go to "TRANSPORT_TABLE" 146ms
And Show all transport types 1s 046ms
And Go to transport details "EXW_DELIVERY" 4s 460ms
Then Check are advice values equals 2s 250ms
After Hooks.deleteTransportAfterTest() 163ms
After Hooks.deleteModeOfTransportationAfterTest() 134ms