Given
Set token of apiUsername "super-admin-piast"
124ms
And
Delete invitations with email "automaty31415@test.pl"
012ms
And
Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file
105ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - 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 "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file(file:Features/Atom/Invitations/Invitation.feature:173)
Then
Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"
000ms
When
Login as "piast-admin"
000ms
Then
Go to "INVITATIONS_TAB"
000ms
And
Go to invitation details
000ms
Then
Reject invitation by button as user
000ms
When
If user is login then logout
000ms
Then
Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec"
000ms
And
Go to "INVITATIONS_TAB"
000ms
And
Go to "REJECTED_TAB" invitation status tab
000ms
Then
Invitation is displayed on list "automaty31415@test.pl"
000ms