Given
Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen"
2s 236ms
And
Delete invitations with email "automaty@test.pl"
014ms
And
Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty@test.pl" "CREATE_CARRIER_INVITATION"
276ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@79f0d754
at org.junit.Assert.fail(Assert.java:88)
at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
at CucumberTests.Invitation.RegistrationTest.createAndAcceptInvitationByJSONFileFor(RegistrationTest.java:74)
at ✽.Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty@test.pl" "CREATE_CARRIER_INVITATION"(file:Features/Atom/Users/User.feature:19)
And
Get invited user account data "automaty@test.pl"
000ms
When
Go to "USERS_TAB"
000ms
When
Delete user "automaty@test.pl"
000ms
Then
Success alert is displayed
000ms
And
User not displayed in users list "automaty@test.pl"
000ms