Project Number Date
ApolloFullRunnerReport apollo-test-2.143 03 wrz 2021, 07:47

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 16m 54s 726ms 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 657ms
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 388ms
And Add transport by SKApi in "MGW" assigned to "" 023ms
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 969ms
When Click button advice in transport table "CONTAINER" 200ms
And Set advice window in schedule 3s 401ms
And Fill advice form 20s 307ms
And Click advice save button and wait for advice form to disappear 33s 209ms
And Go to "TRANSPORT_TABLE" 499ms
And Go to transport details "CONTAINER" 2s 961ms
Then Check are advice values equals 5s 018ms
After Hooks.cleanUserDetailsAfterTest() 2s 269ms
After Hooks.deleteTransportAfterTest() 817ms
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 711ms
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 391ms
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 "OWN_COLLECTION" created in transport table and set transport id 7s 162ms
When Click button advice in transport table "OWN_COLLECTION" 235ms
And Set advice window in schedule 3s 376ms
And Fill advice form 20s 433ms
And Click advice save button and wait for advice form to disappear 33s 309ms
And Go to "TRANSPORT_TABLE" 438ms
And Go to transport details "OWN_COLLECTION" 2s 897ms
Then Check are advice values equals 4s 962ms
After Hooks.cleanUserDetailsAfterTest() 2s 117ms
After Hooks.deleteTransportAfterTest() 874ms
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 354ms
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 398ms
And Add transport by SKApi in "MGW" assigned to "" 022ms
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 291ms
When Click button advice in transport table "TRANSPORT_ORDER" 217ms
And Set advice window in schedule 3s 325ms
And Fill advice form 20s 312ms
And Click advice save button and wait for advice form to disappear 18s 412ms
And Go to "TRANSPORT_TABLE" 477ms
And Go to transport details "TRANSPORT_ORDER" 2s 910ms
Then Check are advice values equals 4s 945ms
After Hooks.cleanUserDetailsAfterTest() 2s 475ms
After Hooks.deleteTransportAfterTest() 854ms
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" 8s 736ms
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 3s 265ms
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 697ms
When Click button advice in transport table "TRANSPORT_ORDER" 214ms
And Set advice window in schedule 3s 495ms
And Fill advice form 20s 322ms
And Click advice save button and wait for advice form to disappear 33s 295ms
And Go to "TRANSPORT_TABLE" 506ms
And Go to transport details "TRANSPORT_ORDER" 2s 880ms
Then Check are advice values equals 4s 978ms
After Hooks.cleanUserDetailsAfterTest() 2s 651ms
After Hooks.deleteTransportAfterTest() 827ms
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" 7s 532ms
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 1s 794ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 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 7s 608ms
When Click button advice in transport table "TRANSPORT_ORDER" 214ms
And Set advice window in schedule 30s 154ms
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.15 (660fc11082ba57405eca2e8c49c3e1af756fbfae-refs/branch-heads/4577@{#203}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.zcCUPu}, 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: 9a44b2d7f40b7f1cf1ae0ad9bb3da039
*** 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:82)
	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 762ms
After Hooks.deleteTransportAfterTest() 568ms
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 717ms
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 2s 365ms
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 "OWN_COLLECTION" created in transport table and set transport id 7s 185ms
When Click button advice in transport table "OWN_COLLECTION" 219ms
And Set advice window in schedule 3s 402ms
And Fill advice form 20s 564ms
And Click advice save button and wait for advice form to disappear 33s 324ms
And Go to "TRANSPORT_TABLE" 452ms
Then Check advice data in SK API database "OWN_COLLECTION" 455ms
After Hooks.cleanUserDetailsAfterTest() 2s 307ms
After Hooks.deleteTransportAfterTest() 825ms
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 543ms
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 387ms
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 "CONTAINER" created in transport table and set transport id 6s 974ms
When Click button advice in transport table "CONTAINER" 217ms
And Set advice window in schedule 3s 410ms
And Fill advice form 20s 526ms
And Click advice save button and wait for advice form to disappear 33s 382ms
And Go to "TRANSPORT_TABLE" 476ms
Then Check advice data in SK API database "CONTAINER" 232ms
After Hooks.cleanUserDetailsAfterTest() 2s 300ms
After Hooks.deleteTransportAfterTest() 796ms
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 764ms
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 363ms
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 430ms
When Click button advice in transport table "TRANSPORT_ORDER" 230ms
And Set advice window in schedule 3s 365ms
And Fill advice form 20s 510ms
And Click advice save button and wait for advice form to disappear 33s 759ms
And Go to "TRANSPORT_TABLE" 482ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 096ms
After Hooks.cleanUserDetailsAfterTest() 2s 182ms
After Hooks.deleteTransportAfterTest() 909ms
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" 6s 419ms
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 3s 480ms
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 "TRANSPORT_ORDER" created in transport table and set transport id 3s 882ms
When Click button advice in transport table "TRANSPORT_ORDER" 220ms
And Set advice window in schedule 3s 302ms
And Fill advice form 20s 312ms
And Click advice save button and wait for advice form to disappear 33s 321ms
And Go to "TRANSPORT_TABLE" 478ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 093ms
After Hooks.cleanUserDetailsAfterTest() 2s 967ms
After Hooks.deleteTransportAfterTest() 833ms
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-tradesman@qa.qa-test" and set token of apiUsername "super-admin-skz" 8s 782ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 000ms
And Prepare user "swisskrono-tradesman@qa.qa-test" details with all notifications and "automaty@test.pl" by JSON file 1s 874ms
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" 000ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 7s 557ms
When Click button advice in transport table "TRANSPORT_ORDER" 227ms
And Set advice window in schedule 3s 436ms
And Fill advice form 20s 384ms
And Click advice save button and wait for advice form to disappear 33s 830ms
And Go to "TRANSPORT_TABLE" 470ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 288ms
After Hooks.cleanUserDetailsAfterTest() 1s 666ms
After Hooks.deleteTransportAfterTest() 804ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 699ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 000ms
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 "CONTAINER" created in transport table and set transport id 6s 956ms
When Click button advice in transport table "CONTAINER" 238ms
And Set advice window in schedule in the past 3s 362ms
And Fill advice form 20s 408ms
And Click advice save button to check error message 187ms
Then Check if possible advice alert is displayed 067ms
After Hooks.deleteTransportAfterTest() 621ms
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" 2s 697ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 000ms
And Add transport by SKApi in "MGW" assigned to "" 024ms
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 149ms
And Create advice by JSON file "CREATE_ADVICE_FOR_OWN_COLLECTION" as "super-admin-skz" 2s 123ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/230057126 - 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:209)
	at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:336)
	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() 605ms
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" 2s 665ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "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" 001ms
And Check is transport "CONTAINER" created in transport table and set transport id 3s 908ms
And Create advice by JSON file "CREATE_ADVICE_FOR_CONTAINER" as "super-admin-skz" 4s 525ms
And Go to "TRANSPORT_TABLE" 374ms
When Go to transport details "CONTAINER" 2s 909ms
And Expand advice panel 326ms
And Edit advice in transport details 19s 117ms
And Fill arrival date field 2s 638ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 202ms
Then Check advice data in database after edition "CONTAINER" 50s 896ms
java.lang.NullPointerException
	at CucumberTests.Transport.AdviceTransport.assertAdviceFields(AdviceTransport.java:201)
	at CucumberTests.Transport.AdviceTransport.checkAreAdviceValuesSavedInSKAPI(AdviceTransport.java:196)
	at ✽.Check advice data in database after edition "CONTAINER"(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:81)
After Hooks.deleteTransportAfterTest() 831ms
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" 2s 810ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 000ms
And Add transport by SKApi in "MGW" assigned to "" 020ms
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 4s 415ms
And Create advice by JSON file "CREATE_ADVICE_FOR_TRANSPORT_ORDER" as "super-admin-skz" 4s 965ms
And Go to "TRANSPORT_TABLE" 417ms
When Go to transport details "TRANSPORT_ORDER" 2s 977ms
And Expand advice panel 273ms
And Edit advice in transport details 19s 275ms
And Fill arrival date field 2s 616ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 230ms
Then Check advice data in database after edition "TRANSPORT_ORDER" 50s 881ms
java.lang.NullPointerException
	at CucumberTests.Transport.AdviceTransport.assertAdviceFields(AdviceTransport.java:201)
	at CucumberTests.Transport.AdviceTransport.checkAreAdviceValuesSavedInSKAPI(AdviceTransport.java:196)
	at ✽.Check advice data in database after edition "TRANSPORT_ORDER"(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:81)
After Hooks.deleteTransportAfterTest() 832ms