Project Number Date
ApolloFullRunnerReport apollo-test-2.152 09 wrz 2021, 11:22

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 4 1 9 0 0 14 0 1 1 13s 241ms Failed
Feature Transport files
Scenario Outline The link to the delivery document appears after confirming the respective status [A-6905]
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 3s 024ms
And Create default accepted mode of transportation by API with "pba1-carrier" 2s 381ms
And If user is login then logout 602ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 6s 839ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 394ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Nie masz uprawnień do wykonania tej akcji.]]
	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_PL" by JSON file as "super-admin-bausch"(file:Features/Atom/Transport/File.feature:112)
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 000ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 000ms
And Click button advice in transport table "LOAD_PL" 000ms
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Find transport in table with status "advice-added" 000ms
When Confirm statuses until reach "on-the-way" 000ms
Then Verify that "delivery_document" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteModeOfTransportationAfterTest() 353ms