Given
Set token of apiUsername "super-admin-hochland"
120ms
And
Add action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED"
106ms
And
Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file
123ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/21061239 - status odpowiedzi: 422 , komunikat: [errors:[Przepraszamy, ale podany login jest już zajęty.]]
at org.junit.Assert.fail(Assert.java:88)
at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
at CucumberTests.User.EditUserTest.addAccessToTheWarehouseToTheUserByJSONFileAs(EditUserTest.java:151)
at ✽.Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file(file:Features/Atom/Transport/TransportForm/TransportForm.feature:141)
And
Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland"
000ms
And
Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland"
000ms
When
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "DELIVERY"
000ms
And
Change filled value in transport details "transport-description" "text" "opis" "0"
000ms
Then
Verify that "transport-description" in transport has value "opis"
000ms