Given
Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd"
1s 043ms
And
Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SQUARE_MANAGER_INVITATION"
157ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: [errors:[Tax id number mismatch! User with given email already has an account. User is an employee of company Firma automaty nowaLLL, tax id number: 234234244. Please, correct the data.]]
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