Project Number Date
ApolloFullRunnerReport apollo-test-2.125 20 sie 2021, 05:38

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 17m 11s 131ms 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 575ms
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 395ms
And Add transport by SKApi in "MGW" assigned to "" 022ms
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 931ms
When Click button advice in transport table "CONTAINER" 240ms
And Set advice window in schedule 3s 413ms
And Fill advice form 20s 489ms
And Click advice save button and wait for advice form to disappear 33s 233ms
And Go to "TRANSPORT_TABLE" 457ms
And Go to transport details "CONTAINER" 2s 944ms
Then Check are advice values equals 4s 995ms
After Hooks.cleanUserDetailsAfterTest() 2s 265ms
After Hooks.deleteTransportAfterTest() 775ms
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 486ms
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 358ms
And Add transport by SKApi in "MGW" assigned to "" 016ms
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 183ms
When Click button advice in transport table "OWN_COLLECTION" 246ms
And Set advice window in schedule 3s 374ms
And Fill advice form 20s 311ms
And Click advice save button and wait for advice form to disappear 33s 260ms
And Go to "TRANSPORT_TABLE" 500ms
And Go to transport details "OWN_COLLECTION" 2s 921ms
Then Check are advice values equals 4s 955ms
After Hooks.cleanUserDetailsAfterTest() 2s 134ms
After Hooks.deleteTransportAfterTest() 774ms
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 400ms
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 372ms
And Add transport by SKApi in "MGW" assigned to "" 022ms
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 354ms
When Click button advice in transport table "TRANSPORT_ORDER" 216ms
And Set advice window in schedule 3s 482ms
And Fill advice form 20s 491ms
And Click advice save button and wait for advice form to disappear 33s 236ms
And Go to "TRANSPORT_TABLE" 480ms
And Go to transport details "TRANSPORT_ORDER" 2s 946ms
Then Check are advice values equals 4s 956ms
After Hooks.cleanUserDetailsAfterTest() 2s 272ms
After Hooks.deleteTransportAfterTest() 831ms
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 572ms
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 478ms
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 742ms
When Click button advice in transport table "TRANSPORT_ORDER" 236ms
And Set advice window in schedule 3s 480ms
And Fill advice form 20s 449ms
And Click advice save button and wait for advice form to disappear 33s 299ms
And Go to "TRANSPORT_TABLE" 535ms
And Go to transport details "TRANSPORT_ORDER" 2s 961ms
Then Check are advice values equals 5s 008ms
After Hooks.cleanUserDetailsAfterTest() 2s 734ms
After Hooks.deleteTransportAfterTest() 767ms
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 386ms
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 710ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 025ms
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 586ms
When Click button advice in transport table "TRANSPORT_ORDER" 230ms
And Set advice window in schedule 30s 145ms
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-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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vEGcDT}, 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: a49ddeab5d6912da551cc3077a4ae0a5
*** Element info: {Using=xpath, value=//button[@data-button-name='SHIFT_RIGHT_DAY']}
	at sun.reflect.GeneratedConstructorAccessor216.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:325)
	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.cleanUserDetailsAfterTest() 1s 740ms
After Hooks.deleteTransportAfterTest() 533ms
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 551ms
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 375ms
And Add transport by SKApi in "MGW" assigned to "" 017ms
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 147ms
When Click button advice in transport table "OWN_COLLECTION" 242ms
And Set advice window in schedule 3s 370ms
And Fill advice form 20s 480ms
And Click advice save button and wait for advice form to disappear 33s 186ms
And Go to "TRANSPORT_TABLE" 459ms
Then Check advice data in SK API database "OWN_COLLECTION" 411ms
After Hooks.cleanUserDetailsAfterTest() 2s 067ms
After Hooks.deleteTransportAfterTest() 802ms
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 259ms
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 368ms
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 3s 950ms
When Click button advice in transport table "CONTAINER" 220ms
And Set advice window in schedule 3s 370ms
And Fill advice form 20s 601ms
And Click advice save button and wait for advice form to disappear 33s 275ms
And Go to "TRANSPORT_TABLE" 450ms
Then Check advice data in SK API database "CONTAINER" 244ms
After Hooks.cleanUserDetailsAfterTest() 2s 298ms
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 722ms
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 486ms
And Add transport by SKApi in "MGW" assigned to "" 017ms
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 234ms
When Click button advice in transport table "TRANSPORT_ORDER" 215ms
And Set advice window in schedule 3s 434ms
And Fill advice form 20s 494ms
And Click advice save button and wait for advice form to disappear 33s 298ms
And Go to "TRANSPORT_TABLE" 497ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 100ms
After Hooks.cleanUserDetailsAfterTest() 2s 132ms
After Hooks.deleteTransportAfterTest() 792ms
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 343ms
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 294ms
And Add transport by SKApi in "MGW" assigned to "" 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 4s 718ms
When Click button advice in transport table "TRANSPORT_ORDER" 223ms
And Set advice window in schedule 3s 374ms
And Fill advice form 20s 374ms
And Click advice save button and wait for advice form to disappear 33s 349ms
And Go to "TRANSPORT_TABLE" 533ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 095ms
After Hooks.cleanUserDetailsAfterTest() 2s 947ms
After Hooks.deleteTransportAfterTest() 819ms
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" 8s 788ms
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 886ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 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 7s 595ms
When Click button advice in transport table "TRANSPORT_ORDER" 220ms
And Set advice window in schedule 3s 408ms
And Fill advice form 20s 336ms
And Click advice save button and wait for advice form to disappear 33s 872ms
And Go to "TRANSPORT_TABLE" 465ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 266ms
After Hooks.cleanUserDetailsAfterTest() 1s 697ms
After Hooks.deleteTransportAfterTest() 800ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 476ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 001ms
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 950ms
When Click button advice in transport table "CONTAINER" 231ms
And Set advice window in schedule in the past 3s 370ms
And Fill advice form 20s 473ms
And Click advice save button to check error message 201ms
Then Check if possible advice alert is displayed 068ms
After Hooks.deleteTransportAfterTest() 569ms
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 713ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "super-admin-skz" 001ms
And Add transport by SKApi in "MGW" assigned to "" 023ms
And Set "advice" inputs from JSON file "EDIT_ADVICE" "super-admin-skz" 001ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 7s 171ms
And Create advice by JSON file "CREATE_ADVICE_FOR_OWN_COLLECTION" as "super-admin-skz" 1s 910ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/228146675 - 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:194)
	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() 615ms
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 604ms
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 "EDIT_ADVICE" "super-admin-skz" 001ms
And Check is transport "CONTAINER" created in transport table and set transport id 3s 920ms
And Create advice by JSON file "CREATE_ADVICE_FOR_CONTAINER" as "super-admin-skz" 4s 425ms
And Go to "TRANSPORT_TABLE" 431ms
When Go to transport details "CONTAINER" 3s 077ms
And Expand advice panel 259ms
And Edit advice in transport details 19s 213ms
And Fill arrival date field 2s 691ms
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 866ms
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() 869ms
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 796ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-skz" 001ms
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 "TRANSPORT_ORDER" created in transport table and set transport id 6s 707ms
And Create advice by JSON file "CREATE_ADVICE_FOR_TRANSPORT_ORDER" as "super-admin-skz" 4s 695ms
And Go to "TRANSPORT_TABLE" 370ms
When Go to transport details "TRANSPORT_ORDER" 3s 035ms
And Expand advice panel 278ms
And Edit advice in transport details 19s 248ms
And Fill arrival date field 2s 644ms
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 890ms
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() 872ms