Project Number Date
ApolloFullRunnerReport apollo-test-2.68 05 lip 2021, 06:38

Failures Overview

The following summary displays scenarios that failed.

View Feature Advice transport
Scenario Outline Check if it is possible to advice by advice button in transport table
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 558ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 2s 004ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 023ms
When Show all transport types 1s 170ms
And Click button advice in transport table "CONTAINER" 261ms
And Set advice window in schedule 3s 226ms
And Fill advice form 16s 392ms
And Click advice save button and wait for advice form to disappear 33s 302ms
And Go to "TRANSPORT_TABLE" 461ms
And Go to transport details "CONTAINER" 2s 868ms
Then Check are advice values equals 2s 835ms
java.lang.AssertionError: Wartości w formularzu w polu driver-language są niepoprawne, wartość na stronie:  wartość poprawna: PL
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:136)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.AdviceTransport.checkAdviceValues(AdviceTransport.java:141)
	at ✽.Check are advice values equals(file:Features/Atom/Advice/AdviceTransport.feature:60)
After Hooks.deleteTransportAfterTest() 970ms
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 462ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 305ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 511ms
And Fill transport form 45s 807ms
And Select option of periodic transport and fill settings "WEEKLY" 20s 673ms
And Click "save-transport" save button and wait for form to disappear 15s 747ms
Then Set advice window in schedule in "0" days 231ms
And Check is transport created in schedule and set transport id 3s 620ms
And Set week view 4s 013ms
Then Wait for schedule update 407ms
Then Check if periodic transport for "WEEKLY" is created correctly 30s 233ms
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 368ms
View Feature Crud Transport
Scenario Outline Check if it possible to create new transport with advice
Steps
Given Get inputs from database "CREATE_EXPORT" "super-admin-hochland" 021ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 884ms
When Go to new transport "EXPORT" 748ms
And Fill transport form 45s 264ms
And Click "save-transport" save button and wait for form to disappear 15s 770ms
And Set advice window in schedule 2s 367ms
And Check is transport created in schedule and set transport id 2s 998ms
And Go to "TRANSPORT_TABLE" 488ms
And Go to transport details "EXPORT" 2s 955ms
Then Check are transport values equals 309ms
org.junit.ComparisonFailure: Wartości w formularzu w polu free-pallet-places są niepoprawne, wartość na stronie:  wartość poprawna: 2 expected:<[2]> but was:<[]>
	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/Atom/Transport/CrudTransport.feature:14)
After Hooks.deleteTransportAfterTest() 1s 395ms
View Feature Crud Transport
Scenario Outline Check if it is possible to edit transport
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 992ms
And Get inputs from database "EDIT_WEIGHING" "super-admin-hochland" 022ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 196ms
And Show all transport "false" 085ms
When Go to transport details "WEIGHING" 2s 892ms
And Fill transport form 14s 215ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 880ms
And Go to transport details "WEIGHING" 2s 803ms
Then Check are transport values equals 2s 149ms
java.lang.AssertionError: Wartości w formularzu w polu assortment są niepoprawne, wartość na stronie: Antybiotyk wartość poprawna: Makulatura
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:136)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:238)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:76)
After Hooks.deleteTransportAfterTest() 603ms
View Feature Crud Transport
Scenario Outline Check if it is possible to edit transport
Steps
Given Login as "keeeper-warehouseman" and set token of apiUsername "super-admin-keeeper" 6s 022ms
And Get inputs from database "EDIT_CONTAINER_WAREHOUSEMAN_CUSTOMFIELDS" "super-admin-keeeper" 019ms
And Create transport "CREATE_CONTAINER_KEEEPER_WAIMEA" by JSON file as "super-admin-keeeper" 1s 778ms
And Show all transport "false" 076ms
When Go to transport details "CONTAINER" 2s 775ms
And Fill transport form 11s 278ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 938ms
And Go to transport details "CONTAINER" 2s 727ms
Then Check are transport values equals 061ms
org.junit.ComparisonFailure: Wartości w formularzu w polu seal-number są niepoprawne, wartość na stronie:  wartość poprawna: 123456789 expected:<[123456789]> but was:<[]>
	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/Atom/Transport/CrudTransport.feature:76)
After Hooks.deleteTransportAfterTest() 740ms
View Feature Crud Transport
Scenario Outline Check if it is possible to delete transport
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 420ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 966ms
And Show all transport "false" 082ms
When Delete transport 15s 752ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //td[contains(@data-column-name, 'IDENTIFIER') and contains(@data-transport-id, '222226707')]//button (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.F2003R}, 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: 714ed1bdab8f41cbbbe0aae0f0ccfe67
	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.DeleteTransportTest.deleteTransport(DeleteTransportTest.java:32)
	at ✽.Delete transport(file:Features/Atom/Transport/CrudTransport.feature:114)
Then Transport not displayed in table of transports 000ms
After Hooks.deleteTransportAfterTest() 649ms
View Feature Crud Transport
Scenario Outline Check if it is possible use save and cancel combination after editing transport
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 931ms
And Get inputs from database "EDIT_WEIGHING" "super-admin-hochland" 020ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 211ms
And Show all transport "false" 081ms
When Go to transport details "WEIGHING" 2s 887ms
And Fill transport form 14s 196ms
And Click "save-transport" save button 2s 043ms
And Click cancel button in transport form 178ms
And Go to transport details "WEIGHING" 2s 754ms
Then Check are transport values equals 2s 156ms
java.lang.AssertionError: Wartości w formularzu w polu assortment są niepoprawne, wartość na stronie: Antybiotyk wartość poprawna: Makulatura
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:136)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:238)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:138)
After Hooks.deleteTransportAfterTest() 665ms
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" 3s 042ms
And Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 3s 994ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 181ms
And Go to "TRANSPORT_TABLE" 394ms
And Go to transport details "DELIVERY" 2s 868ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 017ms
And Fill transport form 40s 537ms
And Open section: "discrepancy-report-panel" 1s 170ms
And Fill discrepancy report section 40s 914ms
And Go to transport details "DELIVERY" 2s 890ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 1s 551ms
And Generate discrepancy report 23s 989ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Utworzono protokół niezgodności" 3m 21s 162ms
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() 996ms
After Hooks.cleanUserDetailsAfterTest() 3s 702ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 228ms
And Delete invitations with email "automaty31415@test.pl" 013ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 1s 111ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 590ms
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:245)
	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() 781ms
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" 236ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 346ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 186ms
And Go to "INVITATIONS_TAB" 414ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 305ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 15s 055ms
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.F2003R}, 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: 714ed1bdab8f41cbbbe0aae0f0ccfe67
*** Element info: {Using=xpath, value=//div[contains(@class, '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 CucumberTests.Invitation.InvitationTest.createInvitationSuccessAlertIsDisplayed(InvitationTest.java:59)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:346)
After Hooks.deleteInvitationAfterTest() 029ms
After Hooks.cleanUserDetailsAfterTest() 1s 221ms
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" 224ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 664ms
When Create default mode of transportation by API with "pba1-carrier" 438ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowy środek transportu" 3m 20s 307ms
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 760ms
After Hooks.deleteModeOfTransportationAfterTest() 347ms
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" 243ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 117ms
And Mark custom fields as not obligatory 007ms
And Login as "dayco-admin" 2s 101ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 112ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 141ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 030ms
When Go to "TRANSPORT_TABLE" 392ms
And Click button advice in transport table "OWN_COLLECTION" 1s 420ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 45s 835ms
And Go to "TRANSPORT_TABLE" 462ms
And Find transport in table with status "planned-magazyn-tychy" 3s 727ms
And Confirm statuses until reach "process-ended" 16s 649ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 525ms
And Show "OWN_COLLECTION" 163ms
And Verify that created transport is "true" in transport table 1m 32s 358ms
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:120)
	at ✽.Verify that created transport is "true" in transport table(file:Features/Atom/Transport/Archive.feature:54)
After Hooks.deleteTransportAfterTest() 992ms
After Hooks.rollbackAllCustomFieldsSettings() 464ms
After Hooks.rollbackSettings() 140ms
View Feature Reject Transport
Scenario Outline Check if it is possible to accept and reject transport by carrier
Steps
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 5s 630ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 458ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 610ms
When Accept or reject "accept" transferred transport 11s 694ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@class='btn btn-sm margin-bottom accept-transaction-button'] (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.F2003R}, 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: 714ed1bdab8f41cbbbe0aae0f0ccfe67
	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.CarrierTransportAction.acceptOrRejectTransferredTransport(CarrierTransportAction.java:55)
	at ✽.Accept or reject "accept" transferred transport(file:Features/Atom/Transport/TransportTransfer/RejectTransport.feature:18)
Then Verify that transport is accept or reject "accept" 000ms
After Hooks.deleteTransportAfterTest() 655ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses after add file to transport
Steps
Given Set token of apiUsername "super-admin-piast" 274ms
And Get custom field settings for "LOAD" transport type and "piast" company 260ms
And Mark custom fields as not obligatory 010ms
And Login as "piast-admin" 5s 990ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 948ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 022ms
And Show all transport types 1s 156ms
And Click button advice in transport table "LOAD" 238ms
And Set advice window in schedule 3s 327ms
And Fill advice form 10s 522ms
And Click advice save button and wait for advice form to disappear 33s 402ms
And Go to "TRANSPORT_TABLE" 446ms
And Find transport in table with status "advice-added" 3s 722ms
When Add file to transport by API 2s 134ms
And Confirm statuses until reach "process-ended" 33s 228ms
java.lang.AssertionError: Wartość advice-added-magazyn-hala-a atrybutu data-status-name nie zmieniła się w webelemencie [[ChromeDriver: chrome on LINUX (714ed1bdab8f41cbbbe0aae0f0ccfe67)] -> xpath: //td[contains(@data-status-name, 'advice-added')]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.StatusUtil.waitUntilAttributeOfWebElementChangeValue(StatusUtil.java:43)
	at Pages.Transport.TransportsPage.confirmNextStatus(TransportsPage.java:303)
	at Pages.Transport.TransportsPage.confirmStatuses(TransportsPage.java:290)
	at CucumberTests.StatusTests.ConfirmStatuses.confirmStatusesUntilReach(ConfirmStatuses.java:84)
	at ✽.Confirm statuses until reach "process-ended"(file:Features/Atom/Statuses/ConfirmStatuses.feature:117)
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 950ms
After Hooks.rollbackAllCustomFieldsSettings() 4s 446ms
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" 4s 583ms
And Prepare user "pla1-carrier" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 273ms
And Login as "lantmannen-guard" and set token of apiUsername "super-admin-lantmannen" 4s 652ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 974ms
And Check if reject date is not visible 15s 052ms
When Reject status: Book of disinfection 15s 059ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-button-name='reject-checkpoint']"}
  (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.F2003R}, 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: 714ed1bdab8f41cbbbe0aae0f0ccfe67
*** Element info: {Using=xpath, value=//button[@data-button-name='reject-checkpoint']}
	at sun.reflect.GeneratedConstructorAccessor214.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.StatusTests.RejectStatuses.rejectStatusBookOfDisinfection(RejectStatuses.java:41)
	at ✽.Reject status: Book of disinfection(file:Features/Atom/Statuses/RejectStatuses.feature:10)
And Check if reject date is visible 000ms
Then If user is login then logout 000ms
And Login as "lantmannen-admin" 000ms
And Check if note was added to transport after status rejection 000ms
And Check if history note was added to transport after status rejection - "LOAD" 000ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nieaktualna księga mycia i dezynfekcji" 000ms
And Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 839ms
After Hooks.cleanUserDetailsAfterTest() 964ms
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" 2s 987ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 311ms
When Go to "TRANSPORT_TABLE" 381ms
And Go to transport details "DELIVERY" 2s 885ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 020ms
And Fill transport form 40s 595ms
And Open section: "discrepancy-report-panel" 1s 165ms
And Fill discrepancy report section without closing the form 22s 220ms
And Generate discrepancy report 20s 420ms
And Download discrepancy report 366ms
And Verify that discrepancy report file has correct values 15s 654ms
And Fill edited discrepancy report section 18s 832ms
And Generate edited discrepancy report 2s 775ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: By.xpath: //button[@data-button-name='generate-discrepancy-report-button'] (tried for 2 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.F2003R}, 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: 714ed1bdab8f41cbbbe0aae0f0ccfe67
	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.waitUntilElementClickable(BasePage.java:223)
	at CucumberTests.Transport.TransportFormTest.generateEditedDiscrepancyReport(TransportFormTest.java:240)
	at ✽.Generate edited discrepancy report(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:95)
And Download discrepancy report 000ms
Then Verify that discrepancy report file has correct values 000ms
After Hooks.deleteTransportAfterTest() 1s 025ms
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 674ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 446ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 066ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 15s 167ms
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.F2003R}, 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: 714ed1bdab8f41cbbbe0aae0f0ccfe67
	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() 722ms
After Hooks.cleanUserDetailsAfterTest() 1s 996ms
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 427ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 291ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 107ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 15s 219ms
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.F2003R}, 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: 714ed1bdab8f41cbbbe0aae0f0ccfe67
	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() 634ms
After Hooks.cleanUserDetailsAfterTest() 1s 870ms
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 378ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 311ms
When Go to "TRANSPORT_TABLE" 399ms
And Show all transport "true" 246ms
Then Verify that transport has "1" CMR file 1s 569ms
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() 642ms
View Feature Transport form
Scenario Outline Check if warehouse working hour is validate correctly when warehouse is not working 24h [A-7572]
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 476ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 011ms
When Go to "TRANSPORT_TABLE" 326ms
And Go to transport details "TRANSPORT" 2s 747ms
And Change filled value in transport details "warehouse-select-step-1" "select" "Magazyn S7" "0" 3s 886ms
And Calculate date and hour for fill transport details "time-range-from-date-1" "today" "07:00" 076ms
And Change date value in field with calendar in transport details "time-range-from-date-1" "calculatedValue" 2s 046ms
And Click "save-transport" save button 925ms
Then Check if warehouse working hour is validate correctly "no" 092ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at org.junit.Assert.assertFalse(Assert.java:74)
	at CucumberTests.Transport.TransportFormTest.checkIfWarehouseWorkingHourIsValidateCorrectly(TransportFormTest.java:601)
	at ✽.Check if warehouse working hour is validate correctly "no"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:412)
After Hooks.deleteAllTransports() 47s 767ms
View Feature Transport form
Scenario Outline Check if warehouse working hour is validate correctly when warehouse is not working 24h [A-7572]
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 641ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 2s 063ms
When Go to "TRANSPORT_TABLE" 325ms
And Go to transport details "EXTERNAL_DELIVERY" 2s 768ms
And Change filled value in transport details "warehouse-select-step-1" "select" "Rogoźnica Przyjęcia" "0" 3s 812ms
And Calculate date and hour for fill transport details "time-range-from-date-1" "no" "06:00" 078ms
And Change date value in field with calendar in transport details "time-range-from-date-1" "calculatedValue" 2s 070ms
And Click "save-transport" save button 911ms
Then Check if warehouse working hour is validate correctly "no" 092ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at org.junit.Assert.assertFalse(Assert.java:74)
	at CucumberTests.Transport.TransportFormTest.checkIfWarehouseWorkingHourIsValidateCorrectly(TransportFormTest.java:601)
	at ✽.Check if warehouse working hour is validate correctly "no"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:412)
After Hooks.deleteAllTransports() 47s 698ms
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 627ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 019ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 060ms
When Show all transport types 1s 160ms
And Click button advice in transport table "DELIVERY" 261ms
And Set advice window in schedule 3s 352ms
And Click button cancel in advice form 16s 159ms
And Go to "TRANSPORT_TABLE" 417ms
When Go to transport details "DELIVERY" 2s 845ms
And Fill transport form 1m 8s 562ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 477ms
And Go to transport details "DELIVERY" 2s 770ms
Then Check are transport values equals 062ms
org.junit.ComparisonFailure: Wartości w formularzu w polu percentage-of-execution są niepoprawne, wartość na stronie:  wartość poprawna: 22% expected:<[22%]> but was:<[]>
	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() 909ms
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 587ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 012ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 201ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 021ms
When Show all transport types 1s 154ms
And Click button advice in transport table "DELIVERY" 266ms
And Set advice window in schedule 3s 377ms
And Fill advice form 10s 489ms
And Click advice save button and wait for advice form to disappear 33s 341ms
And Select warehouse "Magazyn Hala A" 1s 384ms
And Set week view 2s 274ms
And Show yesterday 1s 257ms
And Move window into the past 850ms
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() 941ms
After Hooks.rollbackAddedAuthorities() 136ms
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" 154ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 258ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 081ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 534ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 653ms
And Get checkpoint colors for transport 024ms
And Go to "TRANSPORT_TABLE" 577ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 9s 507ms
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 116ms
After Hooks.rollbackTransportTypeSettings() 265ms