Project Number Date
ApolloFullRunnerReport develop.456 08 cze 2021, 17:01

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Queues Status Tab 57 2 13 0 0 72 4 2 6 3m 35s 873ms Failed
Feature Queues Status Tab
Given Set token of apiUsername "super-admin-skd" 151ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 236ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 418ms
When Confirm status "REPORTING" by Public API "v1" 099ms
And Confirm status "ARRIVAL" by Public API "v1" 131ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 199ms
And Login as "swiss-krono-delivery-admin" 1s 880ms
Then Go to "QUEUES_STATUS_TAB" 682ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 025ms
After Hooks.deleteTransportAfterTest() 182ms
After Hooks.rollbackAddedAuthorities() 000ms
Given Set token of apiUsername "super-admin-skd" 172ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 061ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 420ms
When Confirm status "REPORTING" by Public API "v1" 146ms
And Confirm status "ARRIVAL" by Public API "v1" 169ms
And Login as "swiss-krono-delivery-admin" 1s 426ms
And Go to "QUEUES_STATUS_TAB" 284ms
Then Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 223ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 3s 056ms
After Hooks.deleteTransportAfterTest() 155ms
After Hooks.rollbackAddedAuthorities() 000ms
Given Set token of apiUsername "super-admin-skd" 139ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 066ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 395ms
When Confirm status "REPORTING" by Public API "v1" 147ms
And Confirm status "ARRIVAL" by Public API "v1" 237ms
And Login as "swiss-krono-delivery-admin" 1s 537ms
And Go to "QUEUES_STATUS_TAB" 394ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 235ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 3s 024ms
Then Delete created transport by API 129ms
And Verify that classification resource disappeared from "Zrębki" "zrębki" in Queues Status Tab 33s 171ms
After Hooks.deleteTransportAfterTest() 209ms
After Hooks.rollbackAddedAuthorities() 000ms
Given Set token of apiUsername "super-admin-skd" 136ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 042ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 380ms
When Confirm status "REPORTING" by Public API "v1" 166ms
And Confirm status "ARRIVAL" by Public API "v1" 209ms
And Login as "swiss-krono-delivery-admin" 1s 243ms
And Go to "QUEUES_STATUS_TAB" 386ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 188ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 2s 983ms
And Assign Place to classification resource: "super-admin-skd" "zrębki" "Rozładunek" "UNLOAD" 253ms
Then Confirm status "DEPARTURE" by Public API "v1" 313ms
And Verify that classification resource disappeared from "Zrębki" "zrębki" in Queues Status Tab 32s 694ms
After Hooks.deleteTransportAfterTest() 232ms
After Hooks.rollbackAddedAuthorities() 000ms
Scenario Outline Check if ClassificationResource object is removed from Queues Status Tab after specific time
Steps
Given Set token of apiUsername "super-admin-skd" 234ms
And Prepare setting: "CLASSIFICATION_RESOURCE_COMPLETED_DELAY" with value: "15s" with "super-admin-skd" 016ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 070ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 462ms
When Confirm status "REPORTING" by Public API "v1" 107ms
And Confirm status "ARRIVAL" by Public API "v1" 215ms
And Login as "swiss-krono-delivery-admin" 1s 353ms
And Go to "QUEUES_STATUS_TAB" 472ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 229ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 2s 934ms
Then Assign Place to classification resource: "super-admin-skd" "zrębki" "Rozładunek" "UNLOAD" 279ms
And Verify that classification resource disappeared from "Zrębki" "zrębki" in Queues Status Tab 30s 244ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //table[@data-field-name='Zrębki']//td[@data-field-name='zrębki']//div[contains(@class, 'resource') and text()='DDD2222'] (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.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.V0BZ2v}, 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: 75d2d20e6a88f02d5b32ae21f3845d66
	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.verifyThatClassificationResourceDisappearedFromInQueuesStatusTab(ClassificationResourceTest.java:156)
	at ✽.Verify that classification resource disappeared from "Zrębki" "zrębki" in Queues Status Tab(file:Features/Atom/ClassificationResource/QueuesStatusTab.feature:81)
And Prepare setting: "CLASSIFICATION_RESOURCE_COMPLETED_DELAY" with value: "30m" with "super-admin-skd" 000ms
After Hooks.deleteTransportAfterTest() 209ms
After Hooks.rollbackAddedAuthorities() 000ms
Scenario Outline Check if role can send SMS to all drivers from queue
Steps
Given Set token of apiUsername "super-admin-skd" 146ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB;ROLE_SEND_SMS_TO_ALL_DRIVERS_IN_QUEUE" to user "swiss-krono-delivery-admin" 100ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 406ms
When Confirm status "REPORTING" by Public API "v1" 147ms
And Confirm status "ARRIVAL" by Public API "v1" 187ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 002ms
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:117)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:107)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findClassificationResourceId(ApolloSelectDbService.java:193)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.prepareClassificationResourceJson(ClassificationResourceTest.java:63)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.assignQueueToClassificationResource(ClassificationResourceTest.java:48)
	at ✽.Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION"(file:Features/Atom/ClassificationResource/QueuesStatusTab.feature:95)
And Login as "swiss-krono-delivery-admin" 000ms
And Go to transport details "DELIVERY" 000ms
And Set driver phone number "48" "789440109" 000ms
And Go to "QUEUES_STATUS_TAB" 000ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 000ms
And Set "Zrębki" and "zrębki" for test 000ms
Then Click Send SMS icon 000ms
And Put default text in SMS modal 000ms
And Send SMS 000ms
And Wait "20" seconds 000ms
And Verify that sms has been sent to driver "logintegra-imperial-test" "Argetnigol.7890" 000ms
And Wait "10" seconds 000ms
After Hooks.deleteTransportAfterTest() 127ms
After Hooks.rollbackAddedAuthorities() 000ms