Project Number Date
ApolloFullRunnerReport 2021.AT1.43 05 sie 2021, 04:46

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 492 6 39 0 0 537 53 6 59 20m 29s 388ms Failed
Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 179ms
And Delete invitations with email "automatyy1@test.pl" 057ms
When Go to "INVITATIONS_TAB" 298ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 305ms
Then Create invitation success alert is displayed 549ms
And Invitation is displayed on list "automatyy1@test.pl" 199ms
After Hooks.deleteInvitationAfterTest() 032ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 433ms
And Delete invitations with email "automatyy2@test.pl" 015ms
When Go to "INVITATIONS_TAB" 188ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 063ms
Then Create invitation success alert is displayed 259ms
And Invitation is displayed on list "automatyy2@test.pl" 181ms
After Hooks.deleteInvitationAfterTest() 021ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 225ms
And Delete invitations with email "automatyy2@test.pl" 019ms
When Go to "INVITATIONS_TAB" 181ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 012ms
Then Create invitation success alert is displayed 265ms
And Invitation is displayed on list "automatyy2@test.pl" 178ms
After Hooks.deleteInvitationAfterTest() 026ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 502ms
And Delete invitations with email "automatyy2@test.pl" 014ms
When Go to "INVITATIONS_TAB" 173ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 042ms
Then Create invitation success alert is displayed 256ms
And Invitation is displayed on list "automatyy2@test.pl" 185ms
After Hooks.deleteInvitationAfterTest() 027ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 978ms
And Delete invitations with email "automatyy2@test.pl" 018ms
When Go to "INVITATIONS_TAB" 175ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 075ms
Then Create invitation success alert is displayed 203ms
And Invitation is displayed on list "automatyy2@test.pl" 176ms
After Hooks.deleteInvitationAfterTest() 024ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 096ms
And Delete invitations with email "automatyy15q@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-skz" in JSON "CREATE_SUPPLIER_INVITATION" 015ms
And If user is login then logout 086ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 372ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 5s 431ms
And Fill tax id registration page "byJSON" 339ms
And Verify that user is redirected to registration page 091ms
And Register to application "SUPPLIER" 1s 320ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 024ms
After Hooks.cleanUpAfterTest() 405ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 091ms
And Delete invitations with email "automatyy19q@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 016ms
And If user is login then logout 208ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 326ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 5s 236ms
And Fill tax id registration page "byJSON" 324ms
And Verify that user is redirected to registration page 089ms
And Register to application "SUPPLIER" 1s 342ms
Then Check if user can be logged "automatyy19q@test.pl" 1s 943ms
After Hooks.cleanUpAfterTest() 293ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-lantmannen" 090ms
And Delete invitations with email "automatyy2545q@test.pl" 013ms
And Change tax id in existing companies with given tax id number "super-admin-lantmannen" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 215ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 879ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 5s 269ms
And Fill tax id registration page "byJSON" 325ms
And Verify that user is redirected to registration page 091ms
And Register to application "SUPPLIER" 1s 345ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 236ms
After Hooks.cleanUpAfterTest() 284ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-keeeper" 096ms
And Delete invitations with email "automatyy287q@test.pl" 018ms
And Change tax id in existing companies with given tax id number "super-admin-keeeper" in JSON "CREATE_SUPPLIER_INVITATION" 015ms
And If user is login then logout 236ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 765ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 5s 293ms
And Fill tax id registration page "byJSON" 328ms
And Verify that user is redirected to registration page 094ms
And Register to application "SUPPLIER" 1s 369ms
Then Check if user can be logged "automatyy287q@test.pl" 2s 593ms
After Hooks.cleanUpAfterTest() 326ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 111ms
And Delete invitations with email "automatyy2871q@test.pl" 018ms
And Change tax id in existing companies with given tax id number "super-admin-alrec" in JSON "CREATE_SUPPLIER_INVITATION" 015ms
And If user is login then logout 229ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 757ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 5s 231ms
And Fill tax id registration page "byJSON" 322ms
And Verify that user is redirected to registration page 093ms
And Register to application "SUPPLIER" 1s 350ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 165ms
After Hooks.cleanUpAfterTest() 313ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-pgf" 097ms
And Delete invitations with email "automatyy3872q@test.pl" 013ms
And Change tax id in existing companies with given tax id number "super-admin-pgf" in JSON "CREATE_SUPPLIER_INVITATION" 016ms
And If user is login then logout 221ms
And Create invitation by JSON file "super-admin-pgf" for "automatyy3872q@test.pl" "CREATE_SUPPLIER_INVITATION" 284ms
When Mock invitation email by admin panel "super-admin-pgf" "automatyy3872q@test.pl" 5s 263ms
And Fill tax id registration page "byJSON" 296ms
And Verify that user is redirected to registration page 097ms
And Register to application "SUPPLIER" 1s 364ms
Then Check if user can be logged "automatyy3872q@test.pl" 1s 571ms
After Hooks.cleanUpAfterTest() 243ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-skd" 095ms
And Delete invitations with email "automatyy3874q@test.pl" 015ms
And Change tax id in existing companies with given tax id number "super-admin-skd" in JSON "CREATE_SUPPLIER_INVITATION" 016ms
And If user is login then logout 228ms
And Create invitation by JSON file "super-admin-skd" for "automatyy3874q@test.pl" "CREATE_SUPPLIER_INVITATION" 289ms
When Mock invitation email by admin panel "super-admin-skd" "automatyy3874q@test.pl" 5s 271ms
And Fill tax id registration page "byJSON" 323ms
And Verify that user is redirected to registration page 098ms
And Register to application "SUPPLIER" 1s 371ms
Then Check if user can be logged "automatyy3874q@test.pl" 1s 744ms
After Hooks.cleanUpAfterTest() 279ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-hochland" 092ms
And Delete invitations with email "automatyy3875q@test.pl" 013ms
And Change tax id in existing companies with given tax id number "super-admin-hochland" in JSON "CREATE_SUPPLIER_INVITATION" 016ms
And If user is login then logout 072ms
And Create invitation by JSON file "super-admin-hochland" for "automatyy3875q@test.pl" "CREATE_SUPPLIER_INVITATION" 459ms
When Mock invitation email by admin panel "super-admin-hochland" "automatyy3875q@test.pl" 5s 268ms
And Fill tax id registration page "byJSON" 329ms
And Verify that user is redirected to registration page 088ms
And Register to application "SUPPLIER" 1s 366ms
Then Check if user can be logged "automatyy3875q@test.pl" 2s 531ms
After Hooks.cleanUpAfterTest() 287ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 093ms
And Delete invitations with email "automaty31415@test.pl" 015ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 083ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 325ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 236ms
And Fill tax id registration page "byJSON" 315ms
And Register to application "SUPPLIER" 1s 464ms
And Wait "5" seconds 5s
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 1s 503ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 227ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 542ms
After Hooks.cleanUpAfterTest() 317ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-lantmannen" 095ms
And Delete invitations with email "automaty27182@test.pl" 014ms
And Change tax id in existing companies with given tax id number "super-admin-lantmannen" in JSON "CREATE_SUPPLIER_INVITATION" 015ms
And If user is login then logout 244ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 722ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 5s 265ms
And Fill tax id registration page "byJSON" 301ms
And Register to application "SUPPLIER" 1s 370ms
And Wait "5" seconds 5s
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 1s 308ms
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 5s 221ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 282ms
After Hooks.cleanUpAfterTest() 263ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-keeeper" 093ms
And Delete invitations with email "automaty6022@test.pl" 018ms
And Change tax id in existing companies with given tax id number "super-admin-keeeper" in JSON "CREATE_SUPPLIER_INVITATION" 016ms
And If user is login then logout 245ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 814ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 5s 289ms
And Fill tax id registration page "byJSON" 326ms
And Register to application "SUPPLIER" 1s 345ms
And Wait "5" seconds 5s
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 1s 587ms
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 5s 264ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 397ms
After Hooks.cleanUpAfterTest() 288ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 096ms
And Delete invitations with email "automaty6666@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-skz" in JSON "CREATE_SUPPLIER_INVITATION" 018ms
And If user is login then logout 280ms
And Create invitation by JSON file "super-admin-skz" for "automaty6666@test.pl" "CREATE_SUPPLIER_INVITATION" 324ms
When Mock invitation email by admin panel "super-admin-skz" "automaty6666@test.pl" 5s 304ms
And Fill tax id registration page "byJSON" 319ms
And Register to application "SUPPLIER" 1s 340ms
And Wait "5" seconds 5s
And Login as "automaty6666@test.pl" and set token of apiUsername "super-admin-skz" 1s 814ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty6666@test.pl" 5s 247ms
And Verify that user is redirected to invitation page "automaty6666@test.pl" 378ms
After Hooks.cleanUpAfterTest() 313ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 097ms
And Delete invitations with email "automaty2871q@test.pl" 015ms
And Change tax id in existing companies with given tax id number "super-admin-alrec" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 268ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 897ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 5s 275ms
And Fill tax id registration page "byJSON" 316ms
And Register to application "SUPPLIER" 1s 337ms
And Wait "5" seconds 5s
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 1s 380ms
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 5s 206ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 307ms
After Hooks.cleanUpAfterTest() 260ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 097ms
And Delete invitations with email "apolloautomattest@gmail.com" 015ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 812ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 31s 745ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 031ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-lantmannen" 092ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 868ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 32s 482ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 031ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 102ms
And Delete invitations with email "apolloautomattest@gmail.com" 014ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 839ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 32s 583ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 029ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 097ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 801ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 32s 621ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 026ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 099ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 325ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 31s 614ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 034ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 098ms
And Delete invitations with email "apolloautomattest@gmail.com" 019ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 252ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 36s 726ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 029ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 097ms
And Delete invitations with email "apolloautomattest@gmail.com" 017ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 310ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 37s 734ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 028ms
Scenario Outline Check if user has accepted invitation from principal after accepting invitation by another user from company
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-farmacol" 097ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 386ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 261ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: [errors:[Użytkownik o podanym adresie e-mail już istnieje. Prosimy o kontakt z naszą obsługą klienta na support@support.xd.]]
	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 ✽.Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:86)
And Prepare user "dnfa1-supplier-2" details with all notifications and "automaty214152@test.pl" by JSON file 000ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty214152@test.pl" "CREATE_SUPPLIER_INVITATION" 000ms
When Login as "dnfa1-supplier" and set token of apiUsername "super-admin-farmacol" 000ms
And Go to "INVITATIONS_TAB" 000ms
And Accept invitation 000ms
And If user is login then logout 000ms
And Login as "dnfa1-supplier-2" and set token of apiUsername "super-admin-farmacol" 000ms
And Verify if user has visible "no waiting" invitation 000ms
And Verify if user has visible "accepted" invitation 000ms
And Verify if user can see "Farmacol" on principal switch dropdown 000ms
After Hooks.cleanUserDetailsAfterTest() 181ms
Scenario Outline Check if invitation cant be sent to already used username
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "super-admin-skz" and set token of apiUsername "super-admin-skz" 2s 044ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 821ms
And Go to "USERS_TAB" 1s 077ms
And Find user "automaty1591qa@test.pl" 17s 184ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-field-name = 'username' and text()='automaty1591qa@test.pl']"}
  (Session info: headless chrome=91.0.4472.164)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.1YQUm9}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 075235dd08742315f635b0b165780c15
*** Element info: {Using=xpath, value=//td[@data-field-name = 'username' and text()='automaty1591qa@test.pl']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:30)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:160)
	at ✽.Find user "automaty1591qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:106)
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
When Go to "INVITATIONS_TAB" 000ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1591qa@test.pl" "notFromPoland" 000ms
Then Verify that invitation can't be sent on already used username 000ms
Hooks
After Hooks.cleanUpAfterTest() 060ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:318)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Scenario Outline Check if invitation cant be sent to already used username
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 409ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 469ms
And Go to "USERS_TAB" 881ms
And Find user "automaty1231qa@test.pl" 17s 237ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-field-name = 'username' and text()='automaty1231qa@test.pl']"}
  (Session info: headless chrome=91.0.4472.164)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.1YQUm9}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 075235dd08742315f635b0b165780c15
*** Element info: {Using=xpath, value=//td[@data-field-name = 'username' and text()='automaty1231qa@test.pl']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:30)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:160)
	at ✽.Find user "automaty1231qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:106)
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
When Go to "INVITATIONS_TAB" 000ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1231qa@test.pl" "notFromPoland" 000ms
Then Verify that invitation can't be sent on already used username 000ms
Hooks
After Hooks.cleanUpAfterTest() 013ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:318)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Scenario Outline Check if invitation cant be sent to already used username
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 553ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 698ms
And Go to "USERS_TAB" 888ms
And Find user "automaty9231qa@test.pl" 17s 234ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-field-name = 'username' and text()='automaty9231qa@test.pl']"}
  (Session info: headless chrome=91.0.4472.164)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.1YQUm9}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 075235dd08742315f635b0b165780c15
*** Element info: {Using=xpath, value=//td[@data-field-name = 'username' and text()='automaty9231qa@test.pl']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:30)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:160)
	at ✽.Find user "automaty9231qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:106)
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
When Go to "INVITATIONS_TAB" 000ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty9231qa@test.pl" "notFromPoland" 000ms
Then Verify that invitation can't be sent on already used username 000ms
Hooks
After Hooks.cleanUpAfterTest() 012ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:318)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Scenario Outline Check if invitation cant be sent to already used username
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "super-admin-farmacol" and set token of apiUsername "super-admin-farmacol" 1s 964ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 870ms
And Go to "USERS_TAB" 1s 012ms
And Find user "automaty7221qa@test.pl" 17s 174ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-field-name = 'username' and text()='automaty7221qa@test.pl']"}
  (Session info: headless chrome=91.0.4472.164)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.1YQUm9}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 075235dd08742315f635b0b165780c15
*** Element info: {Using=xpath, value=//td[@data-field-name = 'username' and text()='automaty7221qa@test.pl']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:30)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:160)
	at ✽.Find user "automaty7221qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:106)
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
When Go to "INVITATIONS_TAB" 000ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty7221qa@test.pl" "notFromPoland" 000ms
Then Verify that invitation can't be sent on already used username 000ms
Hooks
After Hooks.cleanUpAfterTest() 012ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:318)
	at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-piast" 101ms
And Delete invitations with email "automaty31415@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 349ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 301ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 295ms
And Verify that user is redirected to registration page 134ms
And Fill tax id registration page "byJSON" 208ms
And Register to application "SUPPLIER" 1s 416ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 306ms
When Go to "INVITATIONS_TAB" 194ms
Then Go to "ACCEPTED_TAB" invitation status tab 094ms
And Invitation is displayed on list "automaty31415@test.pl" 154ms
After Hooks.cleanUpAfterTest() 702ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 096ms
And Delete invitations with email "automaty31415@test.pl" 016ms
And If user is login then logout 083ms
Given Set token of apiUsername "super-admin-piast" 101ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 026ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 025ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 308ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 026ms
Then Go to "INVITATIONS_TAB" 172ms
And Go to "EXPIRED_TAB" invitation status tab 080ms
Then Invitation is displayed on list "automaty31415@test.pl" 135ms
After Hooks.deleteInvitationAfterTest() 025ms
After Hooks.rollbackSettings() 024ms
Scenario Outline Check if rejected invitation is visible in rejected tab
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-piast" 097ms
And Delete invitations with email "automaty31415@test.pl" 021ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 181ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 128ms
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 Piast Cargo Transport Sp. z o.o., NIP: . 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 ✽.Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:175)
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
Hooks
After Hooks.deleteInvitationAfterTest() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:263)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
After Hooks.cleanUserDetailsAfterTest() 155ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 389ms
And Delete invitations with email "automatyy43@test.pl" 014ms
When Go to "INVITATIONS_TAB" 180ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 1s 099ms
Then Check content of message about invitation "GUSAlert" 777ms
And If user is login then logout 079ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 5s 241ms
And Verify that user is redirected to registration page 143ms
And Fill tax id registration page "notByJSON" 213ms
Then Verify that user is redirected to registration page 083ms
And Check if data from GUS are automatically completed 2s 080ms
After Hooks.deleteInvitationAfterTest() 034ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 007ms
And Delete invitations with email "automatyy45@test.pl" 013ms
When Go to "INVITATIONS_TAB" 186ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 1s 092ms
Then Check content of message about invitation "GUSAlert" 247ms
And If user is login then logout 080ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 5s 280ms
And Verify that user is redirected to registration page 143ms
And Fill tax id registration page "notByJSON" 210ms
Then Verify that user is redirected to registration page 085ms
And Check if data from GUS are automatically completed 2s 077ms
After Hooks.deleteInvitationAfterTest() 034ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 049ms
And Delete invitations with email "automatyy46@test.pl" 015ms
When Go to "INVITATIONS_TAB" 188ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 1s 089ms
Then Check content of message about invitation "GUSAlert" 248ms
And If user is login then logout 248ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 5s 246ms
And Verify that user is redirected to registration page 141ms
And Fill tax id registration page "notByJSON" 210ms
Then Verify that user is redirected to registration page 086ms
And Check if data from GUS are automatically completed 2s 077ms
After Hooks.deleteInvitationAfterTest() 031ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 611ms
And Delete invitations with email "automatyy47@test.pl" 013ms
When Go to "INVITATIONS_TAB" 185ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 1s 144ms
Then Check content of message about invitation "GUSAlert" 432ms
And If user is login then logout 084ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 5s 263ms
And Verify that user is redirected to registration page 146ms
And Fill tax id registration page "notByJSON" 222ms
Then Verify that user is redirected to registration page 089ms
And Check if data from GUS are automatically completed 2s 081ms
After Hooks.deleteInvitationAfterTest() 035ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 887ms
And Delete invitations with email "automatyy48@test.pl" 016ms
When Go to "INVITATIONS_TAB" 180ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 1s 130ms
Then Check content of message about invitation "GUSAlert" 350ms
And If user is login then logout 219ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 5s 270ms
And Verify that user is redirected to registration page 155ms
And Fill tax id registration page "notByJSON" 215ms
Then Verify that user is redirected to registration page 084ms
And Check if data from GUS are automatically completed 2s 078ms
After Hooks.deleteInvitationAfterTest() 034ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-piast" 098ms
And Delete invitations with email "automatyy99@test.pl" 014ms
And If user is login then logout 15s 010ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 317ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 270ms
And Verify that user is redirected to registration page 140ms
And Fill tax id registration page "notbyJSON" 204ms
Then Check if non-compliant NIP message is displayed 2s 029ms
After Hooks.deleteInvitationAfterTest() 021ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 062ms
When Go to "INVITATIONS_TAB" 201ms
And Go to create invitation form 083ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 886ms
Then Check if company existed in apollo is suggest correctly 705ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 913ms
When Go to "INVITATIONS_TAB" 168ms
And Go to create invitation form 073ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" "null" 878ms
Then Check if company existed in apollo is suggest correctly 114ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 078ms
When Go to "INVITATIONS_TAB" 174ms
And Go to create invitation form 078ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 857ms
Then Check if company existed in apollo is suggest correctly 107ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 930ms
And Delete invitations with email "automatyy3333@test.pl" 013ms
When Go to "INVITATIONS_TAB" 165ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 1s 055ms
Then Check content of message about invitation "GUSAlert" 419ms
And If user is login then logout 073ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 5s 298ms
And Fill tax id registration page "notByJSON" 305ms
And Register to application "CARRIER" 1s 348ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 980ms
And Go to "COMPANIES_TAB" 382ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 226ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 095ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 1s 682ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 775ms
And Delete invitations with email "automatyy3338@test.pl" 015ms
When Go to "INVITATIONS_TAB" 188ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 1s 077ms
Then Check content of message about invitation "GUSAlert" 715ms
And If user is login then logout 085ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 5s 296ms
And Fill tax id registration page "notByJSON" 309ms
And Register to application "CARRIER" 1s 340ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 021ms
And Go to "COMPANIES_TAB" 508ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 229ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 399ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 1s 328ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 072ms
And Delete invitations with email "aaaa@keeeper.pl" 018ms
When Go to "INVITATIONS_TAB" 189ms
And Go to create invitation form 081ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 410ms
Then Check if NIP is not required to inviting to your company 30s 072ms
When Send invitation 078ms
Then Create invitation success alert is displayed 261ms
And Invitation is displayed on list "aaaa@keeeper.pl" 220ms
After Hooks.deleteInvitationAfterTest() 021ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 731ms
And Delete invitations with email "aaaa@neuca.pl" 019ms
When Go to "INVITATIONS_TAB" 159ms
And Go to create invitation form 079ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 444ms
Then Check if NIP is not required to inviting to your company 30s 078ms
When Send invitation 090ms
Then Create invitation success alert is displayed 384ms
And Invitation is displayed on list "aaaa@neuca.pl" 238ms
After Hooks.deleteInvitationAfterTest() 024ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 974ms
And Delete invitations with email "aaaa@farmacol.com.pl" 026ms
When Go to "INVITATIONS_TAB" 178ms
And Go to create invitation form 076ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 455ms
Then Check if NIP is not required to inviting to your company 30s 104ms
When Send invitation 085ms
Then Create invitation success alert is displayed 380ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 239ms
After Hooks.deleteInvitationAfterTest() 025ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 045ms
And Delete invitations with email "aaaa@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 191ms
And Go to create invitation form 082ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 416ms
When Send invitation 052ms
Then Create invitation success alert is displayed 263ms
And Check content of message about invitation "ownCompany" 053ms
And Invitation is displayed on list "aaaa@keeeper.pl" 199ms
After Hooks.deleteInvitationAfterTest() 023ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 007ms
And Delete invitations with email "aaaa@neuca.pl" 013ms
When Go to "INVITATIONS_TAB" 155ms
And Go to create invitation form 076ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 407ms
When Send invitation 056ms
Then Create invitation success alert is displayed 375ms
And Check content of message about invitation "ownCompany" 052ms
And Invitation is displayed on list "aaaa@neuca.pl" 188ms
After Hooks.deleteInvitationAfterTest() 022ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 013ms
And Delete invitations with email "aaaa@farmacol.com.pl" 012ms
When Go to "INVITATIONS_TAB" 180ms
And Go to create invitation form 075ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 443ms
When Send invitation 068ms
Then Create invitation success alert is displayed 378ms
And Check content of message about invitation "ownCompany" 050ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 184ms
After Hooks.deleteInvitationAfterTest() 024ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 964ms
And Delete invitations with email "abc@keeeper.pl" 014ms
When Go to "INVITATIONS_TAB" 175ms
And Go to create invitation form 070ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 370ms
When Send invitation 057ms
Then Verify that wrong mail domain alert is displayed 055ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 086ms
And Send invitation 038ms
Then Create invitation success alert is displayed 206ms
And Check content of message about invitation "ownCompany" 050ms
And Invitation is displayed on list "abc@keeeper.pl" 192ms
After Hooks.deleteInvitationAfterTest() 023ms
Before Hooks.showScenarioName(Scenario) 003ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 909ms
And Delete invitations with email "abcd@neuca.pl" 012ms
When Go to "INVITATIONS_TAB" 170ms
And Go to create invitation form 075ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 464ms
When Send invitation 060ms
Then Verify that wrong mail domain alert is displayed 049ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 103ms
And Send invitation 056ms
Then Create invitation success alert is displayed 377ms
And Check content of message about invitation "ownCompany" 053ms
And Invitation is displayed on list "abcd@neuca.pl" 208ms
After Hooks.deleteInvitationAfterTest() 025ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 989ms
And Delete invitations with email "abcde@farmacol.com.pl" 014ms
When Go to "INVITATIONS_TAB" 168ms
And Go to create invitation form 064ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 423ms
When Send invitation 058ms
Then Verify that wrong mail domain alert is displayed 049ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 101ms
And Send invitation 051ms
Then Create invitation success alert is displayed 314ms
And Check content of message about invitation "ownCompany" 063ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 187ms
After Hooks.deleteInvitationAfterTest() 023ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 622ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 017ms
When Go to "INVITATIONS_TAB" 190ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 109ms
Then Check content of message about invitation "incompatibleNIP" 119ms
After Hooks.deleteInvitationAfterTest() 037ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 228ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 013ms
When Go to "INVITATIONS_TAB" 179ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 057ms
Then Check content of message about invitation "incompatibleNIP" 108ms
After Hooks.deleteInvitationAfterTest() 031ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 017ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 015ms
When Go to "INVITATIONS_TAB" 177ms
And Go to create invitation form 076ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 960ms
Then Check if company existed in apollo is suggest correctly 054ms
When Send invitation 056ms
Then Check content of message about invitation "incompatibleNIP" 107ms
After Hooks.deleteInvitationAfterTest() 034ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 950ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 015ms
When Go to "INVITATIONS_TAB" 175ms
And Go to create invitation form 072ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 936ms
Then Check if company existed in apollo is suggest correctly 058ms
When Send invitation 043ms
Then Check content of message about invitation "incompatibleNIP" 109ms
After Hooks.deleteInvitationAfterTest() 031ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 099ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 238ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 929ms
And Go to "INVITATIONS_TAB" 174ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 1s 158ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 040ms
After Hooks.deleteInvitationAfterTest() 035ms
After Hooks.cleanUserDetailsAfterTest() 214ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "super-admin-farmacol" and set token of apiUsername "super-admin-farmacol" 1s 715ms
When Create company "Farmacol-NEU" with given nip "DE" "12344321123" "Dostawca \ Odbiorca" 2s 045ms
And If user is login then logout 079ms
And Login as "super-admin-neuca" 1s 752ms
And Go to "INVITATIONS_TAB" 180ms
And Create invitation with given nip "SUPPLIER" "SUPPLIER" "farmacol-neu@qp.pl" "DE" "12344321123" 1s 129ms
And If user is login then logout 085ms
And Mock invitation email by admin panel "super-admin-neuca" "farmacol-neu@qp.pl" 5s 334ms
And Register to application "SUPPLIER" 16s 406ms
And Wait "4" seconds 4s
And Login as "farmacol-neu@qp.pl" 1s 547ms
And User is successfully logged 004ms
After Hooks.deleteCompanyAfterTest() 017ms
After Hooks.deleteInvitationAfterTest() 026ms