Given
Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd"
2s 257ms
And
Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SQUARE_MANAGER_INVITATION"
177ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@3c79fb92
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-skd" for "automaty@test.pl" "CREATE_SQUARE_MANAGER_INVITATION"(file:Features/Atom/Users/User.feature:41)
And
Get invited user account data "automaty@test.pl"
000ms
When
Go to "USERS_TAB"
000ms
And
Find user "automaty@test.pl"
000ms
And
Add queues to user account "opał"
000ms
And
Save user details
000ms
And
Click edit button in user details page
000ms
Then
Verify that the user is assigned the appropriate queues "opał"
000ms