Project Number Date
ApolloFullRunnerReport develop.458 09 cze 2021, 19:28

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 7s 217ms 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" 174ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 380ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Nieprawidłowe wartości w polu orderInTransport" 396ms
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" 208ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_EMPTY" as "super-admin-piast" for api version "v1" 217ms
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" 007ms
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" 198ms
When Create transport by invalid JSON file "CREATE_LOAD_STEP_TYPE_NAME_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 187ms
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" 008ms
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" 189ms
When Create transport by invalid JSON file "CREATE_LOAD_STEP_TYPE_NAME_EMPTY" as "super-admin-piast" for api version "v1" 235ms
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" 006ms
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" 143ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 202ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Nieprawidłowe wartości w polu orderInTransport" 006ms
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" 143ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_EMPTY" as "super-admin-piast" for api version "v1" 216ms
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" 007ms
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" 213ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_COUNTRY_CODE_INCORRECT" as "super-admin-piast" for api version "v1" 293ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny kod kraju" 008ms
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" 169ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_EMPTY" as "super-admin-piast" for api version "v1" 229ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 005ms
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" 149ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_RECIPIENT_EMPTY" as "super-admin-piast" for api version "v1" 194ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 005ms
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" 152ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_POSTAL_EMPTY" as "super-admin-piast" for api version "v1" 206ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 008ms
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" 130ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_CITY_EMPTY" as "super-admin-piast" for api version "v1" 180ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 007ms
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" 131ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_STREET_EMPTY" as "super-admin-piast" for api version "v1" 203ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 007ms
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" 124ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 191ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Nieprawidłowe wartości w polu orderInTransport" 006ms
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" 122ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_EMPTY" as "super-admin-piast" for api version "v1" 185ms
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" 008ms
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" 142ms
When Create transport by invalid JSON file "CREATE_LOAD_COMPANY_EMPTY" as "super-admin-piast" for api version "v1" 209ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawne dane firmy" 007ms
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" 143ms
When Create transport by invalid JSON file "CREATE_LOAD_WAREHOUSE_EMPTY" as "super-admin-piast" for api version "v1" 187ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawne dane firmy" 008ms
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" 149ms
When Create transport by invalid JSON file "CREATE_LOAD_COMPANY_NAME_FILLED_ONLY" as "super-admin-piast" for api version "v1" 179ms
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() 010ms
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" 142ms
When Create transport by invalid JSON file "CREATE_LOAD_WAREHOUSE_NAME_FILLED_ONLY" as "super-admin-piast" for api version "v1" 177ms
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() 005ms