Project Number Date
ApolloFullRunnerReport develop.459 10 cze 2021, 07:03

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 076ms 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" 192ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 346ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Nieprawidłowe wartości w polu orderInTransport" 367ms
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" 247ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_EMPTY" as "super-admin-piast" for api version "v1" 231ms
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" 155ms
When Create transport by invalid JSON file "CREATE_LOAD_STEP_TYPE_NAME_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 205ms
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" 009ms
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" 150ms
When Create transport by invalid JSON file "CREATE_LOAD_STEP_TYPE_NAME_EMPTY" as "super-admin-piast" for api version "v1" 227ms
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" 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 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" 155ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 194ms
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" 157ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_EMPTY" as "super-admin-piast" for api version "v1" 213ms
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" 152ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_COUNTRY_CODE_INCORRECT" as "super-admin-piast" for api version "v1" 202ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny kod kraju" 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 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" 145ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_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" 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" 144ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_RECIPIENT_EMPTY" as "super-admin-piast" for api version "v1" 198ms
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" 147ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_POSTAL_EMPTY" as "super-admin-piast" for api version "v1" 192ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 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 "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" 141ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_CITY_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" 009ms
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" 143ms
When Create transport by invalid JSON file "CREATE_LOAD_ADDRESS_STREET_EMPTY" as "super-admin-piast" for api version "v1" 208ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawny adres" 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 "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" 148ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_INCORRECT_VALUES" as "super-admin-piast" for api version "v1" 203ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Nieprawidłowe wartości w polu orderInTransport" 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 "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" 134ms
When Create transport by invalid JSON file "CREATE_LOAD_ORDER_IN_TRANSPORT_EMPTY" as "super-admin-piast" for api version "v1" 205ms
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" 144ms
When Create transport by invalid JSON file "CREATE_LOAD_COMPANY_EMPTY" as "super-admin-piast" for api version "v1" 197ms
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" 142ms
When Create transport by invalid JSON file "CREATE_LOAD_WAREHOUSE_EMPTY" as "super-admin-piast" for api version "v1" 199ms
Then Check if response status code equals "422" 000ms
And Check if response message contains "Niepoprawne dane firmy" 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 "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" 138ms
When Create transport by invalid JSON file "CREATE_LOAD_COMPANY_NAME_FILLED_ONLY" as "super-admin-piast" for api version "v1" 192ms
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" 135ms
When Create transport by invalid JSON file "CREATE_LOAD_WAREHOUSE_NAME_FILLED_ONLY" as "super-admin-piast" for api version "v1" 196ms
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