Project Number Date
ApolloFullRunnerReport develop.347 15 cze 2021, 22:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Classifications Table 70 4 9 0 0 83 3 4 7 4m 45s 875ms Failed
Feature Classifications Table
Given Set token of apiUsername "super-admin-skd" 137ms
And Set basic authorities "ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 470ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 388ms
When Confirm status "REPORTING" by Public API "v1" 130ms
And Confirm status "ARRIVAL" by Public API "v1" 251ms
Then Login as "swiss-krono-delivery-admin" 1s 232ms
And Go to "CLASSIFICATION_TAB" 720ms
And Verify that classification resource is in classifications table 036ms
After Hooks.deleteTransportAfterTest() 136ms
After Hooks.rollbackAddedAuthorities() 040ms
Given Set token of apiUsername "super-admin-skd" 106ms
And Set basic authorities "ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 031ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 353ms
When Login as "swiss-krono-delivery-admin" 1s 420ms
And Go to "CLASSIFICATION_TAB" 448ms
And Confirm status "REPORTING" by Public API "v1" 059ms
And Confirm status "ARRIVAL" by Public API "v1" 101ms
Then Verify that classification resource is in classifications table 2s 836ms
After Hooks.deleteTransportAfterTest() 101ms
After Hooks.rollbackAddedAuthorities() 029ms
Scenario Outline Check if ClassificationResource object is removed from table after transport is deleted
Steps
Given Set token of apiUsername "super-admin-skd" 104ms
And Set basic authorities "ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 326ms
When Login as "swiss-krono-delivery-admin" 1s 613ms
And Go to "CLASSIFICATION_TAB" 445ms
And Confirm status "REPORTING" by Public API "v1" 057ms
And Confirm status "ARRIVAL" by Public API "v1" 084ms
And Verify that classification resource is in classifications table 2s 915ms
Then Delete created transport by API 167ms
And Verify that classification resource disappeared from classifications table after delete 30s 154ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //tr[@data-transport-id='219016986'] (tried for 30 second(s) with 500 MILLISECONDS interval)
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-2/temp/buildTmp/.com.google.Chrome.trLoV9}, 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: cf25e096a8cf8b0d45d47fc76baf8e88
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:219)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.verifyThatClassificationResourceDisappearedFromClassificationsTableAfterDelete(ClassificationResourceTest.java:97)
	at ✽.Verify that classification resource disappeared from classifications table after delete(file:Features/Atom/ClassificationResource/ClassificationsTab.feature:42)
After Hooks.rollbackAddedAuthorities() 037ms
Given Set token of apiUsername "super-admin-skd" 104ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 305ms
And Set basic authorities "ROLE_CLASSIFICATION_TAB;ROLE_QUEUES_TAB" to user "swiss-krono-delivery-admin" 080ms
And Confirm status "REPORTING" by Public API "v1" 089ms
And Confirm status "ARRIVAL" by Public API "v1" 153ms
When Login as "swiss-krono-delivery-admin" 1s 380ms
And Go to "CLASSIFICATION_TAB" 380ms
When Verify that classification resource is in table 026ms
And Find element "Drewno MDF" in select "resource-square" classification resource 1s 178ms
And Find element "igla. okrągłe HDS" in select "resource-queue" classification resource 1s 182ms
And Save classification resource 083ms
Then Verify that classification resource disappeared from classifications table 30s 063ms
And Go to "TRANSPORT_TABLE" 286ms
And Check if transport has "classified" 021ms
And Go to "QUEUES_TAB" 165ms
And Go to square: "Drewno MDF" 074ms
And Verify transport is in correct queue "igla. okrągłe HDS" 024ms
After Hooks.deleteTransportAfterTest() 138ms
After Hooks.rollbackAddedAuthorities() 049ms
Scenario Outline Check if transport disappear from classification tab after revoking arrival status
Steps
Given Set token of apiUsername "super-admin-skd" 100ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 289ms
And Set basic authorities "ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 034ms
And Confirm status "REPORTING" by Public API "v1" 082ms
And Confirm status "ARRIVAL" by Public API "v1" 153ms
When Login as "swiss-krono-delivery-admin" 1s 351ms
And Go to "CLASSIFICATION_TAB" 302ms
And Verify that classification resource is in classifications table 030ms
And Find statuses for transport in table 16s 157ms
And Revoke statuses until reach "planned" 15s 298ms
java.lang.ArrayIndexOutOfBoundsException: -1
	at java.util.ArrayList.elementData(ArrayList.java:422)
	at java.util.ArrayList.get(ArrayList.java:435)
	at Pages.Transport.TransportsPage.revokeStatuses(TransportsPage.java:331)
	at CucumberTests.StatusTests.RevokeStatuses.revokeStatusesUntilReach(RevokeStatuses.java:48)
	at ✽.Revoke statuses until reach "planned"(file:Features/Atom/ClassificationResource/ClassificationsTab.feature:81)
And Check if transport has "planned" 000ms
Then Go to "CLASSIFICATION_TAB" 000ms
And Verify that classification resource disappeared from classifications table 000ms
After Hooks.deleteTransportAfterTest() 116ms
After Hooks.rollbackAddedAuthorities() 028ms
Scenario Outline Check if transport appear in classification tab after revoking classification status
Steps
Given Set token of apiUsername "super-admin-skd" 105ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 357ms
And Set basic authorities "ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 044ms
And Confirm status "REPORTING" by Public API "v1" 069ms
And Confirm status "ARRIVAL" by Public API "v1" 102ms
And Assign Queue to classification resource: "super-admin-skd" "trociny" "CLASSIFICATION" 143ms
When Login as "swiss-krono-delivery-admin" 1s 280ms
And Go to "TRANSPORT_TABLE" 191ms
And Find statuses for transport in table 15s 755ms
And Revoke statuses until reach "in-the-area" 15s 323ms
java.lang.ArrayIndexOutOfBoundsException
And Check if transport has "in-the-area" 000ms
Then Go to "CLASSIFICATION_TAB" 000ms
And Verify that classification resource doesn't have selected "resource-square" 000ms
After Hooks.deleteTransportAfterTest() 082ms
After Hooks.rollbackAddedAuthorities() 025ms
Scenario Outline Check if transport appear in classification tab after revoking unload status
Steps
Given Set token of apiUsername "super-admin-skd" 126ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 403ms
And Set basic authorities "ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 031ms
And Confirm status "REPORTING" by Public API "v1" 051ms
And Confirm status "ARRIVAL" by Public API "v1" 104ms
And Assign Queue to classification resource: "super-admin-skd" "trociny" "CLASSIFICATION" 121ms
And Assign Place to classification resource: "super-admin-skd" "trociny" "Rozładunek" "UNLOAD" 219ms
When Login as "swiss-krono-delivery-admin" 1s 310ms
And Go to "TRANSPORT_TABLE" 199ms
And Find statuses for transport in table 15s 690ms
And Revoke statuses until reach "in-the-area" 15s 214ms
java.lang.ArrayIndexOutOfBoundsException
And Check if transport has "in-the-area" 000ms
Then Go to "CLASSIFICATION_TAB" 000ms
And Verify that classification resource doesn't have selected "resource-square" 000ms
After Hooks.deleteTransportAfterTest() 101ms
After Hooks.rollbackAddedAuthorities() 026ms