Given
Set token of apiUsername "super-admin-skd"
233ms
And
Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION"
549ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: [errors:[Niezgodny numer NIP! W platformie istnieje już użytkownik z podanym adresem mailowym (loginem). Jest on przypisany do firmy SWISS KRONO Dostawy Sp. z o.o., NIP: 7183536567. Prosimy o poprawienie danych.]]
at org.junit.Assert.fail(Assert.java:88)
at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:63)
at CucumberTests.Invitation.RegistrationTest.createAndAcceptInvitationByJSONFileFor(RegistrationTest.java:73)
at ✽.Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION"(file:Features/Atom/Mail/AdviceMail.feature:78)
And
Get invited user account data "apolloautomattest@gmail.com"
000ms
And
Prepare disabled user "test-1" details with all notifications and "apolloautomattest@gmail.com" by JSON file
000ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd"
000ms
And
Confirm status "ARRIVAL" by Public API "v1"
000ms
When
Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu"
000ms
Then
Check if user did not get an mail
000ms