Project Number Date
ApolloFullRunnerReport apollo-test-2.103 03 sie 2021, 04:47

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 28m 34s 892ms Failed
Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 698ms
And Delete invitations with email "automatyy1@test.pl" 018ms
When Go to "INVITATIONS_TAB" 677ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 2s 709ms
Then Create invitation success alert is displayed 1s 824ms
And Invitation is displayed on list "automatyy1@test.pl" 720ms
After Hooks.deleteInvitationAfterTest() 156ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 936ms
And Delete invitations with email "automatyy2@test.pl" 015ms
When Go to "INVITATIONS_TAB" 461ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 520ms
Then Create invitation success alert is displayed 1s 271ms
And Invitation is displayed on list "automatyy2@test.pl" 705ms
After Hooks.deleteInvitationAfterTest() 168ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 516ms
And Delete invitations with email "automatyy2@test.pl" 013ms
When Go to "INVITATIONS_TAB" 466ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 480ms
Then Create invitation success alert is displayed 857ms
And Invitation is displayed on list "automatyy2@test.pl" 675ms
After Hooks.deleteInvitationAfterTest() 130ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 395ms
And Delete invitations with email "automatyy2@test.pl" 014ms
When Go to "INVITATIONS_TAB" 482ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 447ms
Then Create invitation success alert is displayed 1s 133ms
And Invitation is displayed on list "automatyy2@test.pl" 723ms
After Hooks.deleteInvitationAfterTest() 125ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 426ms
And Delete invitations with email "automatyy2@test.pl" 017ms
When Go to "INVITATIONS_TAB" 482ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 502ms
Then Create invitation success alert is displayed 806ms
And Invitation is displayed on list "automatyy2@test.pl" 698ms
After Hooks.deleteInvitationAfterTest() 158ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 223ms
And Delete invitations with email "automatyy15q@test.pl" 014ms
And Change tax id in existing companies with given tax id number "super-admin-skz" in JSON "CREATE_SUPPLIER_INVITATION" 014ms
And If user is login then logout 249ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 637ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 7s 714ms
And Fill tax id registration page "byJSON" 990ms
And Verify that user is redirected to registration page 154ms
And Register to application "SUPPLIER" 4s 154ms
Then Check if user can be logged "automatyy15q@test.pl" 11s 882ms
After Hooks.cleanUpAfterTest() 1s 292ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 251ms
And Delete invitations with email "automatyy19q@test.pl" 012ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 014ms
And If user is login then logout 244ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 450ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 7s 535ms
And Fill tax id registration page "byJSON" 1s 027ms
And Verify that user is redirected to registration page 181ms
And Register to application "SUPPLIER" 4s 215ms
Then Check if user can be logged "automatyy19q@test.pl" 8s 280ms
After Hooks.cleanUpAfterTest() 1s 052ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-lantmannen" 242ms
And Delete invitations with email "automatyy2545q@test.pl" 011ms
And Change tax id in existing companies with given tax id number "super-admin-lantmannen" in JSON "CREATE_SUPPLIER_INVITATION" 012ms
And If user is login then logout 222ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 799ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 7s 556ms
And Fill tax id registration page "byJSON" 882ms
And Verify that user is redirected to registration page 172ms
And Register to application "SUPPLIER" 4s 355ms
Then Check if user can be logged "automatyy2545q@test.pl" 7s 143ms
After Hooks.cleanUpAfterTest() 955ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 223ms
And Delete invitations with email "automatyy287q@test.pl" 017ms
And Change tax id in existing companies with given tax id number "super-admin-keeeper" in JSON "CREATE_SUPPLIER_INVITATION" 012ms
And If user is login then logout 273ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 516ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 7s 529ms
And Fill tax id registration page "byJSON" 990ms
And Verify that user is redirected to registration page 161ms
And Register to application "SUPPLIER" 4s 162ms
Then Check if user can be logged "automatyy287q@test.pl" 8s 899ms
After Hooks.cleanUpAfterTest() 1s 210ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 228ms
And Delete invitations with email "automatyy2871q@test.pl" 014ms
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 480ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 476ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 7s 590ms
And Fill tax id registration page "byJSON" 830ms
And Verify that user is redirected to registration page 180ms
And Register to application "SUPPLIER" 4s 203ms
Then Check if user can be logged "automatyy2871q@test.pl" 6s 893ms
After Hooks.cleanUpAfterTest() 951ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-pgf" 231ms
And Delete invitations with email "automatyy3872q@test.pl" 015ms
And Change tax id in existing companies with given tax id number "super-admin-pgf" in JSON "CREATE_SUPPLIER_INVITATION" 015ms
And If user is login then logout 230ms
And Create invitation by JSON file "super-admin-pgf" for "automatyy3872q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 136ms
When Mock invitation email by admin panel "super-admin-pgf" "automatyy3872q@test.pl" 7s 500ms
And Fill tax id registration page "byJSON" 841ms
And Verify that user is redirected to registration page 155ms
And Register to application "SUPPLIER" 4s 306ms
Then Check if user can be logged "automatyy3872q@test.pl" 6s 591ms
After Hooks.cleanUpAfterTest() 974ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skd" 232ms
And Delete invitations with email "automatyy3874q@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-skd" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 472ms
And Create invitation by JSON file "super-admin-skd" for "automatyy3874q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 302ms
When Mock invitation email by admin panel "super-admin-skd" "automatyy3874q@test.pl" 7s 506ms
And Fill tax id registration page "byJSON" 999ms
And Verify that user is redirected to registration page 162ms
And Register to application "SUPPLIER" 4s 128ms
Then Check if user can be logged "automatyy3874q@test.pl" 7s 480ms
After Hooks.cleanUpAfterTest() 985ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-hochland" 243ms
And Delete invitations with email "automatyy3875q@test.pl" 015ms
And Change tax id in existing companies with given tax id number "super-admin-hochland" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 472ms
And Create invitation by JSON file "super-admin-hochland" for "automatyy3875q@test.pl" "CREATE_SUPPLIER_INVITATION" 2s 293ms
When Mock invitation email by admin panel "super-admin-hochland" "automatyy3875q@test.pl" 7s 437ms
And Fill tax id registration page "byJSON" 968ms
And Verify that user is redirected to registration page 153ms
And Register to application "SUPPLIER" 4s 115ms
Then Check if user can be logged "automatyy3875q@test.pl" 11s 750ms
After Hooks.cleanUpAfterTest() 1s 031ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 240ms
And Delete invitations with email "automaty31415@test.pl" 013ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 014ms
And If user is login then logout 246ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 478ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 531ms
And Fill tax id registration page "byJSON" 791ms
And Register to application "SUPPLIER" 4s 269ms
And Wait "5" seconds 5s
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 6s 045ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 525ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 1s 017ms
After Hooks.cleanUpAfterTest() 1s 095ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-lantmannen" 229ms
And Delete invitations with email "automaty27182@test.pl" 012ms
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 246ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 466ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 7s 523ms
And Fill tax id registration page "byJSON" 778ms
And Register to application "SUPPLIER" 4s 411ms
And Wait "5" seconds 5s
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 4s 406ms
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 7s 468ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 784ms
After Hooks.cleanUpAfterTest() 935ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 230ms
And Delete invitations with email "automaty6022@test.pl" 017ms
And Change tax id in existing companies with given tax id number "super-admin-keeeper" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 275ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 490ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 7s 583ms
And Fill tax id registration page "byJSON" 844ms
And Register to application "SUPPLIER" 3s 725ms
And Wait "5" seconds 5s
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 5s 490ms
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 7s 482ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 1s 061ms
After Hooks.cleanUpAfterTest() 975ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 240ms
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" 014ms
And If user is login then logout 522ms
And Create invitation by JSON file "super-admin-skz" for "automaty6666@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 667ms
When Mock invitation email by admin panel "super-admin-skz" "automaty6666@test.pl" 7s 513ms
And Fill tax id registration page "byJSON" 840ms
And Register to application "SUPPLIER" 4s 199ms
And Wait "5" seconds 5s
And Login as "automaty6666@test.pl" and set token of apiUsername "super-admin-skz" 8s 194ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty6666@test.pl" 7s 511ms
And Verify that user is redirected to invitation page "automaty6666@test.pl" 886ms
After Hooks.cleanUpAfterTest() 1s 065ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 266ms
And Delete invitations with email "automaty2871q@test.pl" 014ms
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 265ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 504ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 7s 662ms
And Fill tax id registration page "byJSON" 728ms
And Register to application "SUPPLIER" 4s 383ms
And Wait "5" seconds 5s
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 4s 861ms
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 7s 445ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 728ms
After Hooks.cleanUpAfterTest() 984ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 227ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 469ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 33s 371ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 171ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-lantmannen" 235ms
And Delete invitations with email "apolloautomattest@gmail.com" 017ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 502ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 27s 427ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 149ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 236ms
And Delete invitations with email "apolloautomattest@gmail.com" 018ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 756ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 38s 194ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 275ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 230ms
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" 1s 488ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 27s 687ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 161ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 247ms
And Delete invitations with email "apolloautomattest@gmail.com" 013ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 482ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 36s 934ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 164ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 240ms
And Delete invitations with email "apolloautomattest@gmail.com" 018ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 941ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 32s 706ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 162ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 228ms
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" 1s 193ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 38s 280ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 165ms
Scenario Outline Check if user has accepted invitation from principal after accepting invitation by another user from company
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-farmacol" 233ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 2s 317ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 086ms
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:64)
	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() 1s 214ms
Scenario Outline Check if invitation cant be sent to already used username
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "super-admin-skz" and set token of apiUsername "super-admin-skz" 8s 311ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 5s 783ms
And Go to "USERS_TAB" 3s 135ms
And Find user "automaty1591qa@test.pl" 17s 525ms
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-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-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/temp/buildTmp/.com.google.Chrome.ORYE6w}, 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: e072dd2ec5767d83b767002eaff00e44
*** Element info: {Using=xpath, value=//td[@data-field-name = 'username' and text()='automaty1591qa@test.pl']}
	at sun.reflect.GeneratedConstructorAccessor190.newInstance(Unknown Source)
	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() 120ms
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.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	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:319)
	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" 5s 136ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 4s 044ms
And Go to "USERS_TAB" 2s 846ms
And Find user "automaty1231qa@test.pl" 17s 542ms
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-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-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/temp/buildTmp/.com.google.Chrome.ORYE6w}, 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: e072dd2ec5767d83b767002eaff00e44
*** Element info: {Using=xpath, value=//td[@data-field-name = 'username' and text()='automaty1231qa@test.pl']}
	at sun.reflect.GeneratedConstructorAccessor190.newInstance(Unknown Source)
	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() 062ms
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:319)
	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" 5s 903ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 3s 802ms
And Go to "USERS_TAB" 2s 841ms
And Find user "automaty9231qa@test.pl" 17s 651ms
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-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-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/temp/buildTmp/.com.google.Chrome.ORYE6w}, 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: e072dd2ec5767d83b767002eaff00e44
*** Element info: {Using=xpath, value=//td[@data-field-name = 'username' and text()='automaty9231qa@test.pl']}
	at sun.reflect.GeneratedConstructorAccessor190.newInstance(Unknown Source)
	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() 066ms
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:319)
	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" 9s 482ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 5s 200ms
And Go to "USERS_TAB" 2s 976ms
And Find user "automaty7221qa@test.pl" 17s 751ms
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-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-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/temp/buildTmp/.com.google.Chrome.ORYE6w}, 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: e072dd2ec5767d83b767002eaff00e44
*** Element info: {Using=xpath, value=//td[@data-field-name = 'username' and text()='automaty7221qa@test.pl']}
	at sun.reflect.GeneratedConstructorAccessor190.newInstance(Unknown Source)
	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() 083ms
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:319)
	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) 001ms
Given Set token of apiUsername "super-admin-piast" 248ms
And Delete invitations with email "automaty31415@test.pl" 017ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 011ms
And If user is login then logout 286ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 425ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 512ms
And Verify that user is redirected to registration page 271ms
And Fill tax id registration page "byJSON" 633ms
And Register to application "SUPPLIER" 4s 220ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 757ms
When Go to "INVITATIONS_TAB" 502ms
Then Go to "ACCEPTED_TAB" invitation status tab 293ms
And Invitation is displayed on list "automaty31415@test.pl" 436ms
After Hooks.cleanUpAfterTest() 4s 241ms
Before Hooks.showScenarioName(Scenario) 002ms
Given Set token of apiUsername "super-admin-piast" 241ms
And Delete invitations with email "automaty31415@test.pl" 014ms
And If user is login then logout 237ms
Given Set token of apiUsername "super-admin-piast" 261ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 145ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 210ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 471ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 753ms
Then Go to "INVITATIONS_TAB" 491ms
And Go to "EXPIRED_TAB" invitation status tab 266ms
Then Invitation is displayed on list "automaty31415@test.pl" 409ms
After Hooks.deleteInvitationAfterTest() 162ms
After Hooks.rollbackSettings() 119ms
Scenario Outline Check if rejected invitation is visible in rejected tab
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-piast" 239ms
And Delete invitations with email "automaty31415@test.pl" 013ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 971ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 418ms
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:64)
	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() 925ms
Before Hooks.showScenarioName(Scenario) 002ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 153ms
And Delete invitations with email "automatyy43@test.pl" 015ms
When Go to "INVITATIONS_TAB" 503ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 2s 476ms
Then Check content of message about invitation "GUSAlert" 1s 498ms
And If user is login then logout 262ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 7s 357ms
And Verify that user is redirected to registration page 413ms
And Fill tax id registration page "notByJSON" 613ms
Then Verify that user is redirected to registration page 158ms
And Check if data from GUS are automatically completed 2s 282ms
After Hooks.deleteInvitationAfterTest() 027ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 288ms
And Delete invitations with email "automatyy45@test.pl" 014ms
When Go to "INVITATIONS_TAB" 493ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 2s 532ms
Then Check content of message about invitation "GUSAlert" 1s 011ms
And If user is login then logout 248ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 7s 498ms
And Verify that user is redirected to registration page 334ms
And Fill tax id registration page "notByJSON" 541ms
Then Verify that user is redirected to registration page 146ms
And Check if data from GUS are automatically completed 2s 267ms
After Hooks.deleteInvitationAfterTest() 029ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 478ms
And Delete invitations with email "automatyy46@test.pl" 014ms
When Go to "INVITATIONS_TAB" 464ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 2s 480ms
Then Check content of message about invitation "GUSAlert" 1s 206ms
And If user is login then logout 234ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 7s 445ms
And Verify that user is redirected to registration page 377ms
And Fill tax id registration page "notByJSON" 617ms
Then Verify that user is redirected to registration page 153ms
And Check if data from GUS are automatically completed 2s 283ms
After Hooks.deleteInvitationAfterTest() 026ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 327ms
And Delete invitations with email "automatyy47@test.pl" 029ms
When Go to "INVITATIONS_TAB" 540ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 2s 550ms
Then Check content of message about invitation "GUSAlert" 1s 981ms
And If user is login then logout 264ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 7s 404ms
And Verify that user is redirected to registration page 421ms
And Fill tax id registration page "notByJSON" 624ms
Then Verify that user is redirected to registration page 155ms
And Check if data from GUS are automatically completed 2s 278ms
After Hooks.deleteInvitationAfterTest() 028ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 8s 114ms
And Delete invitations with email "automatyy48@test.pl" 014ms
When Go to "INVITATIONS_TAB" 531ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 2s 535ms
Then Check content of message about invitation "GUSAlert" 2s 176ms
And If user is login then logout 254ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 7s 370ms
And Verify that user is redirected to registration page 409ms
And Fill tax id registration page "notByJSON" 542ms
Then Verify that user is redirected to registration page 152ms
And Check if data from GUS are automatically completed 2s 293ms
After Hooks.deleteInvitationAfterTest() 027ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 249ms
And Delete invitations with email "automatyy99@test.pl" 014ms
And If user is login then logout 15s 091ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 381ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 7s 587ms
And Verify that user is redirected to registration page 319ms
And Fill tax id registration page "notbyJSON" 636ms
Then Check if non-compliant NIP message is displayed 2s 088ms
After Hooks.deleteInvitationAfterTest() 168ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 467ms
When Go to "INVITATIONS_TAB" 479ms
And Go to create invitation form 244ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 1s 708ms
Then Check if company existed in apollo is suggest correctly 819ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 342ms
When Go to "INVITATIONS_TAB" 457ms
And Go to create invitation form 221ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" "null" 1s 772ms
Then Check if company existed in apollo is suggest correctly 316ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 510ms
When Go to "INVITATIONS_TAB" 460ms
And Go to create invitation form 201ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 1s 757ms
Then Check if company existed in apollo is suggest correctly 233ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 279ms
And Delete invitations with email "automatyy3333@test.pl" 014ms
When Go to "INVITATIONS_TAB" 417ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 2s 433ms
Then Check content of message about invitation "GUSAlert" 1s 880ms
And If user is login then logout 268ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 7s 379ms
And Fill tax id registration page "notByJSON" 761ms
And Register to application "CARRIER" 3s 926ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 385ms
And Go to "COMPANIES_TAB" 1s 407ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 850ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 287ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 9s 649ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 6s 192ms
And Delete invitations with email "automatyy3338@test.pl" 016ms
When Go to "INVITATIONS_TAB" 474ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 2s 420ms
Then Check content of message about invitation "GUSAlert" 1s 034ms
And If user is login then logout 259ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 7s 484ms
And Fill tax id registration page "notByJSON" 928ms
And Register to application "CARRIER" 4s 058ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 2s 427ms
And Go to "COMPANIES_TAB" 1s 773ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 879ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 1s 372ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 5s 537ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 7s 871ms
And Delete invitations with email "aaaa@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 488ms
And Go to create invitation form 242ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 098ms
Then Check if NIP is not required to inviting to your company 30s 107ms
When Send invitation 179ms
Then Create invitation success alert is displayed 1s 149ms
And Invitation is displayed on list "aaaa@keeeper.pl" 795ms
After Hooks.deleteInvitationAfterTest() 140ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 10s 289ms
And Delete invitations with email "aaaa@neuca.pl" 014ms
When Go to "INVITATIONS_TAB" 452ms
And Go to create invitation form 219ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 150ms
Then Check if NIP is not required to inviting to your company 30s 140ms
When Send invitation 187ms
Then Create invitation success alert is displayed 1s 920ms
And Invitation is displayed on list "aaaa@neuca.pl" 774ms
After Hooks.deleteInvitationAfterTest() 128ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 9s 088ms
And Delete invitations with email "aaaa@farmacol.com.pl" 015ms
When Go to "INVITATIONS_TAB" 532ms
And Go to create invitation form 251ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 274ms
Then Check if NIP is not required to inviting to your company 30s 099ms
When Send invitation 175ms
Then Create invitation success alert is displayed 2s 024ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 767ms
After Hooks.deleteInvitationAfterTest() 147ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 484ms
And Delete invitations with email "aaaa@keeeper.pl" 014ms
When Go to "INVITATIONS_TAB" 506ms
And Go to create invitation form 225ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 139ms
When Send invitation 144ms
Then Create invitation success alert is displayed 1s 204ms
And Check content of message about invitation "ownCompany" 146ms
And Invitation is displayed on list "aaaa@keeeper.pl" 599ms
After Hooks.deleteInvitationAfterTest() 144ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 283ms
And Delete invitations with email "aaaa@neuca.pl" 017ms
When Go to "INVITATIONS_TAB" 465ms
And Go to create invitation form 237ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 184ms
When Send invitation 164ms
Then Create invitation success alert is displayed 1s 747ms
And Check content of message about invitation "ownCompany" 149ms
And Invitation is displayed on list "aaaa@neuca.pl" 555ms
After Hooks.deleteInvitationAfterTest() 153ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 519ms
And Delete invitations with email "aaaa@farmacol.com.pl" 016ms
When Go to "INVITATIONS_TAB" 543ms
And Go to create invitation form 210ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 159ms
When Send invitation 160ms
Then Create invitation success alert is displayed 1s 927ms
And Check content of message about invitation "ownCompany" 177ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 583ms
After Hooks.deleteInvitationAfterTest() 140ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 325ms
And Delete invitations with email "abc@keeeper.pl" 014ms
When Go to "INVITATIONS_TAB" 467ms
And Go to create invitation form 225ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 1s 137ms
When Send invitation 177ms
Then Verify that wrong mail domain alert is displayed 189ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 343ms
And Send invitation 144ms
Then Create invitation success alert is displayed 1s 041ms
And Check content of message about invitation "ownCompany" 144ms
And Invitation is displayed on list "abc@keeeper.pl" 543ms
After Hooks.deleteInvitationAfterTest() 142ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 358ms
And Delete invitations with email "abcd@neuca.pl" 061ms
When Go to "INVITATIONS_TAB" 538ms
And Go to create invitation form 255ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 1s 166ms
When Send invitation 169ms
Then Verify that wrong mail domain alert is displayed 150ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 324ms
And Send invitation 130ms
Then Create invitation success alert is displayed 1s 845ms
And Check content of message about invitation "ownCompany" 143ms
And Invitation is displayed on list "abcd@neuca.pl" 550ms
After Hooks.deleteInvitationAfterTest() 155ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 478ms
And Delete invitations with email "abcde@farmacol.com.pl" 014ms
When Go to "INVITATIONS_TAB" 546ms
And Go to create invitation form 240ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 1s 318ms
When Send invitation 172ms
Then Verify that wrong mail domain alert is displayed 180ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 414ms
And Send invitation 207ms
Then Create invitation success alert is displayed 1s 883ms
And Check content of message about invitation "ownCompany" 179ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 609ms
After Hooks.deleteInvitationAfterTest() 149ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 7s 180ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 484ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 486ms
Then Check content of message about invitation "incompatibleNIP" 448ms
After Hooks.deleteInvitationAfterTest() 022ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 992ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 609ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 480ms
Then Check content of message about invitation "incompatibleNIP" 313ms
After Hooks.deleteInvitationAfterTest() 023ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 505ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 530ms
And Go to create invitation form 239ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 139ms
Then Check if company existed in apollo is suggest correctly 223ms
When Send invitation 162ms
Then Check content of message about invitation "incompatibleNIP" 430ms
After Hooks.deleteInvitationAfterTest() 027ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 321ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 012ms
When Go to "INVITATIONS_TAB" 427ms
And Go to create invitation form 207ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 154ms
Then Check if company existed in apollo is suggest correctly 159ms
When Send invitation 150ms
Then Check content of message about invitation "incompatibleNIP" 354ms
After Hooks.deleteInvitationAfterTest() 023ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 237ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 652ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 275ms
And Go to "INVITATIONS_TAB" 462ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 523ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 121ms
After Hooks.deleteInvitationAfterTest() 031ms
After Hooks.cleanUserDetailsAfterTest() 1s 531ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "super-admin-farmacol" and set token of apiUsername "super-admin-farmacol" 8s 396ms
When Create company "Farmacol-NEU" with given nip "DE" "12344321123" "Dostawca \ Odbiorca" 5s 923ms
And If user is login then logout 266ms
And Login as "super-admin-neuca" 9s 860ms
And Go to "INVITATIONS_TAB" 496ms
And Create invitation with given nip "SUPPLIER" "SUPPLIER" "farmacol-neu@qp.pl" "DE" "12344321123" 2s 645ms
And If user is login then logout 252ms
And Mock invitation email by admin panel "super-admin-neuca" "farmacol-neu@qp.pl" 7s 407ms
And Register to application "SUPPLIER" 19s 354ms
And Wait "4" seconds 4s
And Login as "farmacol-neu@qp.pl" 7s 863ms
And User is successfully logged 056ms
After Hooks.deleteCompanyAfterTest() 193ms
After Hooks.deleteInvitationAfterTest() 046ms