Project Number Date
ApolloFullRunnerReport develop.452 05 cze 2021, 07:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Queues Status Tab 68 2 2 0 0 72 4 2 6 4m 11s 648ms Failed
Feature Queues Status Tab
Given Set token of apiUsername "super-admin-skd" 139ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 063ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 309ms
When Confirm status "REPORTING" by Public API "v1" 076ms
And Confirm status "ARRIVAL" by Public API "v1" 121ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 144ms
And Login as "swiss-krono-delivery-admin" 1s 371ms
Then Go to "QUEUES_STATUS_TAB" 340ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 028ms
After Hooks.deleteTransportAfterTest() 113ms
After Hooks.rollbackAddedAuthorities() 000ms
Given Set token of apiUsername "super-admin-skd" 122ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 049ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 324ms
When Confirm status "REPORTING" by Public API "v1" 090ms
And Confirm status "ARRIVAL" by Public API "v1" 129ms
And Login as "swiss-krono-delivery-admin" 1s 040ms
And Go to "QUEUES_STATUS_TAB" 331ms
Then Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 151ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 2s 982ms
After Hooks.deleteTransportAfterTest() 091ms
After Hooks.rollbackAddedAuthorities() 000ms
Given Set token of apiUsername "super-admin-skd" 130ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 055ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 285ms
When Confirm status "REPORTING" by Public API "v1" 090ms
And Confirm status "ARRIVAL" by Public API "v1" 132ms
And Login as "swiss-krono-delivery-admin" 1s
And Go to "QUEUES_STATUS_TAB" 304ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 142ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 2s 997ms
Then Delete created transport by API 114ms
And Verify that classification resource disappeared from "Zrębki" "zrębki" in Queues Status Tab 33s 227ms
After Hooks.deleteTransportAfterTest() 126ms
After Hooks.rollbackAddedAuthorities() 000ms
Given Set token of apiUsername "super-admin-skd" 121ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 050ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 314ms
When Confirm status "REPORTING" by Public API "v1" 091ms
And Confirm status "ARRIVAL" by Public API "v1" 094ms
And Login as "swiss-krono-delivery-admin" 1s 032ms
And Go to "QUEUES_STATUS_TAB" 333ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 155ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 2s 985ms
And Assign Place to classification resource: "super-admin-skd" "zrębki" "Rozładunek" "UNLOAD" 166ms
Then Confirm status "DEPARTURE" by Public API "v1" 161ms
And Verify that classification resource disappeared from "Zrębki" "zrębki" in Queues Status Tab 17s 769ms
After Hooks.deleteTransportAfterTest() 108ms
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" 123ms
And Prepare setting: "CLASSIFICATION_RESOURCE_COMPLETED_DELAY" with value: "15s" with "super-admin-skd" 007ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB" to user "swiss-krono-delivery-admin" 040ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 305ms
When Confirm status "REPORTING" by Public API "v1" 092ms
And Confirm status "ARRIVAL" by Public API "v1" 138ms
And Login as "swiss-krono-delivery-admin" 1s 121ms
And Go to "QUEUES_STATUS_TAB" 323ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 135ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 3s 028ms
Then Assign Place to classification resource: "super-admin-skd" "zrębki" "Rozładunek" "UNLOAD" 125ms
And Verify that classification resource disappeared from "Zrębki" "zrębki" in Queues Status Tab 30s 338ms
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.OoeHfi}, 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: 329984e81ad9ee3a91c5ea3863ddaf1c
	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() 117ms
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" 122ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB;ROLE_SEND_SMS_TO_ALL_DRIVERS_IN_QUEUE" to user "swiss-krono-delivery-admin" 096ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 330ms
When Confirm status "REPORTING" by Public API "v1" 086ms
And Confirm status "ARRIVAL" by Public API "v1" 133ms
And Assign Queue to classification resource: "super-admin-skd" "zrębki" "CLASSIFICATION" 155ms
And Login as "swiss-krono-delivery-admin" 1s 032ms
And Go to transport details "DELIVERY" 32s 409ms
And Set driver phone number "48" "789440109" 478ms
And Go to "QUEUES_STATUS_TAB" 721ms
And Verify that classification resource is proper "Zrębki" and "zrębki" in Queues Status Tab 037ms
And Set "Zrębki" and "zrębki" for test 000ms
Then Click Send SMS icon 063ms
And Put default text in SMS modal 263ms
And Send SMS 063ms
And Wait "20" seconds 20s
And Verify that sms has been sent to driver "logintegra-imperial-test" "Argetnigol.7890" 295ms
java.lang.AssertionError: Sms nie został wysłany lub został wysłany z niepoprawną treścią
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.SMS.SmsTest.checkIfSmsWasSentToDriver(SmsTest.java:57)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.verifyThatSmsHasBeenSentToDriver(ClassificationResourceTest.java:188)
	at ✽.Verify that sms has been sent to driver "logintegra-imperial-test" "Argetnigol.7890"(file:Features/Atom/ClassificationResource/QueuesStatusTab.feature:108)
And Wait "10" seconds 000ms
After Hooks.deleteTransportAfterTest() 117ms
After Hooks.rollbackAddedAuthorities() 000ms