Project Number Date
ApolloFullRunnerReport apollo-test-2.159 16 wrz 2021, 07:01

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
SK Api - Advice transport 168 1 5 0 0 174 13 1 14 16m 13s 167ms Failed
Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 625ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 001ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 410ms
And Add transport by SKApi in "MGW" assigned to "" 025ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 001ms
And Check is transport "CONTAINER" created in transport table and set transport id 6s 961ms
When Click button advice in transport table "CONTAINER" 208ms
And Set advice window in schedule 3s 304ms
And Fill advice form 20s 447ms
And Click advice save button and wait for advice form to disappear 33s 231ms
And Go to "TRANSPORT_TABLE" 376ms
And Go to transport details "CONTAINER" 2s 919ms
Then Check are advice values equals 4s 891ms
After Hooks.cleanUserDetailsAfterTest() 2s 310ms
After Hooks.deleteTransportAfterTest() 830ms
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 649ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 001ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 412ms
And Add transport by SKApi in "MGW" assigned to "" 020ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 001ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 7s 109ms
When Click button advice in transport table "OWN_COLLECTION" 251ms
And Set advice window in schedule 3s 331ms
And Fill advice form 20s 531ms
And Click advice save button and wait for advice form to disappear 33s 246ms
And Go to "TRANSPORT_TABLE" 463ms
And Go to transport details "OWN_COLLECTION" 2s 841ms
Then Check are advice values equals 4s 963ms
After Hooks.cleanUserDetailsAfterTest() 2s 131ms
After Hooks.deleteTransportAfterTest() 805ms
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 598ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 360ms
And Add transport by SKApi in "MGW" assigned to "" 021ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 001ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 4s 378ms
When Click button advice in transport table "TRANSPORT_ORDER" 222ms
And Set advice window in schedule 3s 384ms
And Fill advice form 20s 503ms
And Click advice save button and wait for advice form to disappear 33s 236ms
And Go to "TRANSPORT_TABLE" 448ms
And Go to transport details "TRANSPORT_ORDER" 2s 907ms
Then Check are advice values equals 4s 976ms
After Hooks.cleanUserDetailsAfterTest() 2s 415ms
After Hooks.deleteTransportAfterTest() 832ms
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier" and set token of apiUsername "super-admin-skz" 8s 502ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 000ms
And Prepare user "pskza1-carrier" details with all notifications and "" by JSON file 3s 484ms
And Add transport by SKApi in "MGW" assigned to "" 032ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 000ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 4s 723ms
When Click button advice in transport table "TRANSPORT_ORDER" 217ms
And Set advice window in schedule 3s 357ms
And Fill advice form 20s 383ms
And Click advice save button and wait for advice form to disappear 33s 276ms
And Go to "TRANSPORT_TABLE" 459ms
And Go to transport details "TRANSPORT_ORDER" 2s 839ms
Then Check are advice values equals 4s 972ms
After Hooks.cleanUserDetailsAfterTest() 2s 740ms
After Hooks.deleteTransportAfterTest() 832ms
Scenario Outline Check if it possible to advice transport when transport is created by sk API
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-tradesman" and set token of apiUsername "super-admin-skz" 7s 383ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
And Prepare user "swisskrono-tradesman" details with all notifications and "automaty@test.pl" by JSON file 1s 828ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 027ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 001ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 7s 551ms
When Click button advice in transport table "TRANSPORT_ORDER" 211ms
And Set advice window in schedule 30s 156ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-button-name='SHIFT_RIGHT_DAY']"}
  (Session info: headless chrome=93.0.4577.63)
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-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.iZv8El}, 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=93.0.4577.63, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 2f6929344068bebcb852b82e76cd0251
*** Element info: {Using=xpath, value=//button[@data-button-name='SHIFT_RIGHT_DAY']}
	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.BasePage.getWebElementByXpath(BasePage.java:325)
	at CucumberTests.Transport.AdviceTransport.setAdviceWindowInSchedule(AdviceTransport.java:83)
	at ✽.Set advice window in schedule(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:13)
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Check are advice values equals 000ms
After Hooks.cleanUserDetailsAfterTest() 1s 805ms
After Hooks.deleteTransportAfterTest() 541ms
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 794ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 001ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 433ms
And Add transport by SKApi in "MGW" assigned to "" 020ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 001ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 7s 333ms
When Click button advice in transport table "OWN_COLLECTION" 232ms
And Set advice window in schedule 3s 401ms
And Fill advice form 20s 416ms
And Click advice save button and wait for advice form to disappear 33s 290ms
And Go to "TRANSPORT_TABLE" 483ms
Then Check advice data in SK API database "OWN_COLLECTION" 455ms
After Hooks.cleanUserDetailsAfterTest() 2s 235ms
After Hooks.deleteTransportAfterTest() 899ms
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 341ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 000ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 474ms
And Add transport by SKApi in "MGW" assigned to "" 021ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 000ms
And Check is transport "CONTAINER" created in transport table and set transport id 6s 974ms
When Click button advice in transport table "CONTAINER" 230ms
And Set advice window in schedule 3s 324ms
And Fill advice form 20s 508ms
And Click advice save button and wait for advice form to disappear 33s 322ms
And Go to "TRANSPORT_TABLE" 417ms
Then Check advice data in SK API database "CONTAINER" 247ms
After Hooks.cleanUserDetailsAfterTest() 2s 321ms
After Hooks.deleteTransportAfterTest() 805ms
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 803ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 359ms
And Add transport by SKApi in "MGW" assigned to "" 021ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 000ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 4s 299ms
When Click button advice in transport table "TRANSPORT_ORDER" 240ms
And Set advice window in schedule 3s 407ms
And Fill advice form 20s 467ms
And Click advice save button and wait for advice form to disappear 33s 348ms
And Go to "TRANSPORT_TABLE" 467ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 093ms
After Hooks.cleanUserDetailsAfterTest() 2s 232ms
After Hooks.deleteTransportAfterTest() 927ms
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier" and set token of apiUsername "super-admin-skz" 6s 281ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
And Prepare user "pskza1-carrier" details with all notifications and "" by JSON file 3s 393ms
And Add transport by SKApi in "MGW" assigned to "" 019ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 001ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 4s 001ms
When Click button advice in transport table "TRANSPORT_ORDER" 215ms
And Set advice window in schedule 3s 365ms
And Fill advice form 20s 309ms
And Click advice save button and wait for advice form to disappear 18s 373ms
And Go to "TRANSPORT_TABLE" 559ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 095ms
After Hooks.cleanUserDetailsAfterTest() 3s 129ms
After Hooks.deleteTransportAfterTest() 895ms
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-tradesman" and set token of apiUsername "super-admin-skz" 8s 835ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 000ms
And Prepare user "swisskrono-tradesman" details with all notifications and "automaty@test.pl" by JSON file 1s 867ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 018ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 001ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 7s 589ms
When Click button advice in transport table "TRANSPORT_ORDER" 216ms
And Set advice window in schedule 3s 361ms
And Fill advice form 20s 486ms
And Click advice save button and wait for advice form to disappear 33s 835ms
And Go to "TRANSPORT_TABLE" 427ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 265ms
After Hooks.cleanUserDetailsAfterTest() 1s 690ms
After Hooks.deleteTransportAfterTest() 825ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 641ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 001ms
And Add transport by SKApi in "MGW" assigned to "" 019ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 000ms
And Check is transport "CONTAINER" created in transport table and set transport id 6s 949ms
When Click button advice in transport table "CONTAINER" 219ms
And Set advice window in schedule in the past 3s 331ms
And Fill advice form 20s 599ms
And Click advice save button to check error message 191ms
Then Check if possible advice alert is displayed 068ms
After Hooks.deleteTransportAfterTest() 566ms
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 808ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 001ms
And Add transport by SKApi in "MGW" assigned to "" 022ms
And Set "advice" inputs from JSON file "EDIT_ADVICE" "super-admin-skz" 000ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 7s 172ms
And Create advice by JSON file "CREATE_ADVICE_FOR_OWN_COLLECTION" as "super-admin-skz" with window starts at "07:00" and ends at "08:00" 4s 074ms
And Go to "TRANSPORT_TABLE" 362ms
When Go to transport details "OWN_COLLECTION" 2s 955ms
And Expand advice panel 329ms
And Edit advice in transport details 19s 212ms
And Fill arrival date field 2s 687ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 228ms
Then Check advice data in database after edition "OWN_COLLECTION" 085ms
After Hooks.deleteTransportAfterTest() 844ms
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 889ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 001ms
And Add transport by SKApi in "MGW" assigned to "" 022ms
And Set "advice" inputs from JSON file "EDIT_ADVICE" "super-admin-skz" 000ms
And Check is transport "CONTAINER" created in transport table and set transport id 6s 959ms
And Create advice by JSON file "CREATE_ADVICE_FOR_CONTAINER" as "super-admin-skz" with window starts at "07:00" and ends at "08:00" 4s 615ms
And Go to "TRANSPORT_TABLE" 360ms
When Go to transport details "CONTAINER" 3s 005ms
And Expand advice panel 484ms
And Edit advice in transport details 19s 318ms
And Fill arrival date field 2s 612ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 243ms
Then Check advice data in database after edition "CONTAINER" 111ms
After Hooks.deleteTransportAfterTest() 975ms
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 739ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 000ms
And Add transport by SKApi in "MGW" assigned to "" 021ms
And Set "advice" inputs from JSON file "EDIT_ADVICE" "super-admin-skz" 000ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 3s 693ms
And Create advice by JSON file "CREATE_ADVICE_FOR_TRANSPORT_ORDER" as "super-admin-skz" with window starts at "07:00" and ends at "08:00" 4s 884ms
And Go to "TRANSPORT_TABLE" 372ms
When Go to transport details "TRANSPORT_ORDER" 2s 892ms
And Expand advice panel 320ms
And Edit advice in transport details 19s 229ms
And Fill arrival date field 2s 632ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 252ms
Then Check advice data in database after edition "TRANSPORT_ORDER" 090ms
After Hooks.deleteTransportAfterTest() 865ms