Project Number Date
ApolloFullRunnerReport 2021.AT1.58 13 sie 2021, 02:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Edit transport using pencil 19 13 65 0 0 97 0 13 13 40s 615ms Failed
Feature Edit transport using pencil
Scenario Outline Check if it possible to edit transport by pencil
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 491ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 056ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/PencilEdition.feature:6)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
Then Check if transport is in new location in schedule 000ms
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport by pencil
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 051ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 046ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/PencilEdition.feature:6)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
Then Check if transport is in new location in schedule 000ms
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport by pencil
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 975ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 052ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen"(file:Features/Atom/Transport/PencilEdition.feature:6)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
Then Check if transport is in new location in schedule 000ms
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport by pencil
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 058ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 049ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper"(file:Features/Atom/Transport/PencilEdition.feature:6)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
Then Check if transport is in new location in schedule 000ms
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport by pencil
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 013ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 044ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper"(file:Features/Atom/Transport/PencilEdition.feature:6)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
Then Check if transport is in new location in schedule 000ms
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport by pencil
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 041ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-alrec" 046ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-alrec"(file:Features/Atom/Transport/PencilEdition.feature:6)
And Show all transport "true" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
Then Check if transport is in new location in schedule 000ms
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to add advice by advice button in transport table and edit transport by pencil
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 094ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 205ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 036ms
When Show all transport types 1s 040ms
And Click button advice in transport table "DELIVERY" 081ms
And Set advice window in schedule 2s 619ms
And Fill advice form 10s 528ms
And Click advice save button and wait for advice form to disappear 10s 196ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (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', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.nMoPf6}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 8985c6aef34bc2ee84a41d67573a54de
	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.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:179)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Transport/PencilEdition.feature:30)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
Then Check if transport is in new location in schedule 000ms
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 063ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 473ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 064ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/PencilEdition.feature:43)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 032ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 052ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/PencilEdition.feature:43)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 990ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 035ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen"(file:Features/Atom/Transport/PencilEdition.feature:43)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 044ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 043ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper"(file:Features/Atom/Transport/PencilEdition.feature:43)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 053ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 044ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper"(file:Features/Atom/Transport/PencilEdition.feature:43)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 008ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 038ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec"(file:Features/Atom/Transport/PencilEdition.feature:43)
And Show all transport "true" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 000ms