Given
Login as "hochland-admin" and set token of apiUsername "super-admin-hochland"
2s 520ms
And
Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file
158ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/23488184 - 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.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
at ✽.Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/DiscrepancyReportMail.feature:6)
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "DELIVERY"
000ms
And
Get inputs from database "EDIT_DELIVERY" "super-admin-hochland"
000ms
And
Fill transport form
000ms
And
Open section: "discrepancy-report-panel"
000ms
And
Fill discrepancy report section
000ms
And
Go to transport details "DELIVERY"
000ms
And
Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0"
000ms
And
Generate discrepancy report
000ms
When
Get mail "apolloautomattest@gmail.com" message from mail account with "Utworzono protokół niezgodności"
000ms
Then
Check if user got a mail
000ms