Project Number Date
ApolloFullRunnerReport develop.295 04 lut 2021, 05:47

Failures Overview

The following summary displays scenarios that failed.

View Feature Advice Mail
Scenario Outline Check if mail was not sent to creator if user is not enabled
Steps
Given Set token of apiUsername "super-admin-skd" 102ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 531ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 396ms
And Prepare disabled user "test-1" details with all notifications and "apolloautomattest@gmail.com" by JSON file 001ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:120)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:110)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:22)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:97)
	at CucumberTests.User.EditUserTest.prepareDisabledUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:93)
	at ✽.Prepare disabled user "test-1" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AdviceMail.feature:80)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 000ms
And Confirm status "ARRIVAL" by Public API "v1" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 000ms
Then Check if user did not get an mail 000ms
After Hooks.deleteTransportAfterTest() 003ms
After Hooks.deleteUserAfterTest() 085ms
View Feature Advice transport
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 307ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 389ms
And Go to "TRANSPORT_TABLE" 121ms
And Show all transport types 1s 050ms
And Click on time window date 1s 295ms
And Scroll to time window "adviceWindow" 117ms
And Set time window height "80" "adviceWindow" 2s 393ms
Then Check height of the time window after expanding by "80" in "adviceWindow" 026ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "80" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:186)
After Hooks.deleteTransportAfterTest() 126ms
View Feature Advice transport
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 080ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 329ms
And Go to "TRANSPORT_TABLE" 122ms
And Show all transport types 1s 047ms
And Click on time window date 1s 308ms
And Scroll to time window "adviceWindow" 053ms
And Set time window height "48" "adviceWindow" 2s 371ms
Then Check height of the time window after expanding by "48" in "adviceWindow" 026ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "48" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:186)
After Hooks.deleteTransportAfterTest() 097ms
View Feature Auctions Mail
Scenario Outline Check mail after bid has been added to auction
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 276ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 172ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 256ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 161ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 196ms
And Wait till auction end 1m 58s 023ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Dodano nową ofertę" 3m 23s 178ms
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:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AuctionMail.feature:39)
After Hooks.deleteTransportAfterTest() 129ms
After Hooks.cleanUserDetailsAfterTest() 301ms
View Feature Base options of periodic transport - create, edit, delete etc.
Scenario Outline Create time windows of periodic transport
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 102ms
And Get setting "POLL_INTERVAL" for "neuca" 022ms
And Set the schedule refresh parameter by Api "CHANGE_POLL_INTERVAL_ON_5_SECONDS" as "super-admin-neuca" 027ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 069ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-neuca" 002ms
And Go to new transport "DELIVERY" 15s 320ms
And Fill transport form 37s 585ms
And Select option of periodic transport and fill settings "MONTHLY" 17s 456ms
And Click "save-transport" save button and wait for form to disappear 15s 912ms
Then Set advice window in schedule in "0" days 174ms
And Check is transport created in schedule and set transport id 614ms
And Set week view 3s 349ms
Then Wait for schedule update 226ms
Then Check if periodic transport for "MONTHLY" is created correctly 58s 182ms
java.lang.AssertionError: Okno awizacji nie pojawiło się w 3 miesiącu
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Schedule.SchedulePage.checkPeriodicTransportLocation(SchedulePage.java:412)
	at CucumberTests.Transport.PeriodicTransportTest.waitAMinuteAndCheckIfPeriodicTransportForIsCreatedCorectly(PeriodicTransportTest.java:82)
	at ✽.Check if periodic transport for "MONTHLY" is created correctly(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:18)
After Hooks.rollbackSettings() 048ms
After Hooks.deleteAllTransports() 1m 2s 019ms
View Feature CRUD ramp
Scenario Outline Check if it is possible to edit ramp
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 960ms
And Go to "SETTINGS_TAB" 412ms
And Go to warehouse "Gądki" 1s 201ms
And Click add ramp button 1s 096ms
And Fill new ramp form 2s 690ms
And Click save ramp button 1s 066ms
And Click back to warehouse button 1s 120ms
And Set ramp id 15s 023ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='ramp-section']//p[text()='Rampa testowa' and not(contains(@class, 'disabled'))]//a"}
  (Session info: headless chrome=88.0.4324.146)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.AlIcnT}, 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=88.0.4324.146, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 0d92b9374bb17520c7db06316fba85d1
*** Element info: {Using=xpath, value=//div[@data-field-name='ramp-section']//p[text()='Rampa testowa' and not(contains(@class, 'disabled'))]//a}
	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.Settings.WarehousePage.getEditRampButton(WarehousePage.java:41)
	at CucumberTests.Warehouse.RampTest.getRampId(RampTest.java:32)
	at CucumberTests.Warehouse.RampTest.setRampId(RampTest.java:71)
	at ✽.Set ramp id(file:Features/Atom/Ramp/Ramp.feature:12)
When Click edit ramp button 000ms
And Fill edit ramp form 000ms
And Click save ramp button 000ms
And Click back to warehouse button 000ms
Then Verify if ramp is visible in warehouse details 000ms
After Hooks.deleteRampAfterTest() 001ms
View Feature Company Resources
Scenario Outline Check if it possible to save resource to company from transport form
Steps
Given Get inputs from database "CREATE_DELIVERY_SUPPLIER" "super-admin-alrec" 003ms
And Login as "daa1-supplier" and set token of apiUsername "super-admin-alrec" 31s 252ms
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:166)
	at Pages.LoginPage.loginAs(LoginPage.java:39)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:98)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:68)
	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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
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:166)
	at Pages.LoginPage.loginAs(LoginPage.java:39)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:98)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:68)
	at sun.reflect.GeneratedMethodAccessor207.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() 004ms
View Feature Crud Transport
Scenario Outline Check if it possible to create new transport with advice
Steps
Given Get inputs from database "CREATE_OWN_COLLECTION_POWDER_FACTORY" "super-admin-hochland" 002ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 102ms
When Go to new transport "OWN_COLLECTION_POWDER_FACTORY" 365ms
And Fill transport form 32s 902ms
And Click "save-transport" save button and wait for form to disappear 15s 681ms
And Set advice window in schedule 2s 186ms
And Check is transport created in schedule and set transport id 666ms
And Go to "TRANSPORT_TABLE" 177ms
And Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 419ms
Then Check are transport values equals 2s 187ms
org.junit.ComparisonFailure: Wartości w formularzu w polu driver-document-number są niepoprawne, wartość na stronie: 33344455 wartość poprawna: dd2222 expected:<[dd2222]> but was:<[33344455]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:267)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:14)
After Hooks.deleteTransportAfterTest() 126ms
View Feature Crud Transport
Scenario Outline Check if it is possible to edit transport
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 249ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 002ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 217ms
And Show all transport "false" 011ms
When Go to transport details "DELIVERY" 4s 581ms
And Fill transport form 1m 2s 555ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 103ms
And Go to transport details "DELIVERY" 4s 443ms
Then Check are transport values equals 127ms
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:267)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:76)
After Hooks.deleteTransportAfterTest() 108ms
View Feature Crud Transport
Scenario Outline Check if it is possible use save and cancel combination after editing transport
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 227ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 002ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 183ms
And Show all transport "false" 011ms
When Go to transport details "DELIVERY" 4s 558ms
And Fill transport form 1m 2s 544ms
And Click "save-transport" save button 1s 237ms
And Click cancel button in transport form 095ms
And Go to transport details "DELIVERY" 4s 380ms
Then Check are transport values equals 119ms
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:267)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:136)
After Hooks.deleteTransportAfterTest() 107ms
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" 1s 526ms
And Go to "WAREHOUSE_TAB" 709ms
And Select "PHA1" to create dedicated window for 2s 004ms
And Click in free spot in schedule page to create dedicated window 086ms
When Check if dedicated window for "PHA1" is in the schedule 145ms
Then Set time window height "100" "dedicatedWindow" 2s 455ms
And Check height of the time window after expanding by "100" in "dedicatedWindow" 027ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "100" in "dedicatedWindow"(file:Features/Atom/TimeWindow/DedicatedWindow.feature:38)
And Set time window height "-80" "dedicatedWindow" 000ms
And Check height of the time window after expanding by "-80" in "dedicatedWindow" 000ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 140ms
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" 1s 379ms
And Go to "WAREHOUSE_TAB" 759ms
And Select "PHA1" to create dedicated window for 1s 995ms
And Click in free spot in schedule page to create dedicated window 092ms
When Check if dedicated window for "PHA1" is in the schedule 133ms
Then Set time window height "120" "dedicatedWindow" 2s 447ms
And Check height of the time window after expanding by "120" in "dedicatedWindow" 030ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "120" in "dedicatedWindow"(file:Features/Atom/TimeWindow/DedicatedWindow.feature:38)
And Set time window height "-60" "dedicatedWindow" 000ms
And Check height of the time window after expanding by "-60" in "dedicatedWindow" 000ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 143ms
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" 1s 473ms
And Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 400ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 528ms
And Go to "TRANSPORT_TABLE" 114ms
And Go to transport details "DELIVERY" 4s 716ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 004ms
And Fill transport form 36s 010ms
And Open section: "discrepancy-report-panel" 1s 083ms
And Fill discrepancy report section 35s 773ms
And Go to transport details "DELIVERY" 4s 476ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 1s 290ms
And Generate discrepancy report 17s 762ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Utworzono protokół niezgodności" 3m 19s 861ms
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:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/DiscrepancyReportMail.feature:18)
After Hooks.deleteTransportAfterTest() 154ms
After Hooks.cleanUserDetailsAfterTest() 361ms
View Feature Filters
Scenario Outline Check every filter in table
Steps
Given Set token of apiUsername "super-admin-sempertrans" 091ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" 15s 189ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 15s 185ms
And Get inputs from database "ADVICE_UNLOAD" "super-admin-sempertrans" 004ms
When Login as "sempertrans-admin" 1s 089ms
And Go to "TRANSPORT_TABLE" 190ms
And Select transportType "DELIVERY" 1s 074ms
And Click button advice in transport table "DELIVERY" 146ms
And Set advice window in schedule in the past 2s 277ms
And Fill advice form 9s 518ms
And Click advice save button and wait for advice form to disappear 30s 701ms
And Go to "TRANSPORT_TABLE" 285ms
And Select transportType "DELIVERY" 1s 070ms
Then Check if filters work properly 39s 150ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-column-name='UNLOAD_TIME_WINDOW']//button"}
  (Session info: headless chrome=88.0.4324.146)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.AlIcnT}, 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=88.0.4324.146, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 0d92b9374bb17520c7db06316fba85d1
*** Element info: {Using=xpath, value=//td[@data-column-name='UNLOAD_TIME_WINDOW']//button}
	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.Filters.FiltersPage.isTransportFiltered(FiltersPage.java:204)
	at Pages.Filters.FiltersPage.fillEveryFilter(FiltersPage.java:127)
	at CucumberTests.Filters.FilterTransportTest.checkIfFiltersWorkProperly(FilterTransportTest.java:42)
	at ✽.Check if filters work properly(file:Features/Atom/Filters/Filter.feature:42)
After Hooks.deleteAllTransports() 31s 484ms
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" 1s 205ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 243ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 118ms
And Accept transferred transport by Api 098ms
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 50s 104ms
And Delete created transport by API 108ms
When Go to "ARCHIVE_TAB" 264ms
And Show "SMALLS_IMPORT" 083ms
Then Check if it is possible to search with different date property selects 24s 111ms
org.junit.ComparisonFailure: Data jest inna niż wybrana w filtrze! expected:<0[5].02.2021> but was:<0[4].02.2021>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at Pages.Filters.FiltersPage.checkDateFilterPropertySelect(FiltersPage.java:289)
	at CucumberTests.Filters.FilterTransportTest.searchWithDifferentArchiveFilters(FilterTransportTest.java:97)
	at ✽.Check if it is possible to search with different date property selects(file:Features/Atom/Filters/Filter.feature:135)
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" 1s 284ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 246ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 078ms
And Accept transferred transport by Api 099ms
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 50s 153ms
And Delete created transport by API 144ms
When Go to "ARCHIVE_TAB" 236ms
And Show "SMALLS_EXPORT" 077ms
Then Check if it is possible to search with different date property selects 23s 917ms
org.junit.ComparisonFailure: Data jest inna niż wybrana w filtrze! expected:<0[5].02.2021> but was:<0[4].02.2021>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at Pages.Filters.FiltersPage.checkDateFilterPropertySelect(FiltersPage.java:289)
	at CucumberTests.Filters.FilterTransportTest.searchWithDifferentArchiveFilters(FilterTransportTest.java:97)
	at ✽.Check if it is possible to search with different date property selects(file:Features/Atom/Filters/Filter.feature:135)
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" 1s 180ms
When Go to "COMPANIES_TAB" 284ms
And Go to company "Przewoźnik SKZ Automat 1" details 052ms
And Add carrier to carriers group "Kraj" 268ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=88.0.4324.146)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.AlIcnT}, 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=88.0.4324.146, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 0d92b9374bb17520c7db06316fba85d1
	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:88)
	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() 154ms
View Feature SK Api - Statuses confirmation
Scenario Outline Check if it is possible to confirm statuses by SkApi
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 175ms
When Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 002ms
And Add transport by SKApi in "MGW" 178ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 24s 145ms
And Click button advice in transport table "TRANSPORT_ORDER" 132ms
And Set advice window in schedule 2s 675ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 002ms
And Fill advice form 14s 679ms
And Click advice save button and wait for advice form to disappear 30s 701ms
And Find transport in table with status "planned" 1s 301ms
And Confirm statuses until reach "left-the-factory" through SKAPI 5m 17s 899ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=88.0.4324.146)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.AlIcnT}, 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=88.0.4324.146, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 0d92b9374bb17520c7db06316fba85d1
	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.getAttribute(RemoteWebElement.java:128)
	at Utils.StatusUtil.waitUntilAttributeOfWebElementChangeValue(StatusUtil.java:38)
	at Pages.Transport.TransportsPage.confirmStatusesForSkz(TransportsPage.java:355)
	at CucumberTests.StatusTests.ConfirmStatuses.confirmStatusesUntilReachThroughSKAPI(ConfirmStatuses.java:54)
	at ✽.Confirm statuses until reach "left-the-factory" through SKAPI(file:Features/Atom/SK_API/SkApiConfirmStatuses.feature:15)
Then Check if transport has "left-the-factory" 000ms
After Hooks.deleteTransportAfterTest() 125ms
View Feature Status rejection
Scenario Outline Check if it is possible to reject status by guard in transport table
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 741ms
And Prepare user "pla1-carrier" details with all notifications and "apolloautomattest@gmail.com" by JSON file 228ms
And Login as "lantmannen-guard" and set token of apiUsername "super-admin-lantmannen" 1s 497ms
And Create transport "CREATE_LOAD_NIEPORET_WAREHOUSE" by JSON file as "super-admin-lantmannen" 1s 360ms
And Check if reject date is not visible 15s 057ms
When Reject status: Book of disinfection 079ms
And Check if reject date is visible 267ms
Then If user is login then logout 063ms
And Login as "lantmannen-admin" 1s 094ms
And Check if note was added to transport after status rejection 1s 227ms
And Check if history note was added to transport after status rejection - "LOAD" 5s 501ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nieaktualna księga mycia i dezynfekcji" 3m 17s 987ms
And 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:33)
	at ✽.Check if user got a mail(file:Features/Atom/Statuses/RejectStatuses.feature:17)
After Hooks.deleteTransportAfterTest() 125ms
After Hooks.cleanUserDetailsAfterTest() 181ms
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 056ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 353ms
When Go to "TRANSPORT_TABLE" 109ms
And Go to transport details "DELIVERY" 4s 771ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 514ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 337ms
And Open section: "discrepancy-report-panel" 1s 070ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 36s 016ms
And Fill discrepancy report section without closing the form 19s 629ms
And Generate discrepancy report 16s 894ms
And Download discrepancy report 147ms
Then Verify that discrepancy report file has correct values 15s 161ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/16_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:49)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:238)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:76)
After Hooks.deleteTransportAfterTest() 092ms
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" 1s 651ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 330ms
When Go to "TRANSPORT_TABLE" 120ms
And Go to transport details "DELIVERY" 4s 760ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 36s 008ms
And Open section: "discrepancy-report-panel" 1s 071ms
And Fill discrepancy report section without closing the form 19s 640ms
And Generate discrepancy report 16s 308ms
And Download discrepancy report 155ms
And Verify that discrepancy report file has correct values 15s 182ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/17_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:49)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:238)
	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() 128ms
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" 2s 902ms
And Prepare user "pha1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 259ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 173ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 378ms
And Go to "WAREHOUSE_TAB" 762ms
And Select warehouse "Serownia" 1s 367ms
And Set week view 1s 119ms
And Show yesterday 1s 059ms
And Move window into the past 312ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "spóźnił się na" 3m 15s 921ms
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:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportMail.feature:15)
After Hooks.deleteTransportAfterTest() 143ms
After Hooks.cleanUserDetailsAfterTest() 283ms
After Hooks.rollbackAddedAuthorities() 055ms
View Feature TransportWindow atom tests
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 106ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 029ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 058ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 235ms
And Set double window advice 001ms
And Login as "farmacol-admin" 1s 075ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 50s 079ms
And Get checkpoint colors for transport 004ms
And Go to "TRANSPORT_TABLE" 292ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 707ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=88.0.4324.146)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.AlIcnT}, 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=88.0.4324.146, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 0d92b9374bb17520c7db06316fba85d1
	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.getCssValue(RemoteWebElement.java:165)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowsHasProperColorsInSchedule(TimeWindowTest.java:176)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsOfWindowsChangeProperlyInScheduleWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:117)
	at ✽.Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true"(file:Features/Atom/TimeWindow/TransportWindow.feature:250)
After Hooks.deleteTransportAfterTest() 152ms
After Hooks.rollbackTransportTypeSettings() 067ms
View Feature TransportWindow atom tests
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 098ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 031ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 054ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 204ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 113ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 35s 026ms
And Get checkpoint colors for transport 004ms
And Go to "TRANSPORT_TABLE" 274ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 723ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=88.0.4324.146)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.AlIcnT}, 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=88.0.4324.146, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 0d92b9374bb17520c7db06316fba85d1
	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.getCssValue(RemoteWebElement.java:165)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowsHasProperColorsInSchedule(TimeWindowTest.java:176)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsOfWindowsChangeProperlyInScheduleWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:117)
	at ✽.Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false"(file:Features/Atom/TimeWindow/TransportWindow.feature:250)
After Hooks.deleteTransportAfterTest() 143ms
After Hooks.rollbackTransportTypeSettings() 085ms
Scenario Outline Check if sms was sent to driver after confirm status
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 479ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 348ms
And Go to transport details "LOAD" 4s 396ms
And Set driver phone number "48" "789440109" 465ms
When Find transport in table with status "created" 1s 192ms
And Confirm statuses until reach "driver-called" 7s 396ms
And Wait "20" seconds 20s
Then Check if sms was sent to driver after confirm status "logintegra-imperial-test" "Argetnigol.7890" "Kierowco, prosimy o podjazd pod rampe numer" 332ms
java.lang.AssertionError: Sms nie został wysłany lub został wysłany z niepoprawną treścią
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.SMS.SmsTest.checkIfSmsWasSentToDriver(SmsTest.java:58)
	at CucumberTests.SMS.SmsTest.checkIfSmsWasSentToDriverAfterConfirmStatus(SmsTest.java:43)
	at ✽.Check if sms was sent to driver after confirm status "logintegra-imperial-test" "Argetnigol.7890" "Kierowco, prosimy o podjazd pod rampe numer"(file:Features/Atom/SMS/sms.feature:14)
And Wait "10" seconds 000ms
After Hooks.deleteTransportAfterTest() 122ms