Project Number Date
ApolloFullRunnerReport apollo-test-2.59 29 cze 2021, 06:33

Failures Overview

The following summary displays scenarios that failed.

View Feature API Transport
Scenario Outline Check if response code contains expected status after editing transport by Api with non unique erpIdentifier [A-7521]
Steps
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 747ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 182ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 027ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 314ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 271ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY_WITH_FILLED_ERP_IDENTIFIER" as "super-admin-piast" with "nonUniqueERPId" for api version "v1" 349ms
Then Check if response status code equals "422" 001ms
org.junit.ComparisonFailure: Odpowiedź zawiera kod 404 zamiast 422 expected:<4[22]> but was:<4[04]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseStatusCodeEquals(ApiTransportTest.java:131)
	at ✽.Check if response status code equals "422"(file:Features/Api/Transport.feature:123)
After Hooks.rollbackSettings() 002ms
After Hooks.deleteAllTransports() 1m 3s 459ms
View Feature Advice transport
Scenario Outline Check if it isn't possible to advice transport in the past when advice is created from transports table.
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 6s 205ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 2s 063ms
And Get inputs from database "CREATE_ADVICE_CONTAINER" "super-admin-adama" 2s 638ms
And Check is transport "CONTAINER" created in transport table and set transport id 1s 375ms
When Click button advice in transport table "CONTAINER" 232ms
And Set advice window in schedule in the past 4s 234ms
And Fill advice form 20s 142ms
And Click advice save button to check error message 187ms
Then Check if possible advice alert is displayed 30s 213ms
java.lang.AssertionError: Komunikat o tym, że nie możesz awizować w przeszłości nie pojawił się.
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.AdviceTransport.notPossibleAdviceAlertIsDisplayed(AdviceTransport.java:154)
	at ✽.Check if possible advice alert is displayed(file:Features/Atom/Advice/AdviceTransport.feature:13)
After Hooks.deleteTransportAfterTest() 994ms
View Feature Advice transport
Scenario Outline Check if it isn't possible to advice transport in the past when advice is created from transports table.
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 6s 297ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 036ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 039ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 376ms
When Click button advice in transport table "DELIVERY" 238ms
And Set advice window in schedule in the past 4s 198ms
And Fill advice form 10s 715ms
And Click advice save button to check error message 209ms
Then Check if possible advice alert is displayed 30s 186ms
java.lang.AssertionError: Komunikat o tym, że nie możesz awizować w przeszłości nie pojawił się.
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.AdviceTransport.notPossibleAdviceAlertIsDisplayed(AdviceTransport.java:154)
	at ✽.Check if possible advice alert is displayed(file:Features/Atom/Advice/AdviceTransport.feature:13)
After Hooks.deleteTransportAfterTest() 1s 036ms
View Feature Advice transport
Scenario Outline Check if it isn't possible to advice transport in the past when advice is created from transports table.
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 515ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 2s 060ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 025ms
And Check is transport "LOAD" created in transport table and set transport id 1s 369ms
When Click button advice in transport table "LOAD" 225ms
And Set advice window in schedule in the past 4s 037ms
And Fill advice form 10s 733ms
And Click advice save button to check error message 211ms
Then Check if possible advice alert is displayed 30s 218ms
java.lang.AssertionError: Komunikat o tym, że nie możesz awizować w przeszłości nie pojawił się.
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.AdviceTransport.notPossibleAdviceAlertIsDisplayed(AdviceTransport.java:154)
	at ✽.Check if possible advice alert is displayed(file:Features/Atom/Advice/AdviceTransport.feature:13)
After Hooks.deleteTransportAfterTest() 896ms
View Feature Advice transport
Scenario Outline Check if it isn't possible to advice transport in the past when advice is created from transports table.
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 6s 481ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 994ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 023ms
And Check is transport "LOAD" created in transport table and set transport id 1s 319ms
When Click button advice in transport table "LOAD" 208ms
And Set advice window in schedule in the past 4s 472ms
And Fill advice form 16s 443ms
And Click advice save button to check error message 199ms
Then Check if possible advice alert is displayed 30s 210ms
java.lang.AssertionError: Komunikat o tym, że nie możesz awizować w przeszłości nie pojawił się.
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.AdviceTransport.notPossibleAdviceAlertIsDisplayed(AdviceTransport.java:154)
	at ✽.Check if possible advice alert is displayed(file:Features/Atom/Advice/AdviceTransport.feature:13)
After Hooks.deleteTransportAfterTest() 880ms
View Feature Advice transport
Scenario Outline Check if it isn't possible to advice transport in the past when advice is created from transports table.
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 633ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 993ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 021ms
And Check is transport "CONTAINER" created in transport table and set transport id 1s 326ms
When Click button advice in transport table "CONTAINER" 213ms
And Set advice window in schedule in the past 4s 339ms
And Fill advice form 16s 404ms
And Click advice save button to check error message 189ms
Then Check if possible advice alert is displayed 30s 133ms
java.lang.AssertionError: Komunikat o tym, że nie możesz awizować w przeszłości nie pojawił się.
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.AdviceTransport.notPossibleAdviceAlertIsDisplayed(AdviceTransport.java:154)
	at ✽.Check if possible advice alert is displayed(file:Features/Atom/Advice/AdviceTransport.feature:13)
After Hooks.deleteTransportAfterTest() 978ms
View Feature Advice transport
Scenario Outline Check if it is possible to advice by advice button in transport table after passing it on to the carrier
Steps
Given Set token of apiUsername "super-admin-adama" 244ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 196ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 781ms
And Set token of apiUsername "paa1-carrier@qa.qa-test" 208ms
And Accept transferred transport by Api 859ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 5s 191ms
And Get inputs from database "ADVICE_TRANSPORT" "super-admin-adama" 034ms
When Show all transport types 1s 243ms
And Click button advice in transport table "TRANSPORT" 333ms
And Set advice window in schedule 3s 835ms
And Fill advice form 15s 119ms
java.lang.AssertionError: Nie można wypełnić pola phone-number-prefix, 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.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
	at ✽.Fill advice form(file:Features/Atom/Advice/AdviceTransport.feature:101)
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" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 769ms
View Feature Advice transport
Scenario Outline Check if it is possible to advice by advice button in transport table after passing it on to the carrier
Steps
Given Set token of apiUsername "super-admin-skz" 241ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 16s 044ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 654ms
And Set token of apiUsername "pskza1-carrier@qa.qa-test" 216ms
And Accept transferred transport by Api 773ms
And Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 564ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 021ms
When Show all transport types 1s 184ms
And Click button advice in transport table "SMALLS_IMPORT" 1s 251ms
And Set advice window in schedule 4s 011ms
And Fill advice form 15s 057ms
java.lang.AssertionError: Nie można wypełnić pola terms-of-condition, 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.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
	at ✽.Fill advice form(file:Features/Atom/Advice/AdviceTransport.feature:101)
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "SMALLS_IMPORT" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 780ms
View Feature Advice transport
Scenario Outline Check if it is possible to advice by advice button in transport table after passing it on to the carrier
Steps
Given Set token of apiUsername "super-admin-skz" 236ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 16s 045ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 657ms
And Set token of apiUsername "pskza1-carrier@qa.qa-test" 243ms
And Accept transferred transport by Api 753ms
And Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 722ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 022ms
When Show all transport types 1s 157ms
And Click button advice in transport table "SMALLS_EXPORT" 1s 357ms
And Set advice window in schedule 3s 998ms
And Fill advice form 15s 095ms
java.lang.AssertionError: Nie można wypełnić pola terms-of-condition, 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.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
	at ✽.Fill advice form(file:Features/Atom/Advice/AdviceTransport.feature:101)
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "SMALLS_EXPORT" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 652ms
View Feature Auctions Mail
Scenario Outline Check mail two hours before auction ends
Steps
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 5s 719ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 173ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 082ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes 414ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	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.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:80)
	at CucumberTests.Transport.AuctionTransport.setTransportOnAuction(AuctionTransport.java:54)
	at CucumberTests.Transport.AuctionTransport.setTransportOnAuctionByApiWith(AuctionTransport.java:71)
	at ✽.Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes(file:Features/Atom/Mail/AuctionMail.feature:103)
And Wait "90" seconds 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zakończenie aukcji" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 691ms
After Hooks.cleanUserDetailsAfterTest() 1s 882ms
View Feature Base options of periodic transport - create, edit, delete etc.
Scenario Outline Create time windows of periodic transport [A-6089]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 501ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 300ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 521ms
And Fill transport form 45s 993ms
And Select option of periodic transport and fill settings "WEEKLY" 20s 489ms
And Click "save-transport" save button and wait for form to disappear 16s 815ms
Then Set advice window in schedule in "0" days 242ms
And Check is transport created in schedule and set transport id 3s 685ms
And Set week view 3s 402ms
Then Wait for schedule update 1s 208ms
Then Check if periodic transport for "WEEKLY" is created correctly 30s 266ms
java.lang.AssertionError: Okno awizacji nie pojawiło się dwa dni później w tygodniu: 1
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Schedule.SchedulePage.checkPeriodicTransportLocation(SchedulePage.java:345)
	at CucumberTests.Transport.PeriodicTransportTest.waitAMinuteAndCheckIfPeriodicTransportForIsCreatedCorectly(PeriodicTransportTest.java:77)
	at ✽.Check if periodic transport for "WEEKLY" is created correctly(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:16)
After Hooks.deleteAllTransports() 1m 42s 795ms
View Feature CRUD warehouse zones
Scenario Outline Check GUI for warehouse zone [A-7387]
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 358ms
And Go to "SETTINGS_TAB" 664ms
And Go to warehouse "Lantmannen Unibake Poland - Nieporęt" 1s 337ms
And Go to add new warehouse form 168ms
Then Check if transport type checkbox in new warehouse zone form is selected 105ms
When Fill new warehouse zone form 816ms
And Set new warehouse zone name 070ms
And Save new warehouse zone form 210ms
And Click add ramp button for previously created warehouse zone 781ms
And Fill new ramp form 3s 128ms
And Click save ramp button 1s 131ms
And Click back to warehouse button 1s 243ms
When Go to new transport "DELIVERY" 513ms
And Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 015ms
And Fill transport form 42s 872ms
And Change filled value in transport details "warehouse" "select" "Lantmannen Unibake Poland - Nieporęt" "0" 3s 764ms
And Wait "2" seconds 2s
And Change filled value in transport details "warehouse-zone-step-0" "select" "abcde" "0" 16s 354ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//li//span[text()='abcde'] | //li[text()='abcde' and @role='option']"}
  (Session info: headless chrome=91.0.4472.114)
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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.uUQP7f}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: b422fd0a70e32c7691437eec1d8e53d6
*** Element info: {Using=xpath, value=//li//span[text()='abcde'] | //li[text()='abcde' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor184.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.selectValue(Transport.java:226)
	at CucumberTests.Transport.Transport.fillSelectInput(Transport.java:211)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:166)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:274)
	at ✽.Change filled value in transport details "warehouse-zone-step-0" "select" "abcde" "0"(file:Features/Atom/Warehouse/Zones.feature:37)
And Click "save-transport" save button and wait for form to disappear 000ms
Then Check if new warehouse zone is available for advice in the schedule 000ms
And Check if new ramp is available for advice in the schedule 000ms
After Hooks.removeZoneAfterTest() 014ms
View Feature Company
Scenario Outline Check if it possible to edit company by super-admins [A-6812]
Steps
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 503ms
And Create company "Firma Piast" by JSON file as "super-admin-piast" 851ms
When Edit company "Firma Piast" 3s 140ms
And Wait "2" seconds 2s
Then Company is successfully edited 15s 086ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'alert-success')]"}
  (Session info: headless chrome=91.0.4472.114)
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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.uUQP7f}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: b422fd0a70e32c7691437eec1d8e53d6
*** Element info: {Using=xpath, value=//div[contains(@class, 'alert-success')]}
	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:323)
	at Pages.Company.CompanyDetailsPage.getAlertSuccess(CompanyDetailsPage.java:39)
	at CucumberTests.Company.EditCompanyTest.companyIsSuccessfullyEdited(EditCompanyTest.java:66)
	at ✽.Company is successfully edited(file:Features/Atom/Companies/Company.feature:22)
After Hooks.deleteCompanyAfterTest() 304ms
View Feature Company
Scenario Outline Check if only admins have the authority to manage partnerships in the contractor's details [A-7536]
Steps
Given Login as "dpa1-supplier-2" and set token of apiUsername "super-admin-piast" 32s 357ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac dpa1-supplier-2 (tried for 20 second(s) with 500 MILLISECONDS interval)
	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.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "dpa1-supplier-2" and set token of apiUsername "super-admin-piast"(file:Features/Atom/Companies/Company.feature:93)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
And Go to "OWN_COMPANY_TAB" 000ms
Then Verify that user has correct partnership management permissions "dpa1-supplier-2" 000ms
View Feature Company Resources
Scenario Outline Check if it possible to save resource to company from transport form
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY_SUPPLIER" "super-admin-alrec" 002ms
And Login as "daa1-supplier" and set token of apiUsername "super-admin-alrec" 32s 208ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac daa1-supplier (tried for 20 second(s) with 500 MILLISECONDS interval)
	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.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "daa1-supplier" and set token of apiUsername "super-admin-alrec"(file:Features/Atom/Companies/CompanyResources.feature:6)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
And Go to new transport "DELIVERY" 000ms
And Fill transport form 000ms
And Select "save-as-resource" checkbox 000ms
When 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
Then Go to "OWN_COMPANY_TAB" 000ms
And Check if advice values are visible in company resources 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature Crud Transport
Scenario Outline Check if firstPossibleStart algorithm works properly when creating transport advice
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 602ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 945ms
And Create gray windows "CREATE_GRAY_WINDOW_MWG" on "PRZESYŁKI DROBNICOWE" in "Magazyn Wyrobów Gotowych" as "super-admin-keeeper" 1s 193ms
And If user is login then logout 484ms
Then Login as "dka1-supplier" 6s 014ms
And Click button advice in transport table "LOAD" 922ms
And Check if moved to first possible start date in schedule 2s 903ms
org.junit.ComparisonFailure: Algorytm nie zadziałał prawidłowo expected:<[01.07.2021]> but was:<[]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.AdviceTransport.checkIfAlgorithmMovedUserInSchedule(AdviceTransport.java:309)
	at ✽.Check if moved to first possible start date in schedule(file:Features/Atom/Transport/CrudTransport.feature:177)
After Hooks.deleteTransportAfterTest() 635ms
After Hooks.deleteAllGrayWindowsAfterTest() 1m 31s 842ms
View Feature DedicatedWindow
Scenario Outline Check if it is possible to resize dedicated window
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 985ms
And Go to "WAREHOUSE_TAB" 1s 132ms
And Select "PHA1" to create dedicated window for 3s 324ms
And Click in free spot in schedule page to create dedicated window 2s 183ms
When Check if dedicated window for "PHA1" is in the schedule 182ms
Then Set time window height "1" "dedicatedWindow" 5s 661ms
And Check height of the time window after expanding by "1" in "dedicatedWindow" 077ms
And Set time window height "-1" "dedicatedWindow" 5s 620ms
And Check height of the time window after expanding by "-1" in "dedicatedWindow" 084ms
org.junit.ComparisonFailure: Okno nie zmieniło swojego rozmiaru expected:<[2]0,00> but was:<[4]0,00>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:49)
	at ✽.Check height of the time window after expanding by "-1" in "dedicatedWindow"(file:Features/Atom/TimeWindow/DedicatedWindow.feature:40)
After Hooks.deleteDedicatedWindowAfterTest() 15s 889ms
View Feature Discrepancy Report Mail
Scenario Outline Check if mail was sent to after discrepancy report generation
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 604ms
And Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 3s 952ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 212ms
And Go to "TRANSPORT_TABLE" 412ms
And Go to transport details "DELIVERY" 4s 897ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 019ms
And Fill transport form 40s 714ms
And Open section: "discrepancy-report-panel" 1s 130ms
And Fill discrepancy report section 40s 907ms
And Go to transport details "DELIVERY" 4s 866ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 1s 475ms
And Generate discrepancy report 22s 194ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Utworzono protokół niezgodności" 3m 20s 666ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/DiscrepancyReportMail.feature:18)
After Hooks.deleteTransportAfterTest() 1s 082ms
After Hooks.cleanUserDetailsAfterTest() 3s 634ms
View Feature Filters
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 720ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 164ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 688ms
And Accept transferred transport by Api 737ms
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 58s 226ms
And Delete created transport by API 1s 046ms
When Go to "ARCHIVE_TAB" 514ms
And Show "SMALLS_IMPORT" 184ms
Then Check if it is possible to search with different date property selects 26s 855ms
org.junit.ComparisonFailure: Data jest inna niż wybrana w filtrze! Problem wystąpił przy TIME_WINDOW_START expected:<[06.07].2021> but was:<[29.06].2021>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at Pages.Filters.FiltersPage.checkDateFilterPropertySelect(FiltersPage.java:263)
	at CucumberTests.Filters.FilterTransportTest.searchWithDifferentArchiveFilters(FilterTransportTest.java:98)
	at ✽.Check if it is possible to search with different date property selects(file:Features/Atom/Filters/Filter.feature:140)
After Hooks.deleteTransportAfterTest() 999ms
View Feature Filters
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 674ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 260ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 676ms
And Accept transferred transport by Api 741ms
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 58s 057ms
And Delete created transport by API 1s 060ms
When Go to "ARCHIVE_TAB" 504ms
And Show "SMALLS_EXPORT" 184ms
Then Check if it is possible to search with different date property selects 26s 619ms
org.junit.ComparisonFailure: Data jest inna niż wybrana w filtrze! Problem wystąpił przy TIME_WINDOW_START expected:<[06.07].2021> but was:<[29.06].2021>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at Pages.Filters.FiltersPage.checkDateFilterPropertySelect(FiltersPage.java:263)
	at CucumberTests.Filters.FilterTransportTest.searchWithDifferentArchiveFilters(FilterTransportTest.java:98)
	at ✽.Check if it is possible to search with different date property selects(file:Features/Atom/Filters/Filter.feature:140)
After Hooks.deleteTransportAfterTest() 885ms
View Feature Grouping of carriers
Scenario Outline Check if carrier has been added to carriers group
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 686ms
When Go to "COMPANIES_TAB" 1s 071ms
And Go to company "Przewoźnik SKZ Automat 1" details 568ms
And Add carrier to carriers group "Kraj" 1s 031ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.uUQP7f}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: b422fd0a70e32c7691437eec1d8e53d6
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:83)
	at CucumberTests.Company.EditCompanyTest.addCarrierToCarriersGroup(EditCompanyTest.java:109)
	at ✽.Add carrier to carriers group "Kraj"(file:Features/Atom/Grouping/CarrierGrouping.feature:21)
Then Verify that carrier has been added to carriers group "Kraj" 000ms
After Hooks.removeContractorsGroup() 394ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 226ms
And Delete invitations with email "automaty31415@test.pl" 017ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 864ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 584ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	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.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:80)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:171)
When Login as "piast-admin" 000ms
Then Go to "INVITATIONS_TAB" 000ms
And Go to invitation details 000ms
Then Reject invitation by button as user 000ms
When If user is login then logout 000ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 000ms
And Go to "INVITATIONS_TAB" 000ms
And Go to "REJECTED_TAB" invitation status tab 000ms
Then Invitation is displayed on list "automaty31415@test.pl" 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:270)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
After Hooks.cleanUserDetailsAfterTest() 889ms
View Feature Invitation
Scenario Outline Check if it is possible to invite existing user in order to associate him with principal company [A-7315]
Steps
Given Set token of apiUsername "super-admin-alrec" 232ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 354ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 219ms
And Go to "INVITATIONS_TAB" 462ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 614ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 15s 045ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (Session info: headless chrome=91.0.4472.114)
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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.uUQP7f}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: b422fd0a70e32c7691437eec1d8e53d6
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at CucumberTests.Invitation.InvitationTest.createInvitationSuccessAlertIsDisplayed(InvitationTest.java:59)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:346)
After Hooks.deleteInvitationAfterTest() 027ms
After Hooks.cleanUserDetailsAfterTest() 1s 113ms
View Feature Mode of transportation mail
Scenario Outline Check if mail was sent after creating mode of transportation
Steps
Given Set token of apiUsername "super-admin-bausch" 230ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 681ms
When Create default mode of transportation by API with "pba1-carrier" 459ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowy środek transportu" 3m 17s 842ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/MOTMail.feature:21)
After Hooks.cleanUserDetailsAfterTest() 1s 656ms
After Hooks.deleteModeOfTransportationAfterTest() 313ms
View Feature Mode of transportation status
Scenario Outline Check if mode transportation status change appropriate to performed actions by users
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 431ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 810ms
And Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000" 17s 503ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 526ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 062ms
And Go to mode of transportation details 248ms
And Add "WINTER_MAPPING" document to mode of transportation 15s 382ms
And Add "SUMMER_MAPPING" document to mode of transportation 15s 394ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 16s 200ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 606ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 098ms
And If user is login then logout 282ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 721ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 560ms
And Go to mode of transportation details 332ms
And Accept "WINTER_MAPPING" document 16s 142ms
And Accept "SUMMER_MAPPING" document 16s 208ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 16s 260ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 765ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 092ms
And Go to mode of transportation details 340ms
And Approve mode of transportation 166ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 560ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 074ms
org.junit.ComparisonFailure: Status Zaakceptowany jest widoczny w tabeli expected:<[Z]aakceptowany> but was:<[Niez]aakceptowany>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfStatusIsVisibleInCreatedMOT(MOTTableTest.java:71)
	at ✽.Check if "Zaakceptowany" status is visible in mode of transportation table(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:49)
And Go to mode of transportation details 000ms
And Reject "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zablokowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Reject mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Odrzucony" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Confirm mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaktualizowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Disable mode of transportation by API 000ms
And Show disabled mode of transportations in the table 000ms
And Go to the last mode of transportations table page 000ms
And Check if "Wyłączony" status is visible in mode of transportation table 000ms
After Hooks.deleteModeOfTransportationAfterTest() 489ms
View Feature Mode of transportation table
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 737ms
And Create default mode of transportation by API with "pba1-carrier" 586ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 454ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 556ms
Then Check if "SENSOR_CALIBRATION_CERTIFICATE" document data is visible in correct columns 3s 196ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Ważność kalibracji' są nie poprawne expected:<2022-06-2[8]> but was:<2022-06-2[9]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:113)
	at ✽.Check if "SENSOR_CALIBRATION_CERTIFICATE" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 287ms
View Feature Mode of transportation table
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 344ms
And Create default mode of transportation by API with "pba1-carrier" 645ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 366ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 557ms
Then Check if "SUMMER_MAPPING" document data is visible in correct columns 3s 239ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Mapowanie letnie' są nie poprawne expected:<2021-06-2[8]> but was:<2021-06-2[9]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:118)
	at ✽.Check if "SUMMER_MAPPING" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 337ms
View Feature Mode of transportation table
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 494ms
And Create default mode of transportation by API with "pba1-carrier" 646ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 366ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 570ms
Then Check if "WINTER_MAPPING" document data is visible in correct columns 3s 264ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Mapowanie zimowe' są nie poprawne expected:<2021-06-2[8]> but was:<2021-06-2[9]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:123)
	at ✽.Check if "WINTER_MAPPING" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 323ms
View Feature Mode of transportation table
Scenario Outline Check if dates have proper colors in MOT table [A-6761]
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 4s 709ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 649ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document with "HOW_MANY_DAYS_BEFORE_DOCUMENT_EXPIRATION_DATE_CARRIER_SHOULD_BE_BLOCKED" for "bausch" to mode of transportation by API with "pba1-carrier" 405ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 596ms
Then Verify that last sensor calibrate certificate has class "red-warning" 1s 075ms
org.junit.ComparisonFailure: Oczekiwana klasa css różni się od tej w tabeli!!! expected:<[red]-warning> but was:<[yellow]-warning>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.verifyThatLastSensorCalibrateCertificateHasClass(MOTTableTest.java:134)
	at ✽.Verify that last sensor calibrate certificate has class "red-warning"(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:76)
After Hooks.deleteAllModesOfTransportationAfterTest() 311ms
View Feature Move transport to archive
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Set token of apiUsername "super-admin-dayco" 203ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 099ms
And Mark custom fields as not obligatory 004ms
And Login as "dayco-admin" 2s 011ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 098ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 125ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 024ms
When Go to "TRANSPORT_TABLE" 369ms
And Click button advice in transport table "OWN_COLLECTION" 1s 446ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 46s 591ms
And Go to "TRANSPORT_TABLE" 444ms
And Find transport in table with status "planned-magazyn-tychy" 3s 703ms
And Confirm statuses until reach "process-ended" 16s 617ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 576ms
And Show "OWN_COLLECTION" 178ms
And Verify that created transport is "true" in transport table 1m 32s 363ms
java.lang.AssertionError: expected: but was:
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at CucumberTests._PerformanceTests.TransportTableTest.verifyThatCreatedTransportIsInTransportTable(TransportTableTest.java:116)
	at ✽.Verify that created transport is "true" in transport table(file:Features/Atom/Transport/Archive.feature:54)
After Hooks.deleteTransportAfterTest() 1s 020ms
After Hooks.rollbackAllCustomFieldsSettings() 418ms
After Hooks.rollbackSettings() 141ms
View Feature Reject Transport
Scenario Outline Check if it is possible to accept and reject transport by carrier
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 013ms
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:158)
	at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:82)
	at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:271)
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
	at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
	at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:257)
	at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:207)
	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
	at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:684)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
	at org.apache.http.client.HttpClient$execute$0.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at org.apache.http.client.HttpClient$execute$0.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl$RestAssuredHttpBuilder.doRequest(RequestSpecificationImpl.groovy:2146)
	at io.restassured.internal.http.HTTPBuilder.post(HTTPBuilder.java:349)
	at io.restassured.internal.http.HTTPBuilder$post$2.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.sendRequest(RequestSpecificationImpl.groovy:1274)
	at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:152)
	at io.restassured.internal.filter.SendRequestFilter.filter(SendRequestFilter.groovy:30)
	at io.restassured.filter.Filter$filter$0.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at io.restassured.filter.Filter$filter.call(Unknown Source)
	at io.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:72)
	at io.restassured.filter.time.TimingFilter.filter(TimingFilter.java:56)
	at io.restassured.filter.Filter$filter.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at io.restassured.filter.Filter$filter$0.call(Unknown Source)
	at io.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:72)
	at io.restassured.filter.FilterContext$next.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1749)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:171)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:147)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:76)
	at ✽.Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"(file:Features/Atom/Transport/TransportTransfer/RejectTransport.feature:15)
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 000ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 000ms
When Accept or reject "accept" transferred transport 000ms
Then Verify that transport is accept or reject "accept" 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature SK Api - Advice transport
Scenario Outline Check if not possible to advice transport in the past when advice is created from transports table and transport is created by sk API
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 605ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 021ms
And Add transport by SKApi in "MGW" 020ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 019ms
And Check is transport "CONTAINER" created in transport table and set transport id 1m 1s 062ms
When Click button advice in transport table "CONTAINER" 220ms
And Set advice window in schedule in the past 3s 991ms
And Fill advice form 17s 923ms
And Click advice save button to check error message 196ms
Then Check if possible advice alert is displayed 30s 159ms
java.lang.AssertionError: Komunikat o tym, że nie możesz awizować w przeszłości nie pojawił się.
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.AdviceTransport.notPossibleAdviceAlertIsDisplayed(AdviceTransport.java:154)
	at ✽.Check if possible advice alert is displayed(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:55)
After Hooks.deleteTransportAfterTest() 1s 173ms
View Feature Sorting
Scenario Outline Check if transports statuses sorts correctly
Steps
Given Set token of apiUsername "super-admin-neuca" 227ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 138ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 17s 113ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 17s 100ms
When Confirm status "ARRIVE" by Public API "v1" 401ms
And Login as "neuca-admin" 1s 981ms
When Go to "TRANSPORT_TABLE" 30s 947ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //div[@class = 'transport-table-nav'] (tried for 30 second(s) with 500 MILLISECONDS interval)
	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.checkElementIsVisible(BasePage.java:177)
	at CucumberTests.BaseTest.goToTab(BaseTest.java:94)
	at CucumberTests.Transport.CreateTransport.GoToTab(CreateTransport.java:206)
	at ✽.Go to "TRANSPORT_TABLE"(file:Features/Atom/Sorting/Sorting.feature:43)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[@class = 'transport-table-nav']
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: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:177)
	at CucumberTests.BaseTest.goToTab(BaseTest.java:94)
	at CucumberTests.Transport.CreateTransport.GoToTab(CreateTransport.java:206)
	at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
And Click button "STATUS" "2" times 000ms
Then Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY" 000ms
After Hooks.rollbackAddedAuthorities() 000ms
After Hooks.deleteAllTransports() 1m 34s 324ms
View Feature Status confirmation
Scenario Outline Check if transport has ended status after adding advice by user
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 7s 546ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 271ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 672ms
When Accept or reject "accept" transferred transport 19s 595ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 019ms
And Click button advice in transport table "SMALLS_IMPORT" 264ms
And Set advice window in schedule 4s 104ms
And Fill advice form 15s 108ms
java.lang.AssertionError: Nie można wypełnić pola terms-of-condition, 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.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
	at ✽.Fill advice form(file:Features/Atom/Statuses/ConfirmStatuses.feature:32)
And Click advice save button and wait for advice form to disappear 000ms
And Check if window is "silver" 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 750ms
View Feature Status confirmation
Scenario Outline Check if transport has ended status after adding advice by user
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 567ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 279ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 655ms
When Accept or reject "accept" transferred transport 19s 742ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 018ms
And Click button advice in transport table "SMALLS_EXPORT" 264ms
And Set advice window in schedule 4s 115ms
And Fill advice form 15s 084ms
java.lang.AssertionError: Nie można wypełnić pola terms-of-condition, 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.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
	at ✽.Fill advice form(file:Features/Atom/Statuses/ConfirmStatuses.feature:32)
And Click advice save button and wait for advice form to disappear 000ms
And Check if window is "silver" 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 747ms
View Feature Status confirmation
Scenario Outline Check if statuses in new orders are created based on current status scheme [A-6867]
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 7s 099ms
And Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "super-admin-skz" 461ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 242ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 635ms
When Accept or reject "accept" transferred transport 19s 510ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 019ms
And Click button advice in transport table "SMALLS_IMPORT" 255ms
And Set advice window in schedule 4s 054ms
And Fill advice form 15s 059ms
java.lang.AssertionError: Nie można wypełnić pola terms-of-condition, 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.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
	at ✽.Fill advice form(file:Features/Atom/Statuses/ConfirmStatuses.feature:351)
And Click advice save button and wait for advice form to disappear 000ms
And If user is login then logout 000ms
And Login as "swisskrono-admin" 000ms
And Show all transport types 000ms
Then Check if transport has "testowy-różoffy-statusik" 000ms
And Go to "SETTINGS_TAB" 000ms
When Disable status "testowy-różoffy-statusik" for transport "SMALLS_IMPORT" 000ms
And Delete created transport by API 000ms
Then If user is login then logout 000ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 000ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 000ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 000ms
When Accept or reject "accept" transferred transport 000ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 000ms
And Click button advice in transport table "SMALLS_IMPORT" 000ms
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And If user is login then logout 000ms
And Login as "swisskrono-admin" 000ms
And Show all transport types 000ms
Then Check if transport has disabled status "testowy-różoffy-statusik" 000ms
After Hooks.deleteAllTransports() 1m 2s 740ms
After Hooks.deleteAllAddedStatus() 2s 366ms
View Feature Transport Form - Discrepancy Report scenarios
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 922ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 183ms
When Go to "TRANSPORT_TABLE" 433ms
And Go to transport details "DELIVERY" 4s 948ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 882ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 546ms
And Open section: "discrepancy-report-panel" 1s 176ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 020ms
And Fill transport form 40s 783ms
And Fill discrepancy report section without closing the form 22s 259ms
And Generate discrepancy report 19s 976ms
And Download discrepancy report 358ms
Then Verify that discrepancy report file has correct values 15s 724ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/59_2021_1.pdf
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
	at java.nio.file.Files.newOutputStream(Files.java:216)
	at java.nio.file.Files.copy(Files.java:3016)
	at Utils.FileUtil.checkIfFileExist(FileUtil.java:45)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:250)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:76)
After Hooks.deleteTransportAfterTest() 954ms
View Feature Transport Form - Discrepancy Report scenarios
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 111ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 238ms
When Go to "TRANSPORT_TABLE" 415ms
And Go to transport details "DELIVERY" 4s 909ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 020ms
And Fill transport form 40s 545ms
And Open section: "discrepancy-report-panel" 1s 160ms
And Fill discrepancy report section without closing the form 22s 282ms
And Generate discrepancy report 19s 894ms
And Download discrepancy report 306ms
And Verify that discrepancy report file has correct values 15s 618ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/60_2021_1.pdf
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
	at java.nio.file.Files.newOutputStream(Files.java:216)
	at java.nio.file.Files.copy(Files.java:3016)
	at Utils.FileUtil.checkIfFileExist(FileUtil.java:45)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:250)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:93)
And Fill edited discrepancy report section 000ms
And Generate edited discrepancy report 000ms
And Download discrepancy report 000ms
Then Verify that discrepancy report file has correct values 000ms
After Hooks.deleteTransportAfterTest() 990ms
View Feature Transport Mail
Scenario Outline Check if mail was sent to after transport delay
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 9s 531ms
And Prepare user "pha2-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 616ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 189ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 212ms
And Go to "WAREHOUSE_TAB" 1s 228ms
And Select warehouse "Serownia" 1s 548ms
And Set week view 1s 263ms
And Show yesterday 1s 157ms
And Move window into the past 432ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "spóźnił się na" 3m 19s 701ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportMail.feature:15)
After Hooks.deleteTransportAfterTest() 1s 056ms
After Hooks.cleanUserDetailsAfterTest() 1s 926ms
After Hooks.rollbackAddedAuthorities() 134ms
View Feature Transport Transfer Mail
Scenario Outline Check if mail was sent to carrier after transport transfer
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 463ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 451ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 065ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 15s 140ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='PASS'] (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: '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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.uUQP7f}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: b422fd0a70e32c7691437eec1d8e53d6
	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.TransportsPage.transferTransportToCarrier(TransportsPage.java:285)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:37)
	at ✽.Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true"(file:Features/Atom/Mail/TransportTransferMail.feature:8)
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zlecenie czeka na akceptację" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 713ms
After Hooks.cleanUserDetailsAfterTest() 2s 029ms
View Feature Transport Transfer Mail
Scenario Outline Check if mail was sent to carrier after transport transfer with no confirmation
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 401ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 374ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 114ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 14s 855ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='PASS'] (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: '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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.uUQP7f}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: b422fd0a70e32c7691437eec1d8e53d6
	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.TransportsPage.transferTransportToCarrier(TransportsPage.java:285)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:37)
	at ✽.Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false"(file:Features/Atom/Mail/TransportTransferMail.feature:20)
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zostało przekazane nowe zlecenie" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 635ms
After Hooks.cleanUserDetailsAfterTest() 1s 978ms
View Feature Transport Transfer Mail
Scenario Outline Check mail after loosing inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 770ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 098ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 236ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 970ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 1s 051ms
And Add a bid "500" to an auction by JSON file as "pskza2-carrier-2@qa.qa-test" for "pskza2-carrier-2@qa.qa-test" 1s 218ms
Then If user is login then logout 275ms
And Login as "swisskrono-admin" 2s 893ms
And Go to auction details 2s 231ms
And Pass transport to carrier from auction details 1s 529ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 3m 18s 017ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:53)
After Hooks.deleteTransportAfterTest() 807ms
After Hooks.cleanUserDetailsAfterTest() 1s 790ms
View Feature Transport files
Scenario Outline Check if it CMR documents are added to transport after creation
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 474ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 266ms
When Go to "TRANSPORT_TABLE" 420ms
And Show all transport "true" 261ms
Then Verify that transport has "1" CMR file 1s 571ms
java.lang.AssertionError: Liczba plików CMR w transporcie się nie zgadza! expected:<1> but was:<2>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at CucumberTests.Transport.TransportFile.verifyThatTransportHasCMRFile(TransportFile.java:75)
	at ✽.Verify that transport has "1" CMR file(file:Features/Atom/Transport/File.feature:76)
After Hooks.deleteTransportAfterTest() 674ms
View Feature Transport form
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" 4s 830ms
And Create transport "CREATE_TRANSPORT_WITH_CUSTOM_FIELDS" by JSON file as "super-admin-alrec" 2s 281ms
And Show all transport "true" 216ms
And Go to transport details "TRANSPORT_ORDER" 4s 880ms
And Set custom fields values 1m 46s 229ms
And Create transport by create similar button 26s 015ms
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: '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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.uUQP7f}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: b422fd0a70e32c7691437eec1d8e53d6
	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:307)
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() 33s 178ms
View Feature Transport table
Scenario Outline Check if correct row is selected after using closest date transport button [A-3790]
Steps
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 6s 007ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-2" days 17s 900ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-1" days 17s 603ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "1" days 17s 590ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "2" days 17s 612ms
When Show closest date transport 251ms
Then Verify if "2" transport in table is selected 15s 063ms
java.lang.AssertionError: Został zaznaczony niepoprawny wiersz w tabeli!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests._PerformanceTests.TransportTableTest.verifyIfTransportInTableIsSelected(TransportTableTest.java:176)
	at ✽.Verify if "2" transport in table is selected(file:Features/Atom/Transport/TransportTable/TransportTable.feature:39)
After Hooks.deleteAllTransports() 1m 33s 706ms
View Feature Transport transfer full scenario
Scenario Outline Check if possible to edit transport after advice cancellation.
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 795ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 021ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 029ms
When Show all transport types 1s 165ms
And Click button advice in transport table "DELIVERY" 257ms
And Set advice window in schedule 4s 003ms
And Click button cancel in advice form 16s 181ms
And Go to "TRANSPORT_TABLE" 491ms
When Go to transport details "DELIVERY" 4s 849ms
And Fill transport form 1m 8s 380ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 440ms
And Go to transport details "DELIVERY" 4s 848ms
Then Check are transport values equals 315ms
org.junit.ComparisonFailure: Wartości w formularzu w polu CARRIER są niepoprawne, wartość na stronie: Przewoźnik Piast Automat 1 wartość poprawna: Przewoźnik Piast Automat 2 expected:<...oźnik Piast Automat [2]> but was:<...oźnik Piast Automat [1]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:238)
	at ✽.Check are transport values equals(file:Features/Scenario/TransportTransfer.feature:39)
After Hooks.deleteTransportAfterTest() 890ms
View Feature TransportWindow atom tests
Scenario Outline Check if time window turns red when moved into the past after add advice by advice button in transport table
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 594ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 081ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 195ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 017ms
When Show all transport types 1s 151ms
And Click button advice in transport table "DELIVERY" 265ms
And Set advice window in schedule 4s
And Fill advice form 10s 685ms
And Click advice save button and wait for advice form to disappear 33s 365ms
And Select warehouse "Magazyn Hala A" 1s 389ms
And Set week view 2s 482ms
And Show yesterday 1s 227ms
And Move window into the past 814ms
Then Check if window is "red" 4s 083ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at CucumberTests.Schedule.ScheduleTest.checkIfWindowIs(ScheduleTest.java:57)
	at ✽.Check if window is "red"(file:Features/Atom/TimeWindow/TransportWindow.feature:35)
After Hooks.deleteTransportAfterTest() 968ms
After Hooks.rollbackAddedAuthorities() 134ms
View Feature TransportWindow atom tests
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 221ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 159ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 253ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 083ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 514ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 58s 557ms
And Get checkpoint colors for transport 026ms
And Go to "TRANSPORT_TABLE" 565ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 9s 608ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsOfWindowsChangeProperlyInScheduleWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:118)
	at ✽.Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true"(file:Features/Atom/TimeWindow/TransportWindow.feature:247)
After Hooks.deleteTransportAfterTest() 1s 160ms
After Hooks.rollbackTransportTypeSettings() 259ms