Project Number Date
ApolloFullRunnerReport apollo-test-2.147 06 wrz 2021, 06:13

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 12s 032ms 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 650ms
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 489ms
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 7s 051ms
When Click button advice in transport table "CONTAINER" 286ms
And Set advice window in schedule 3s 523ms
And Fill advice form 20s 239ms
And Click advice save button and wait for advice form to disappear 33s 375ms
And Go to "TRANSPORT_TABLE" 433ms
And Go to transport details "CONTAINER" 2s 957ms
Then Check are advice values equals 4s 918ms
After Hooks.cleanUserDetailsAfterTest() 2s 387ms
After Hooks.deleteTransportAfterTest() 846ms
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 630ms
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 431ms
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 "OWN_COLLECTION" created in transport table and set transport id 4s 159ms
When Click button advice in transport table "OWN_COLLECTION" 221ms
And Set advice window in schedule 3s 394ms
And Fill advice form 20s 478ms
And Click advice save button and wait for advice form to disappear 33s 403ms
And Go to "TRANSPORT_TABLE" 449ms
And Go to transport details "OWN_COLLECTION" 2s 864ms
Then Check are advice values equals 4s 929ms
After Hooks.cleanUserDetailsAfterTest() 2s 160ms
After Hooks.deleteTransportAfterTest() 810ms
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 479ms
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 371ms
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 7s 713ms
When Click button advice in transport table "TRANSPORT_ORDER" 264ms
And Set advice window in schedule 3s 318ms
And Fill advice form 20s 136ms
And Click advice save button and wait for advice form to disappear 33s 255ms
And Go to "TRANSPORT_TABLE" 480ms
And Go to transport details "TRANSPORT_ORDER" 2s 856ms
Then Check are advice values equals 4s 983ms
After Hooks.cleanUserDetailsAfterTest() 2s 335ms
After Hooks.deleteTransportAfterTest() 781ms
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 591ms
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 543ms
And Add transport by SKApi in "MGW" assigned to "" 024ms
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 920ms
When Click button advice in transport table "TRANSPORT_ORDER" 214ms
And Set advice window in schedule 3s 399ms
And Fill advice form 20s 050ms
And Click advice save button and wait for advice form to disappear 33s 826ms
And Go to "TRANSPORT_TABLE" 523ms
And Go to transport details "TRANSPORT_ORDER" 3s 040ms
Then Check are advice values equals 4s 882ms
After Hooks.cleanUserDetailsAfterTest() 2s 621ms
After Hooks.deleteTransportAfterTest() 796ms
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 454ms
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 875ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 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 7s 544ms
When Click button advice in transport table "TRANSPORT_ORDER" 220ms
And Set advice window in schedule 30s 125ms
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.nXQC78}, 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: 9cf8c623213683dad42f700c3a1a1e2f
*** 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 773ms
After Hooks.deleteTransportAfterTest() 536ms
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 469ms
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 447ms
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 "OWN_COLLECTION" created in transport table and set transport id 7s 141ms
When Click button advice in transport table "OWN_COLLECTION" 216ms
And Set advice window in schedule 3s 322ms
And Fill advice form 20s 415ms
And Click advice save button and wait for advice form to disappear 33s 384ms
And Go to "TRANSPORT_TABLE" 454ms
Then Check advice data in SK API database "OWN_COLLECTION" 459ms
After Hooks.cleanUserDetailsAfterTest() 2s 217ms
After Hooks.deleteTransportAfterTest() 831ms
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 355ms
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 390ms
And Add transport by SKApi in "MGW" assigned to "" 020ms
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 977ms
When Click button advice in transport table "CONTAINER" 232ms
And Set advice window in schedule 3s 379ms
And Fill advice form 20s 424ms
And Click advice save button and wait for advice form to disappear 33s 305ms
And Go to "TRANSPORT_TABLE" 441ms
Then Check advice data in SK API database "CONTAINER" 242ms
After Hooks.cleanUserDetailsAfterTest() 2s 400ms
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-admin" 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-admin" details with all notifications and "" by JSON file 2s 366ms
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 "TRANSPORT_ORDER" created in transport table and set transport id 4s 337ms
When Click button advice in transport table "TRANSPORT_ORDER" 233ms
And Set advice window in schedule 3s 371ms
And Fill advice form 20s 368ms
And Click advice save button and wait for advice form to disappear 33s 839ms
And Go to "TRANSPORT_TABLE" 436ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 085ms
After Hooks.cleanUserDetailsAfterTest() 2s 273ms
After Hooks.deleteTransportAfterTest() 813ms
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 "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 6s 231ms
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 543ms
And Add transport by SKApi in "MGW" assigned to "" 030ms
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 3s 917ms
When Click button advice in transport table "TRANSPORT_ORDER" 226ms
And Set advice window in schedule 3s 351ms
And Fill advice form 20s 235ms
And Click advice save button and wait for advice form to disappear 18s 364ms
And Go to "TRANSPORT_TABLE" 526ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 104ms
After Hooks.cleanUserDetailsAfterTest() 3s 198ms
After Hooks.deleteTransportAfterTest() 910ms
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 544ms
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 911ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 024ms
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 528ms
When Click button advice in transport table "TRANSPORT_ORDER" 210ms
And Set advice window in schedule 3s 424ms
And Fill advice form 20s 309ms
And Click advice save button and wait for advice form to disappear 33s 809ms
And Go to "TRANSPORT_TABLE" 442ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 278ms
After Hooks.cleanUserDetailsAfterTest() 1s 713ms
After Hooks.deleteTransportAfterTest() 850ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 401ms
And Set "transport" inputs from JSON file "CREATE_CONTAINER" "super-admin-skz" 001ms
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 "CONTAINER" created in transport table and set transport id 6s 953ms
When Click button advice in transport table "CONTAINER" 232ms
And Set advice window in schedule in the past 3s 338ms
And Fill advice form 20s 516ms
And Click advice save button to check error message 192ms
Then Check if possible advice alert is displayed 062ms
After Hooks.deleteTransportAfterTest() 574ms
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 765ms
And Set "transport" inputs from JSON file "CREATE_OWN_COLLECTION" "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 "OWN_COLLECTION" created in transport table and set transport id 7s 125ms
And Create advice by JSON file "CREATE_ADVICE_FOR_OWN_COLLECTION" as "super-admin-skz" 4s 053ms
And Go to "TRANSPORT_TABLE" 379ms
When Go to transport details "OWN_COLLECTION" 2s 906ms
And Expand advice panel 326ms
And Edit advice in transport details 19s 197ms
And Fill arrival date field 2s 617ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 197ms
Then Check advice data in database after edition "OWN_COLLECTION" 096ms
After Hooks.deleteTransportAfterTest() 950ms
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 857ms
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" 001ms
And Check is transport "CONTAINER" created in transport table and set transport id 6s 955ms
And Create advice by JSON file "CREATE_ADVICE_FOR_CONTAINER" as "super-admin-skz" 4s 835ms
And Go to "TRANSPORT_TABLE" 385ms
When Go to transport details "CONTAINER" 3s 006ms
And Expand advice panel 286ms
And Edit advice in transport details 19s 441ms
And Fill arrival date field 2s 641ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 235ms
Then Check advice data in database after edition "CONTAINER" 094ms
After Hooks.deleteTransportAfterTest() 728ms
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 827ms
And Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "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" 000ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 3s 703ms
And Create advice by JSON file "CREATE_ADVICE_FOR_TRANSPORT_ORDER" as "super-admin-skz" 4s 789ms
And Go to "TRANSPORT_TABLE" 341ms
When Go to transport details "TRANSPORT_ORDER" 2s 957ms
And Expand advice panel 224ms
And Edit advice in transport details 19s 187ms
And Fill arrival date field 2s 653ms
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" 091ms
After Hooks.deleteTransportAfterTest() 864ms