Project Number Date
ApolloFullRunnerReport kapibary.43 15 cze 2021, 06:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
API Transport 52 18 0 0 0 70 0 18 18 13s 206ms Failed
Feature API Transport
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 307ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 528ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Nieprawidłowe wartości w polu orderInTransport" 457ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Nieprawidłowe wartości w polu orderInTransport"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 337ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_EMPTY" as "super-admin-piast" for api version "v1" 425ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Brak wartości w polu orderInTransport, pole jest obowiązkowe" 011ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Brak wartości w polu orderInTransport, pole jest obowiązkowe"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 286ms
When Create transport by invalid JSON file "CREATE_LOAD_STEP_TYPE_NAME_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 453ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawna wartość w polu stepTypeName. Poprawne wartości to: load, unload" 012ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Niepoprawna wartość w polu stepTypeName. Poprawne wartości to: load, unload"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 278ms
When Create transport by invalid JSON file "CREATE_LOAD_STEP_TYPE_NAME_EMPTY" as "super-admin-piast" for api version "v1" 438ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Brak wartości w polu stepTypeName, pole jest obowiązkowe" 012ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Brak wartości w polu stepTypeName, pole jest obowiązkowe"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 290ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 414ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Nieprawidłowe wartości w polu orderInTransport" 010ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Nieprawidłowe wartości w polu orderInTransport"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 278ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_EMPTY" as "super-admin-piast" for api version "v1" 417ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Brak wartości w polu orderInTransport, pole jest obowiązkowe" 012ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Brak wartości w polu orderInTransport, pole jest obowiązkowe"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 286ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_COUNTRY_CODE_INCORRECT" as "super-admin-piast" for api version "v1" 410ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny kod kraju" 010ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Niepoprawny kod kraju"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 269ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_EMPTY" as "super-admin-piast" for api version "v1" 461ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 012ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Niepoprawny adres"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 270ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_RECIPIENT_EMPTY" as "super-admin-piast" for api version "v1" 380ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 010ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Niepoprawny adres"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 272ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_POSTAL_EMPTY" as "super-admin-piast" for api version "v1" 409ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 010ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Niepoprawny adres"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 270ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_CITY_EMPTY" as "super-admin-piast" for api version "v1" 397ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 010ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Niepoprawny adres"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 276ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_STREET_EMPTY" as "super-admin-piast" for api version "v1" 407ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 013ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Niepoprawny adres"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 286ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 395ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Nieprawidłowe wartości w polu orderInTransport" 011ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Nieprawidłowe wartości w polu orderInTransport"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 272ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_EMPTY" as "super-admin-piast" for api version "v1" 386ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Brak wartości w polu orderInTransport, pole jest obowiązkowe" 010ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Brak wartości w polu orderInTransport, pole jest obowiązkowe"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 276ms
When Create transport by invalid JSON file "CREATE_LOAD_COMPANY_EMPTY" as "super-admin-piast" for api version "v1" 401ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawne dane firmy" 010ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Niepoprawne dane firmy"(file:Features/Api/Transport.feature:41)
Scenario Outline Check validation message when creating transport with incorrect data in node by Public API [A-7510] [A-7509] [A-7515]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 277ms
When Create transport by invalid JSON file "CREATE_LOAD_WAREHOUSE_EMPTY" as "super-admin-piast" for api version "v1" 387ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawne dane firmy" 012ms
java.lang.AssertionError: W wiadomości został wysłany nie poprawny tekst
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseMessageContains(ApiTransportTest.java:94)
	at ✽.Check if response message contains "Niepoprawne dane firmy"(file:Features/Api/Transport.feature:41)
Scenario Outline Check if it is possible to create transport with with only part of data in company node by Public API [A-7513]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 274ms
When Create transport by invalid JSON file "CREATE_LOAD_COMPANY_NAME_FILLED_ONLY" as "super-admin-piast" for api version "v1" 387ms
Then Check if response status code equals "200" 000ms
org.junit.ComparisonFailure: Odpowiedź zawiera kod 422 zamiast 200 expected:<[200]> but was:<[422]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseStatusCodeEquals(ApiTransportTest.java:87)
	at ✽.Check if response status code equals "200"(file:Features/Api/Transport.feature:65)
After Hooks.deleteTransportAfterApiTest() 013ms
Scenario Outline Check if it is possible to create transport with with only part of data in company node by Public API [A-7513]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 266ms
When Create transport by invalid JSON file "CREATE_LOAD_WAREHOUSE_NAME_FILLED_ONLY" as "super-admin-piast" for api version "v1" 393ms
Then Check if response status code equals "200" 000ms
org.junit.ComparisonFailure: Odpowiedź zawiera kod 422 zamiast 200 expected:<[200]> but was:<[422]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseStatusCodeEquals(ApiTransportTest.java:87)
	at ✽.Check if response status code equals "200"(file:Features/Api/Transport.feature:65)
After Hooks.deleteTransportAfterApiTest() 004ms