Project Number Date
ApolloFullRunnerReport apollo-test-2.50 30 cze 2021, 09:31

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteTransportAfterApiTest 49 1 0 0 0 50 10 1 11 36s 446ms Failed
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 239ms
When Create transport by invalid JSON file "CREATE_LOAD_COMPANY_NAME_FILLED_ONLY" as "super-admin-piast" for api version "v1" 2s 664ms
Then Check if response status code equals "200" 000ms
After Hooks.deleteTransportAfterApiTest() 1s 112ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 253ms
When Create transport by invalid JSON file "CREATE_LOAD_WAREHOUSE_NAME_FILLED_ONLY" as "super-admin-piast" for api version "v1" 1s 511ms
Then Check if response status code equals "200" 000ms
After Hooks.deleteTransportAfterApiTest() 726ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 227ms
And Set token of apiUsername "super-admin-piast" 232ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 228ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 027ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 325ms
Then Login as "super-admin-piast" 3s 273ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 393ms
After Hooks.deleteTransportAfterApiTest() 797ms
After Hooks.rollbackSettings() 002ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 242ms
And Set token of apiUsername "super-admin-piast" 242ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 169ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ALT_IDENTIFIER" with "super-admin-piast" 026ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 374ms
Then Login as "super-admin-piast" 2s 312ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 415ms
After Hooks.deleteTransportAfterApiTest() 792ms
After Hooks.rollbackSettings() 000ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 257ms
And Set token of apiUsername "super-admin-piast" 231ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 154ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 026ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 322ms
Then Login as "super-admin-piast" 2s 166ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 418ms
After Hooks.deleteTransportAfterApiTest() 780ms
After Hooks.rollbackSettings() 000ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 239ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 374ms
And Find active transports for api version "v1" and expect status "200" 284ms
Then Check if active transports contains created transport 006ms
After Hooks.deleteTransportAfterApiTest() 754ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 343ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 280ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY" as "super-admin-piast" with "none" for api version "v1" 2s 689ms
Then Check if response status code equals "200" 000ms
After Hooks.deleteTransportAfterApiTest() 774ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 276ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 305ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY_EMPTY_STEP_TYPE_NAME" as "super-admin-piast" with "none" for api version "v1" 724ms
Then Check if response status code equals "422" 000ms
After Hooks.deleteTransportAfterApiTest() 791ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 239ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 235ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY" as "super-admin-piast" with "invalidTransportId" for api version "v1" 338ms
Then Check if response status code equals "404" 000ms
After Hooks.deleteTransportAfterApiTest() 793ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 246ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 254ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY" as "super-admin-piast" with "invalidToken" for api version "v1" 039ms
Then Check if response status code equals "401" 000ms
After Hooks.deleteTransportAfterApiTest() 726ms
View Feature API Transport
Scenario Outline Check if custom fields map is correct after creating a transport by Public API [A-7508]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 242ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 299ms
And Verify that custom fields from API are equivalent to custom fields from "CREATE_DELIVERY" as "super-admin-piast" 286ms
java.lang.NullPointerException
	at Utils.JsonApiUtil.getMapOfNodeFromJSON(JsonApiUtil.java:475)
	at CucumberTests.Api.ApiTransportTest.checkIfAPICustomFieldsAreCorrect(ApiTransportTest.java:170)
	at ✽.Verify that custom fields from API are equivalent to custom fields from "CREATE_DELIVERY" as "super-admin-piast"(file:Features/Api/Transport.feature:145)
After Hooks.deleteTransportAfterApiTest() 771ms