Project Number Date
ApolloFullRunnerReport develop.461 16 cze 2021, 06:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport form 310 7 37 0 0 354 28 7 35 23m 52s 798ms Failed
Feature Transport form
Given Set "transport" inputs from JSON file "CREATE_SMALLS_IMPORT" "super-admin-skz" 002ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 123ms
When Go to new transport "SMALLS_IMPORT" 363ms
And Fill transport form 19s 792ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 634ms
And Show all transport "false" 006ms
And Go to transport details "SMALLS_IMPORT" 4s 439ms
And Click create similar button 15s 198ms
And Fill "transport" form "CREATE_SIMILAR_SMALLS_IMPORT" by "super-admin-skz" 001ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 635ms
And Open similar transport details 255ms
Then Check are transport values equals 2s 098ms
After Hooks.deleteTransportAfterTest() 107ms
After Hooks.deleteSimilarTransportAfterTest() 155ms
Given Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-alrec" 001ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 893ms
When Go to new transport "TRANSPORT_ORDER" 520ms
And Fill transport form 23s 748ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 646ms
And Show all transport "true" 087ms
And Go to transport details "TRANSPORT_ORDER" 4s 406ms
And Click create similar button 15s 117ms
And Fill "transport" form "CREATE_SIMILAR_TRANSPORT_ORDER" by "super-admin-alrec" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 609ms
And Open similar transport details 293ms
Then Check are transport values equals 2s 209ms
After Hooks.deleteTransportAfterTest() 088ms
After Hooks.deleteSimilarTransportAfterTest() 083ms
Scenario Outline Check if transport created with advice by similar button has correct values
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 001ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 1s 963ms
When Go to new transport "DELIVERY" 15s 323ms
And Fill transport form 37s 939ms
java.lang.AssertionError: Nie można wypełnić pola number-of-cartons-step-0, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Transport/TransportForm/TransportForm.feature:29)
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Click create similar button 000ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule in "2" days 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Open similar transport details 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
Scenario Outline Check if transport created with advice by similar button has correct carrier
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 001ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 1s 145ms
When Go to new transport "DELIVERY" 15s 312ms
And Fill transport form 37s 903ms
java.lang.AssertionError: Nie można wypełnić pola number-of-cartons-step-0, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Transport/TransportForm/TransportForm.feature:53)
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Click create similar button 000ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule in "2" days 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Open similar transport details 000ms
Then Check is field "CARRIER" of type "autocomplete" equals "Przewoźnik Neuca Automat 1" 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
Given Get inputs from database "CREATE_SMALLS_IMPORT_FOR_PRINT" "super-admin-skz" 002ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 555ms
When Go to new transport "SMALLS_IMPORT" 515ms
And Fill transport form 32s 857ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 652ms
And Go to transport details "SMALLS_IMPORT" 4s 454ms
And Go to transport print details form 3s 132ms
Then Check are transport values equals 8s 249ms
After Hooks.deleteTransportAfterTest() 077ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 495ms
And Get inputs from database "CREATE_SMALLS_IMPORT" "super-admin-skz" 002ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 254ms
When Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 250ms
And Go to transport details "SMALLS_IMPORT" 4s 463ms
Then Verify that the transport can be edited 1s 242ms
And Close transport details 15s 135ms
And If user is login then logout 118ms
And Login as "pskza1-carrier@qa.qa-test" 1s 282ms
And Go to transport details "SMALLS_IMPORT" 4s 438ms
And Verify that the transport cannot be edited 46s 306ms
After Hooks.deleteTransportAfterTest() 125ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 274ms
And Get inputs from database "CREATE_SMALLS_EXPORT" "super-admin-skz" 002ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 240ms
When Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 117ms
And Go to transport details "SMALLS_EXPORT" 4s 446ms
Then Verify that the transport can be edited 1s 296ms
And Close transport details 15s 105ms
And If user is login then logout 343ms
And Login as "pskza1-carrier@qa.qa-test" 1s 493ms
And Go to transport details "SMALLS_EXPORT" 4s 598ms
And Verify that the transport cannot be edited 46s 281ms
After Hooks.deleteTransportAfterTest() 117ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 109ms
And Get inputs from database "HIDDEN_DATA_SMALLS_IMPORT" "super-admin-skz" 002ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 275ms
When Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 108ms
And Go to transport details "SMALLS_IMPORT" 4s 437ms
Then Verify that the hidden data in transport are not visible 1s 040ms
And Close transport details 15s 112ms
And If user is login then logout 135ms
And Login as "swisskrono-admin" 1s 664ms
And Go to transport details "SMALLS_IMPORT" 4s 410ms
And Verify that the hidden data in transport are visible 1s 192ms
After Hooks.deleteTransportAfterTest() 079ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 499ms
And Get inputs from database "HIDDEN_DATA_SMALLS_EXPORT" "super-admin-skz" 001ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 290ms
When Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 099ms
And Go to transport details "SMALLS_EXPORT" 4s 370ms
Then Verify that the hidden data in transport are not visible 1s 038ms
And Close transport details 15s 094ms
And If user is login then logout 125ms
And Login as "swisskrono-admin" 1s 457ms
And Go to transport details "SMALLS_EXPORT" 4s 488ms
And Verify that the hidden data in transport are visible 1s 245ms
After Hooks.deleteTransportAfterTest() 097ms
Scenario Outline Check if it is possible use 'save' and 'save transport and close' buttons after editing transport and fill discrepancy report panel
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 801ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 372ms
When Go to transport details "DELIVERY" 4s 999ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 304ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 456ms
And Change filled value in transport details "insp.-accord.-with-ins." "select" "NIE" "1" 3s 505ms
And Fill discrepancy report section without closing the form 19s 662ms
And Click "save-transport" save button 714ms
And Click "save-transport-and-close" save button and wait for form to disappear 10s 163ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.EJ8nQZ}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: e9ffa0727084bdcaee38ac1406847416
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:192)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:201)
	at ✽.Click "save-transport-and-close" save button and wait for form to disappear(file:Features/Atom/Transport/TransportForm/TransportForm.feature:130)
And Check if transport details form is disappeared 000ms
After Hooks.deleteTransportAfterTest() 125ms
Given Set token of apiUsername "super-admin-hochland" 123ms
And Add action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 039ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 226ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 1s 405ms
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 2s 753ms
When Go to "TRANSPORT_TABLE" 185ms
And Go to transport details "DELIVERY" 4s 655ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 1s 327ms
Then Verify that "transport-description" in transport has value "opis" 024ms
After Hooks.deleteTransportAfterTest() 131ms
After Hooks.rollbackAddedActionAuthorities() 036ms
After Hooks.rollbackWarehousesAccess() 156ms
Given Set token of apiUsername "super-admin-hochland" 131ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 1s 398ms
And Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 056ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 139ms
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 2s 842ms
When Go to "TRANSPORT_TABLE" 237ms
And Go to transport details "DELIVERY" 4s 463ms
Then Verify that "transport-description" in transport form is disabled 020ms
After Hooks.deleteTransportAfterTest() 140ms
After Hooks.rollbackRemovedActionAuthorities() 031ms
After Hooks.rollbackWarehousesAccess() 125ms
Given Set token of apiUsername "super-admin-hochland" 120ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 356ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 796ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 359ms
And Go to transport details "DELIVERY" 4s 470ms
Then Verify that "CARRIER" in transport form is visible 024ms
After Hooks.deleteTransportAfterTest() 091ms
After Hooks.rollbackAddedActionAuthorities() 031ms
Given Set token of apiUsername "super-admin-adama" 122ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 036ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 212ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 666ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 102ms
And Go to transport details "TRANSPORT" 4s 466ms
Then Verify that "CARRIER" in transport form is visible 021ms
After Hooks.deleteTransportAfterTest() 083ms
After Hooks.rollbackAddedActionAuthorities() 082ms
Given Set token of apiUsername "super-admin-alrec" 107ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 043ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 308ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 760ms
And Show all transport "true" 060ms
When Go to "TRANSPORT_TABLE" 146ms
And Go to transport details "TRANSPORT_ORDER" 4s 579ms
Then Verify that "CARRIER" in transport form is visible 021ms
After Hooks.deleteTransportAfterTest() 111ms
After Hooks.rollbackAddedActionAuthorities() 040ms
Given Set token of apiUsername "super-admin-hochland" 216ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 038ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 358ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 509ms
And Show all transport "false" 012ms
When Go to "TRANSPORT_TABLE" 170ms
And Go to transport details "DELIVERY" 4s 637ms
Then Verify that "CARRIER" in transport form is not visible 15s 049ms
After Hooks.deleteTransportAfterTest() 103ms
After Hooks.rollbackRemovedActionAuthorities() 045ms
Given Set token of apiUsername "super-admin-adama" 121ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 033ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 219ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 533ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 125ms
And Go to transport details "TRANSPORT" 4s 617ms
Then Verify that "CARRIER" in transport form is not visible 15s 038ms
After Hooks.deleteTransportAfterTest() 099ms
After Hooks.rollbackRemovedActionAuthorities() 047ms
Given Set token of apiUsername "super-admin-alrec" 143ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 025ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 208ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 859ms
And Show all transport "true" 089ms
When Go to "TRANSPORT_TABLE" 171ms
And Go to transport details "TRANSPORT_ORDER" 4s 573ms
Then Verify that "CARRIER" in transport form is not visible 15s 062ms
After Hooks.deleteTransportAfterTest() 081ms
After Hooks.rollbackRemovedActionAuthorities() 043ms
Given Set token of apiUsername "super-admin-hochland" 123ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 042ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 038ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 345ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 742ms
And Show all transport "false" 003ms
When Go to "TRANSPORT_TABLE" 187ms
And Go to transport details "DELIVERY" 4s 698ms
Then Verify that "CARRIER" in transport form is not disabled 033ms
After Hooks.deleteTransportAfterTest() 110ms
After Hooks.rollbackAddedActionAuthorities() 068ms
Given Set token of apiUsername "super-admin-adama" 121ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 043ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 037ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 188ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 462ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 109ms
And Go to transport details "TRANSPORT" 4s 442ms
Then Verify that "CARRIER" in transport form is not disabled 029ms
After Hooks.deleteTransportAfterTest() 081ms
After Hooks.rollbackAddedActionAuthorities() 072ms
Given Set token of apiUsername "super-admin-alrec" 110ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 039ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 041ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 204ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 769ms
And Show all transport "true" 061ms
When Go to "TRANSPORT_TABLE" 096ms
And Go to transport details "TRANSPORT_ORDER" 4s 460ms
Then Verify that "CARRIER" in transport form is not disabled 019ms
After Hooks.deleteTransportAfterTest() 098ms
After Hooks.rollbackAddedActionAuthorities() 053ms
Given Set token of apiUsername "super-admin-hochland" 117ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 033ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 470ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 105ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 308ms
And Go to transport details "DELIVERY" 4s 858ms
Then Verify that "CARRIER" in transport form is disabled 018ms
After Hooks.deleteTransportAfterTest() 161ms
After Hooks.rollbackAddedActionAuthorities() 042ms
After Hooks.rollbackRemovedActionAuthorities() 036ms
Given Set token of apiUsername "super-admin-adama" 114ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 037ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 008ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 164ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 555ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 121ms
And Go to transport details "TRANSPORT" 4s 651ms
Then Verify that "CARRIER" in transport form is disabled 018ms
After Hooks.deleteTransportAfterTest() 089ms
After Hooks.rollbackAddedActionAuthorities() 037ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
Given Set token of apiUsername "super-admin-alrec" 130ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 036ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 005ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 330ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 679ms
And Show all transport "true" 074ms
When Go to "TRANSPORT_TABLE" 095ms
And Go to transport details "TRANSPORT_ORDER" 4s 571ms
Then Verify that "CARRIER" in transport form is disabled 018ms
After Hooks.deleteTransportAfterTest() 099ms
After Hooks.rollbackAddedActionAuthorities() 042ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
Scenario Outline Check if user can add description to archived transport
Steps
Given Set token of apiUsername "super-admin-adama" 159ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 287ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED" 036ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED" 030ms
And Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 056ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 698ms
When Find transport in table with status "planned" 3s 279ms
And Confirm statuses until reach "process-ended" 21s 627ms
And Wait "90" seconds 1m 30s
And Go to "ARCHIVE_TAB" 296ms
And Show "DELIVERY" 069ms
And Go to transport details "DELIVERY" 32s 315ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 1s 348ms
And Click "save-transport-and-close" save button and wait for form to disappear 10s 501ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.EJ8nQZ}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: e9ffa0727084bdcaee38ac1406847416
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:192)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:201)
	at ✽.Click "save-transport-and-close" save button and wait for form to disappear(file:Features/Atom/Transport/TransportForm/TransportForm.feature:246)
And Wait "7" seconds 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "transport-description" in transport has value "opis" 000ms
After Hooks.deleteTransportAfterTest() 069ms
After Hooks.rollbackAddedActionAuthorities() 033ms
After Hooks.rollbackRemovedActionAuthorities() 077ms
Scenario Outline Check if driver is in list in transport form.
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 397ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 598ms
When Go to transport details "DELIVERY" 4s 830ms
And Fill transport form 18s 662ms
java.lang.AssertionError: Nie można wypełnić pola number-of-pallets-step-0, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Transport/TransportForm/TransportForm.feature:261)
And Change filled value in transport details "driver-name" "text" "XXX ZZZ" "0" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to new transport "DELIVERY" 000ms
Then Verify that driver "XXX ZZZ" is in list 000ms
After Hooks.deleteTransportAfterTest() 112ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 230ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 222ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 218ms
And If user is login then logout 128ms
And Login as "pskza1-carrier@qa.qa-test" 1s 397ms
Then Verify that the transport has been transferred 1s 246ms
And Accept or reject "accept" transferred transport 15s 723ms
And Go to transport details "SMALLS_IMPORT" 4s 531ms
And Verify that "transaction-price" in transport form is visible 024ms
And Verify that transaction price field has correct value 016ms
And Verify that transaction currency field has correct value: "swisskrono" "SMALLS_IMPORT" 018ms
After Hooks.deleteTransportAfterTest() 059ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 590ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 326ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 161ms
And If user is login then logout 099ms
And Login as "pskza1-carrier@qa.qa-test" 1s 227ms
Then Verify that the transport has been transferred 1s 115ms
And Accept or reject "accept" transferred transport 15s 799ms
And Go to transport details "SMALLS_EXPORT" 4s 564ms
And Verify that "transaction-price" in transport form is visible 025ms
And Verify that transaction price field has correct value 019ms
And Verify that transaction currency field has correct value: "swisskrono" "SMALLS_EXPORT" 027ms
After Hooks.deleteTransportAfterTest() 086ms
Given Login as "pna1-carrier" 1s 045ms
When Click plan transport button 200ms
When Change filled value in transport details "company-step-0" "autocomplete" "DNA1" "0" 6s 448ms
Then Verify that value in field is equals details "company-step-0" "autocomplete" "DNA1" 1s 017ms
Scenario Outline Check if transport created by similar button has correct custom fields values
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 778ms
And Create transport "CREATE_TRANSPORT_WITH_CUSTOM_FIELDS" by JSON file as "super-admin-alrec" 1s 248ms
And Show all transport "true" 066ms
And Go to transport details "TRANSPORT_ORDER" 4s 538ms
And Set custom fields values 1m 45s 477ms
And Create transport by create similar button 25s 311ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.EJ8nQZ}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: e9ffa0727084bdcaee38ac1406847416
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at CucumberTests.Transport.TransportFormTest.createTransportByCreateSimilarButton(TransportFormTest.java:82)
	at ✽.Create transport by create similar button(file:Features/Atom/Transport/TransportForm/TransportForm.feature:304)
And Open similar transport details 000ms
Then Verify that custom fields has added value 000ms
And Close transport details 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Verify that custom fields has added value 000ms
After Hooks.deleteAllTransports() 31s 591ms
Given Set token of apiUsername "super-admin-alrec" 120ms
And Get "DELIVERY" settings from "alrec" 022ms
And Set transportType settings with values: "numberOfDaysAddedToFirstStep", "10" 210ms
And Login as "alrec-admin" 1s 237ms
And Go to "TRANSPORT_TABLE" 139ms
When Go to new transport "DELIVERY" 302ms
Then Check if scheduled date of advice in transport form is in 10 days 016ms
After Hooks.rollbackTransportTypeSettings() 043ms
Given Set token of apiUsername "super-admin-alrec" 127ms
And Get "DELIVERY" settings from "alrec" 018ms
And Set transportType settings with values: "numberOfDaysAddedToFirstStep", "10" 045ms
And Login as "alrec-admin" 1s 178ms
And Go to "TRANSPORT_TABLE" 129ms
When Go to new transport "DELIVERY" 283ms
Then Check if scheduled date of advice in transport form is in 10 days 012ms
After Hooks.rollbackTransportTypeSettings() 047ms
Scenario Outline Check if custom fields are filled with default option when form is opened
Steps
Given Set token of apiUsername "super-admin-bausch" 115ms
And Get "Serwis" settings from "bausch" in "LOAD_PL" 023ms
When Set custom field "Serwis" with "EDIT_LOAD_PL_SERVICE_CFD" in "LOAD_PL" - "bausch" by "super-admin-bausch" 057ms
And Login as "bausch-admin" 2s 064ms
And Go to new transport "LOAD_PL" 15s 144ms
Then Check is field "service" of type "select" equals "OUT" 32s 096ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='service']//div"}
  (Session info: headless chrome=91.0.4472.77)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.EJ8nQZ}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: e9ffa0727084bdcaee38ac1406847416
*** Element info: {Using=xpath, value=//div[@data-field-name='service']//div}
	at sun.reflect.GeneratedConstructorAccessor200.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 CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:130)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:261)
	at CucumberTests.Transport.TransportFormTest.checkIsFieldOfTypeEquals(TransportFormTest.java:508)
	at ✽.Check is field "service" of type "select" equals "OUT"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:347)
After Hooks.rollbackCustomFieldSettings() 023ms
Given Set token of apiUsername "super-admin-dayco" 118ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 1s 221ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 1s 608ms
And Click button advice in transport table "OWN_COLLECTION" 401ms
And Set advice window in schedule 2s 722ms
And Fill advice form 7s 068ms
And Click advice save button and wait for advice form to disappear 31s 210ms
And Go to "TRANSPORT_TABLE" 183ms
And Find transport in table with status "planned" 3s 240ms
And Confirm statuses until reach "on-the-area" 3s 838ms
And Go to transport details "OWN_COLLECTION" 4s 373ms
And Click create similar button 15s 181ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 6s 460ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 606ms
And Open similar transport details 197ms
Then Check if transport form modal is visible 021ms
After Hooks.deleteTransportAfterTest() 093ms
After Hooks.deleteSimilarTransportAfterTest() 058ms
Given Set token of apiUsername "super-admin-dayco" 112ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 1s 176ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 981ms
And Click button advice in transport table "OWN_COLLECTION" 278ms
And Set advice window in schedule 2s 500ms
And Fill advice form 6s 900ms
And Click advice save button and wait for advice form to disappear 30s 682ms
And Go to "TRANSPORT_TABLE" 247ms
And Find transport in table with status "planned" 3s 248ms
And Confirm statuses until reach "during-load" 6s 630ms
And Go to transport details "OWN_COLLECTION" 4s 428ms
And Click create similar button 15s 147ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 6s 486ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 589ms
And Open similar transport details 317ms
Then Check if transport form modal is visible 033ms
After Hooks.deleteTransportAfterTest() 104ms
After Hooks.deleteSimilarTransportAfterTest() 060ms