Project Number Date
ApolloFullRunnerReport master.313 19 lut 2021, 11:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Template 19 1 0 0 0 20 3 1 4 1m 9s 710ms Failed
Feature Template
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 706ms
When Go to "WAREHOUSE_TAB" 464ms
And Go to template schedule 1s 073ms
And Create template 166ms
Then Check if time windows are in warehouse 10s 793ms
After Hooks.deleteTemplateAfterTest() 512ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 132ms
When Go to "WAREHOUSE_TAB" 426ms
And Go to template schedule 1s 066ms
And Create template 144ms
Then Check if time windows are in warehouse 10s 790ms
After Hooks.deleteTemplateAfterTest() 292ms
Scenario Outline Check if it is possible save template
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 612ms
When Go to "WAREHOUSE_TAB" 266ms
And Go to template schedule 1s 095ms
And Create template 112ms
Then Check if time windows are in warehouse 22s 491ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']"}
  (Session info: headless chrome=88.0.4324.150)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.1707K1}, 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=88.0.4324.150, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 13c226499a86c080d44312c190ef81ca
*** Element info: {Using=xpath, value=//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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 Pages.Schedule.SchedulePage.checkIfWindowsAreInWarehouseAfterCreateTemplate(SchedulePage.java:270)
	at CucumberTests.Schedule.TemplateTest.checkIfTimeWindowsAreInWarehouse(TemplateTest.java:31)
	at ✽.Check if time windows are in warehouse(file:Features/Atom/Schedule/Template.feature:9)
After Hooks.deleteTemplateAfterTest() 120ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 3s 073ms
When Go to "WAREHOUSE_TAB" 289ms
And Go to template schedule 1s 064ms
And Create template 156ms
Then Check if time windows are in warehouse 10s 783ms
After Hooks.deleteTemplateAfterTest() 276ms