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 - Advice transport 158 4 12 0 0 174 10 4 14 13m 50s 487ms 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" 1s 155ms
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 378ms
And Add transport by SKApi in "MGW" assigned to "" 002ms
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 311ms
When Click button advice in transport table "CONTAINER" 088ms
And Set advice window in schedule 2s 606ms
And Fill advice form 16s 804ms
And Click advice save button and wait for advice form to disappear 30s 688ms
And Go to "TRANSPORT_TABLE" 183ms
And Go to transport details "CONTAINER" 2s 496ms
Then Check are advice values equals 4s 330ms
After Hooks.deleteTransportAfterTest() 105ms
After Hooks.cleanUserDetailsAfterTest() 261ms
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 215ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 000ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 332ms
And Add transport by SKApi in "MGW" assigned to "" 003ms
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 6s 381ms
When Click button advice in transport table "OWN_COLLECTION" 098ms
And Set advice window in schedule 2s 577ms
And Fill advice form 16s 738ms
And Click advice save button and wait for advice form to disappear 30s 698ms
And Go to "TRANSPORT_TABLE" 220ms
And Go to transport details "OWN_COLLECTION" 2s 469ms
Then Check are advice values equals 4s 357ms
After Hooks.deleteTransportAfterTest() 149ms
After Hooks.cleanUserDetailsAfterTest() 314ms
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) 002ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 888ms
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 314ms
And Add transport by SKApi in "MGW" assigned to "" 002ms
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 2s 919ms
When Click button advice in transport table "TRANSPORT_ORDER" 105ms
And Set advice window in schedule 2s 559ms
And Fill advice form 16s 706ms
And Click advice save button and wait for advice form to disappear 30s 709ms
And Go to "TRANSPORT_TABLE" 228ms
And Go to transport details "TRANSPORT_ORDER" 2s 484ms
Then Check are advice values equals 4s 321ms
After Hooks.deleteTransportAfterTest() 101ms
After Hooks.cleanUserDetailsAfterTest() 287ms
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@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 168ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 000ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "" by JSON file 469ms
And Add transport by SKApi in "MGW" assigned to "" 003ms
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 5s 908ms
When Click button advice in transport table "TRANSPORT_ORDER" 093ms
And Set advice window in schedule 2s 569ms
And Fill advice form 16s 878ms
And Click advice save button and wait for advice form to disappear 30s 715ms
And Go to "TRANSPORT_TABLE" 225ms
And Go to transport details "TRANSPORT_ORDER" 2s 411ms
Then Check are advice values equals 4s 357ms
After Hooks.deleteTransportAfterTest() 119ms
After Hooks.cleanUserDetailsAfterTest() 371ms
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@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 892ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
And Prepare user "swisskrono-tradesman@qa.qa-test" details with all notifications and "automaty@test.pl" by JSON file 253ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 003ms
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 5s 962ms
When Click button advice in transport table "TRANSPORT_ORDER" 095ms
And Set advice window in schedule 30s 083ms
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=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=//button[@data-button-name='SHIFT_RIGHT_DAY']}
	at sun.reflect.GeneratedConstructorAccessor214.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 Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at CucumberTests.Transport.AdviceTransport.setAdviceWindowInSchedule(AdviceTransport.java:91)
	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.deleteTransportAfterTest() 067ms
After Hooks.cleanUserDetailsAfterTest() 224ms
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" 1s 918ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 000ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 336ms
And Add transport by SKApi in "MGW" assigned to "" 003ms
And Set "advice" inputs from JSON file "CREATE_ADVICE" "super-admin-skz" 000ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 6s 384ms
When Click button advice in transport table "OWN_COLLECTION" 084ms
And Set advice window in schedule 2s 591ms
And Fill advice form 16s 888ms
And Click advice save button and wait for advice form to disappear 30s 727ms
And Go to "TRANSPORT_TABLE" 192ms
Then Check advice data in SK API database "OWN_COLLECTION" 150ms
After Hooks.deleteTransportAfterTest() 122ms
After Hooks.cleanUserDetailsAfterTest() 271ms
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" 1s 919ms
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 352ms
And Add transport by SKApi in "MGW" assigned to "" 003ms
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 3s 334ms
When Click button advice in transport table "CONTAINER" 093ms
And Set advice window in schedule 2s 592ms
And Fill advice form 16s 736ms
And Click advice save button and wait for advice form to disappear 30s 704ms
And Go to "TRANSPORT_TABLE" 250ms
Then Check advice data in SK API database "CONTAINER" 100ms
After Hooks.deleteTransportAfterTest() 115ms
After Hooks.cleanUserDetailsAfterTest() 279ms
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" 1s 895ms
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 361ms
And Add transport by SKApi in "MGW" assigned to "" 002ms
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 5s 872ms
When Click button advice in transport table "TRANSPORT_ORDER" 084ms
And Set advice window in schedule 2s 571ms
And Fill advice form 16s 740ms
And Click advice save button and wait for advice form to disappear 30s 697ms
And Go to "TRANSPORT_TABLE" 211ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 041ms
After Hooks.deleteTransportAfterTest() 102ms
After Hooks.cleanUserDetailsAfterTest() 294ms
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@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 735ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "" by JSON file 507ms
And Add transport by SKApi in "MGW" assigned to "" 003ms
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 5s 839ms
When Click button advice in transport table "TRANSPORT_ORDER" 098ms
And Set advice window in schedule 2s 578ms
And Fill advice form 16s 690ms
And Click advice save button and wait for advice form to disappear 30s 715ms
And Go to "TRANSPORT_TABLE" 237ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 041ms
After Hooks.deleteTransportAfterTest() 096ms
After Hooks.cleanUserDetailsAfterTest() 327ms
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@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 055ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
And Prepare user "swisskrono-tradesman@qa.qa-test" details with all notifications and "automaty@test.pl" by JSON file 278ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 003ms
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 2s 950ms
When Click button advice in transport table "TRANSPORT_ORDER" 096ms
And Set advice window in schedule 2s 583ms
And Fill advice form 16s 806ms
And Click advice save button and wait for advice form to disappear 30s 742ms
And Go to "TRANSPORT_TABLE" 176ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 081ms
After Hooks.deleteTransportAfterTest() 098ms
After Hooks.cleanUserDetailsAfterTest() 245ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 879ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 000ms
And Add transport by SKApi in "MGW" assigned to "" 002ms
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 3s 341ms
When Click button advice in transport table "CONTAINER" 098ms
And Set advice window in schedule in the past 2s 592ms
And Fill advice form 16s 798ms
And Click advice save button to check error message 108ms
Then Check if possible advice alert is displayed 019ms
After Hooks.deleteTransportAfterTest() 076ms
Scenario Outline Check if advice data saved in SK API database after edition
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
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 254ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 000ms
And Add transport by SKApi in "MGW" assigned to "" 002ms
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 3s 387ms
And Create advice by JSON file "CREATE_ADVICE_FOR_OWN_COLLECTION" as "super-admin-skz" 676ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/227946254 - status odpowiedzi: 422 , komunikat:  [errors:[Operacja nie powiodła się. Prosimy spróbować ponownie a, jeśli problem się powtarza, o kontakt z info@logintegra.com.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:345)
	at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_OWN_COLLECTION" as "super-admin-skz"(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:74)
And Go to "TRANSPORT_TABLE" 000ms
When Go to transport details "OWN_COLLECTION" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Fill arrival date field 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
Then Check advice data in database after edition "OWN_COLLECTION" 000ms
After Hooks.deleteTransportAfterTest() 069ms
Scenario Outline Check if advice data saved in SK API database after edition
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
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 126ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 001ms
And Add transport by SKApi in "MGW" assigned to "" 002ms
And Set "advice" inputs from JSON file "EDIT_ADVICE" "super-admin-skz" 001ms
And Check is transport "CONTAINER" created in transport table and set transport id 3s 324ms
And Create advice by JSON file "CREATE_ADVICE_FOR_CONTAINER" as "super-admin-skz" 794ms
And Go to "TRANSPORT_TABLE" 118ms
When Go to transport details "CONTAINER" 2s 492ms
And Expand advice panel 098ms
And Edit advice in transport details 16s 477ms
And Fill arrival date field 2s 293ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 124ms
Then Check advice data in database after edition "CONTAINER" 50s 107ms
java.lang.NullPointerException
	at CucumberTests.Transport.AdviceTransport.assertAdviceFields(AdviceTransport.java:210)
	at CucumberTests.Transport.AdviceTransport.checkAreAdviceValuesSavedInSKAPI(AdviceTransport.java:205)
	at ✽.Check advice data in database after edition "CONTAINER"(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:81)
After Hooks.deleteTransportAfterTest() 120ms
Scenario Outline Check if advice data saved in SK API database after edition
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
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 389ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
And Add transport by SKApi in "MGW" assigned to "" 002ms
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 859ms
And Create advice by JSON file "CREATE_ADVICE_FOR_TRANSPORT_ORDER" as "super-admin-skz" 849ms
And Go to "TRANSPORT_TABLE" 121ms
When Go to transport details "TRANSPORT_ORDER" 2s 468ms
And Expand advice panel 101ms
And Edit advice in transport details 16s 502ms
And Fill arrival date field 2s 291ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 109ms
Then Check advice data in database after edition "TRANSPORT_ORDER" 50s 099ms
java.lang.NullPointerException
	at CucumberTests.Transport.AdviceTransport.assertAdviceFields(AdviceTransport.java:210)
	at CucumberTests.Transport.AdviceTransport.checkAreAdviceValuesSavedInSKAPI(AdviceTransport.java:205)
	at ✽.Check advice data in database after edition "TRANSPORT_ORDER"(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:81)
After Hooks.deleteTransportAfterTest() 141ms