Project Number Date
ApolloFullRunnerReport apollo-test-2.57 27 cze 2021, 06:33

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 93 3 2 0 0 98 12 3 15 5m 22s 040ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 537ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 975ms
When Go to "TRANSPORT_TABLE" 320ms
And Show all transport types 1s 118ms
And Verify that transport has "0" files 065ms
Then Add file to transport by API 1s 614ms
And Verify that transport has "1" files 2s 671ms
After Hooks.deleteTransportAfterTest() 680ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 430ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 969ms
When Go to "TRANSPORT_TABLE" 412ms
And Show all transport types 1s 158ms
And Verify that transport has "0" files 089ms
Then Add file to transport by API 1s 392ms
And Verify that transport has "1" files 1s 709ms
After Hooks.deleteTransportAfterTest() 630ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 754ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 183ms
When Go to "TRANSPORT_TABLE" 421ms
And Show all transport types 1s 146ms
And Verify that transport has "0" files 088ms
Then Add file to transport by API 1s 425ms
And Verify that transport has "1" files 407ms
After Hooks.deleteTransportAfterTest() 1s 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 361ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 977ms
When Go to "TRANSPORT_TABLE" 414ms
And Show all transport types 1s 150ms
And Verify that transport has "0" files 095ms
Then Add file to transport by API 1s 396ms
And Verify that transport has "1" files 408ms
After Hooks.deleteTransportAfterTest() 596ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 410ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 988ms
And Delete transport 20s 802ms
When Go to "ARCHIVE_TAB" 542ms
And Show "DELIVERY" 146ms
And Verify that transport has "0" files 5s 118ms
Then Add file to transport 389ms
And Verify that transport has "1" files 1s 613ms
After Hooks.deleteTransportAfterTest() 730ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 601ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 980ms
And Delete transport 18s 529ms
When Go to "ARCHIVE_TAB" 475ms
And Show "LOAD" 190ms
And Verify that transport has "0" files 5s 669ms
Then Add file to transport 399ms
And Verify that transport has "1" files 1s 751ms
After Hooks.deleteTransportAfterTest() 728ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 922ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 158ms
And Delete transport 21s 399ms
When Go to "ARCHIVE_TAB" 563ms
And Show "DELIVERY" 145ms
And Verify that transport has "0" files 6s 946ms
Then Add file to transport 414ms
And Verify that transport has "1" files 1s 629ms
After Hooks.deleteTransportAfterTest() 844ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 540ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 927ms
And Delete transport 18s 350ms
When Go to "ARCHIVE_TAB" 514ms
And Show "CONTAINER" 180ms
And Verify that transport has "0" files 4s 376ms
Then Add file to transport 420ms
And Verify that transport has "1" files 1s 583ms
After Hooks.deleteTransportAfterTest() 702ms
Scenario Outline Check that the file is added to the transport after carrier acceptance when the transport has been passed to the carrier
Steps
Given Set token of apiUsername "super-admin-adama" 238ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 964ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 622ms
And Accept transferred transport by Api 017ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Transport/File.feature:41)
And Login as "paa1-carrier@qa.qa-test" 000ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 1s 001ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 741ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 268ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 959ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 785ms
After Hooks.deleteTransportAfterTest() 690ms
Given Set token of apiUsername "super-admin-adama" 225ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 066ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 813ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 652ms
And Login as "paa1-carrier@qa.qa-test" 2s 318ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 486ms
After Hooks.deleteTransportAfterTest() 640ms
Scenario Outline Check if it CMR documents are added to transport after creation
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 365ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 269ms
When Go to "TRANSPORT_TABLE" 325ms
And Show all transport "true" 205ms
Then Verify that transport has "1" CMR file 1s 557ms
java.lang.AssertionError: Liczba plików CMR w transporcie się nie zgadza! expected:<1> but was:<2>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at CucumberTests.Transport.TransportFile.verifyThatTransportHasCMRFile(TransportFile.java:75)
	at ✽.Verify that transport has "1" CMR file(file:Features/Atom/Transport/File.feature:76)
After Hooks.deleteTransportAfterTest() 697ms
Scenario Outline Check if it CMR documents are added to transport after creation
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 308ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 428ms
When Go to "TRANSPORT_TABLE" 397ms
And Show all transport "true" 255ms
Then Verify that transport has "2" CMR file 1s 663ms
java.lang.AssertionError: Liczba plików CMR w transporcie się nie zgadza! expected:<2> but was:<4>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at CucumberTests.Transport.TransportFile.verifyThatTransportHasCMRFile(TransportFile.java:75)
	at ✽.Verify that transport has "2" CMR file(file:Features/Atom/Transport/File.feature:76)
After Hooks.deleteTransportAfterTest() 690ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 296ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 428ms
When Go to "TRANSPORT_TABLE" 399ms
And Show all transport "true" 252ms
Then Verify that "CMR" document can be downloaded 19s 074ms
After Hooks.deleteTransportAfterTest() 726ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 512ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 467ms
And Show all transport "true" 207ms
And Delete transport 19s 093ms
When Go to "ARCHIVE_TAB" 503ms
And Show "TRANSPORT_ORDER" 146ms
Then Verify that "CMR" document can be downloaded 23s 337ms
After Hooks.deleteTransportAfterTest() 822ms