Project Number Date
ApolloFullRunnerReport 2021.AT1.12 25 Jul 2021, 06:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Status 23 2 5 0 0 30 1 2 3 1m 21s 009ms Failed
Feature Status
Scenario Outline Check if after created transport without advice, transport has checkpoints only from "preparation" section
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 624ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 225ms
When Find transport in table with status "new" 3s 208ms
And Open statuses popup 083ms
Then Check if transport has checkpoints from list "Utworzenie zlecenia,Dodanie awizacji,Potwierdzenie okna czasowego" in "0" 067ms
org.junit.ComparisonFailure: Lista statusów jest niepoprawna expected:<[Utworzenie zlecenia,Dodanie awizacji,Potwierdzenie okna czasowego]> but was:<[Order creation,Advice adding,Time window confirmation]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.StatusTests.ConfirmStatuses.checkIfTransportHasCheckpointsFromListInGroup(ConfirmStatuses.java:153)
	at ✽.Check if transport has checkpoints from list "Utworzenie zlecenia,Dodanie awizacji,Potwierdzenie okna czasowego" in "0"(file:Features/Atom/Statuses/Statuses.feature:9)
After Hooks.deleteTransportAfterTest() 112ms
Scenario Outline Check if after added advice, checkpoints are generated from "steps" section
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 028ms
And Get inputs from database "ADVICE_EXTERNAL_DELIVERY" "super-admin-farmacol" 039ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 223ms
And Click button advice in transport table "EXTERNAL_DELIVERY" 081ms
And Set advice window in schedule 2s 695ms
And Fill advice form 21s 993ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//li//span[text()='Furgon 1,5'] | //li[text()='Furgon 1,5' and @role='option']"}
  (Session info: headless chrome=91.0.4472.164)
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: 'apollo-test', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-59-generic', java.version: '1.8.0_292'
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.akcEQi}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 9e4ee261ef296133ad11bc3507b58553
*** Element info: {Using=xpath, value=//li//span[text()='Furgon 1,5'] | //li[text()='Furgon 1,5' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor181.newInstance(Unknown Source)
	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.Transport.selectValue(Transport.java:226)
	at CucumberTests.Transport.Transport.fillSelectInput(Transport.java:211)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:166)
	at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:121)
	at ✽.Fill advice form(file:Features/Atom/Statuses/Statuses.feature:21)
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
When Find transport in table with status "advice-added" 000ms
And Open statuses popup 000ms
Then Check if transport has checkpoints from list "Zgłoszenie kierowcy,Rozpoczęcie rozładunku,Zakończenie rozładunku" in "1" 000ms
After Hooks.deleteTransportAfterTest() 111ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-farmacol" 094ms
And Get custom field settings for "EXTERNAL_DELIVERY" transport type and "farmacol" company 018ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 242ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 881ms
And Get "START_OF_UNLOADING" data for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 014ms
When Login as "farmacol-admin" 1s 060ms
And Go to "TRANSPORT_TABLE" 200ms
And Confirm statuses until reach "registered-katowice-przyjęcia" 9s 161ms
And Disable task by API 1s 018ms
And Find transport pencil button in transports table 1s 208ms
And Click pencil and move transport to next day in schedule 18s 478ms
And Go to "TRANSPORT_TABLE" 218ms
Then Verify that "START_OF_UNLOADING" is not visible 134ms
After Hooks.deleteTransportAfterTest() 148ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 706ms
After Hooks.rollbackTaskChanges() 940ms