Project Number Date
ApolloFullRunnerReport 2021.AT1.66 19 sie 2021, 05:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
SK API - Creation of the Transport 40 6 9 0 0 55 2 6 8 5m 58s 150ms Failed
Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 277ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
When Add transport by SKApi in "MGW" assigned to "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 236ms
And Go to "TRANSPORT_TABLE" 117ms
And Go to transport details "TRANSPORT_ORDER" 2s 417ms
Then Check are transport values equals 145ms
org.junit.ComparisonFailure: Wartości w formularzu w polu company-step-1 są niepoprawne, wartość na stronie: DSKZA1 wartość poprawna: Dostawca SKZ Automat 1 expected: but was:
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:123)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:263)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:239)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 068ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 151ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 001ms
When Add transport by SKApi in "MGW" assigned to "" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 6s 312ms
And Go to "TRANSPORT_TABLE" 128ms
And Go to transport details "CONTAINER" 2s 387ms
Then Check are transport values equals 15s 361ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='country-step-1']//input | //div[@data-field-name='country-step-1']//textarea"}
  (Session info: headless chrome=92.0.4515.131)
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-63-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.NPWs6k}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 78025d07d5c75dd1bb40551e02dce894
*** Element info: {Using=xpath, value=//div[@data-field-name='country-step-1']//input | //div[@data-field-name='country-step-1']//textarea}
	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 CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:121)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:263)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:239)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 090ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 286ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 001ms
When Add transport by SKApi in "MGW" assigned to "" 003ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 6s 378ms
And Go to "TRANSPORT_TABLE" 133ms
And Go to transport details "OWN_COLLECTION" 2s 421ms
Then Check are transport values equals 15s 445ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='country-step-1']//input | //div[@data-field-name='country-step-1']//textarea"}
  (Session info: headless chrome=92.0.4515.131)
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-63-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.NPWs6k}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 78025d07d5c75dd1bb40551e02dce894
*** Element info: {Using=xpath, value=//div[@data-field-name='country-step-1']//input | //div[@data-field-name='country-step-1']//textarea}
	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 CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:121)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:263)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:239)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 070ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 315ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 000ms
When Add transport by SKApi in "HRL" assigned to "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1m 33s 350ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:163)
	at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 270ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 000ms
When Add transport by SKApi in "HRL" assigned to "" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1m 33s 287ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:163)
	at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "CONTAINER" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 267ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 001ms
When Add transport by SKApi in "HRL" assigned to "" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 33s 316ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:163)
	at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "OWN_COLLECTION" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 287ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 000ms
And Set another client name "Pepsi" 000ms
When Add transport by SKApi in "MGW" assigned to "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 3s 257ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 032ms
After Hooks.deleteTransportAfterTest() 072ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 145ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
When Add transport by SKApi in "" assigned to "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 3s 809ms
And Go to "TRANSPORT_TABLE" 126ms
And Go to transport details "TRANSPORT_ORDER" 2s 425ms
Then Check if transport has warehouse "MGW" in step section "0" 026ms
After Hooks.deleteTransportAfterTest() 092ms