Project Number Date
ApolloFullRunnerReport apollo-test-2.81 15 lip 2021, 06:54

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 485 6 39 0 0 530 53 6 59 21m 29s 572ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 768ms
And Delete invitations with email "automatyy1@test.pl" 018ms
When Go to "INVITATIONS_TAB" 607ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 2s 561ms
Then Create invitation success alert is displayed 1s 795ms
And Invitation is displayed on list "automatyy1@test.pl" 682ms
After Hooks.deleteInvitationAfterTest() 165ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 6s 105ms
And Delete invitations with email "automatyy2@test.pl" 015ms
When Go to "INVITATIONS_TAB" 441ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 417ms
Then Create invitation success alert is displayed 1s 260ms
And Invitation is displayed on list "automatyy2@test.pl" 681ms
After Hooks.deleteInvitationAfterTest() 154ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 689ms
And Delete invitations with email "automatyy2@test.pl" 016ms
When Go to "INVITATIONS_TAB" 443ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 421ms
Then Create invitation success alert is displayed 909ms
And Invitation is displayed on list "automatyy2@test.pl" 669ms
After Hooks.deleteInvitationAfterTest() 132ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 678ms
And Delete invitations with email "automatyy2@test.pl" 020ms
When Go to "INVITATIONS_TAB" 433ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 394ms
Then Create invitation success alert is displayed 1s 125ms
And Invitation is displayed on list "automatyy2@test.pl" 689ms
After Hooks.deleteInvitationAfterTest() 231ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 461ms
And Delete invitations with email "automatyy2@test.pl" 016ms
When Go to "INVITATIONS_TAB" 469ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 351ms
Then Create invitation success alert is displayed 830ms
And Invitation is displayed on list "automatyy2@test.pl" 632ms
After Hooks.deleteInvitationAfterTest() 133ms
Given Set token of apiUsername "super-admin-skz" 221ms
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" 017ms
And If user is login then logout 226ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 671ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 8s 097ms
And Fill tax id registration page "byJSON" 1s 065ms
And Verify that user is redirected to registration page 169ms
And Register to application "SUPPLIER" 4s 037ms
Then Check if user can be logged "automatyy15q@test.pl" 11s 314ms
After Hooks.cleanUpAfterTest() 1s 570ms
Given Set token of apiUsername "super-admin-piast" 259ms
And Delete invitations with email "automatyy19q@test.pl" 013ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 017ms
And If user is login then logout 514ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 424ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 7s 303ms
And Fill tax id registration page "byJSON" 738ms
And Verify that user is redirected to registration page 168ms
And Register to application "SUPPLIER" 3s 871ms
Then Check if user can be logged "automatyy19q@test.pl" 8s 353ms
After Hooks.cleanUpAfterTest() 1s 329ms
Given Set token of apiUsername "super-admin-lantmannen" 237ms
And Delete invitations with email "automatyy2545q@test.pl" 014ms
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 222ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 875ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 7s 400ms
And Fill tax id registration page "byJSON" 908ms
And Verify that user is redirected to registration page 179ms
And Register to application "SUPPLIER" 3s 860ms
Then Check if user can be logged "automatyy2545q@test.pl" 7s 345ms
After Hooks.cleanUpAfterTest() 1s 313ms
Given Set token of apiUsername "super-admin-keeeper" 221ms
And Delete invitations with email "automatyy287q@test.pl" 014ms
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 232ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 501ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 7s 422ms
And Fill tax id registration page "byJSON" 787ms
And Verify that user is redirected to registration page 206ms
And Register to application "SUPPLIER" 3s 911ms
Then Check if user can be logged "automatyy287q@test.pl" 9s 148ms
After Hooks.cleanUpAfterTest() 1s 354ms
Given Set token of apiUsername "super-admin-alrec" 226ms
And Delete invitations with email "automatyy2871q@test.pl" 013ms
And Change tax id in existing companies with given tax id number "super-admin-alrec" in JSON "CREATE_SUPPLIER_INVITATION" 014ms
And If user is login then logout 500ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 512ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 7s 354ms
And Fill tax id registration page "byJSON" 804ms
And Verify that user is redirected to registration page 175ms
And Register to application "SUPPLIER" 3s 869ms
Then Check if user can be logged "automatyy2871q@test.pl" 7s 057ms
After Hooks.cleanUpAfterTest() 1s 275ms
Given Set token of apiUsername "super-admin-pgf" 237ms
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" 013ms
And If user is login then logout 228ms
And Create invitation by JSON file "super-admin-pgf" for "automatyy3872q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 134ms
When Mock invitation email by admin panel "super-admin-pgf" "automatyy3872q@test.pl" 7s 307ms
And Fill tax id registration page "byJSON" 736ms
And Verify that user is redirected to registration page 159ms
And Register to application "SUPPLIER" 3s 902ms
Then Check if user can be logged "automatyy3872q@test.pl" 6s 679ms
After Hooks.cleanUpAfterTest() 1s 262ms
Given Set token of apiUsername "super-admin-skd" 243ms
And Delete invitations with email "automatyy3874q@test.pl" 013ms
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 229ms
And Create invitation by JSON file "super-admin-skd" for "automatyy3874q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 395ms
When Mock invitation email by admin panel "super-admin-skd" "automatyy3874q@test.pl" 7s 308ms
And Fill tax id registration page "byJSON" 822ms
And Verify that user is redirected to registration page 158ms
And Register to application "SUPPLIER" 3s 862ms
Then Check if user can be logged "automatyy3874q@test.pl" 7s 013ms
After Hooks.cleanUpAfterTest() 1s 277ms
Given Set token of apiUsername "super-admin-hochland" 240ms
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" 014ms
And If user is login then logout 522ms
And Create invitation by JSON file "super-admin-hochland" for "automatyy3875q@test.pl" "CREATE_SUPPLIER_INVITATION" 2s 345ms
When Mock invitation email by admin panel "super-admin-hochland" "automatyy3875q@test.pl" 7s 307ms
And Fill tax id registration page "byJSON" 797ms
And Verify that user is redirected to registration page 179ms
And Register to application "SUPPLIER" 3s 863ms
Then Check if user can be logged "automatyy3875q@test.pl" 11s 696ms
After Hooks.cleanUpAfterTest() 1s 363ms
Given Set token of apiUsername "super-admin-piast" 237ms
And Delete invitations with email "automaty31415@test.pl" 014ms
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 239ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 599ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 413ms
And Fill tax id registration page "byJSON" 829ms
And Register to application "SUPPLIER" 3s 929ms
And Wait "5" seconds 5s
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 6s 352ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 251ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 1s 062ms
After Hooks.cleanUpAfterTest() 1s 381ms
Given Set token of apiUsername "super-admin-lantmannen" 233ms
And Delete invitations with email "automaty27182@test.pl" 015ms
And Change tax id in existing companies with given tax id number "super-admin-lantmannen" in JSON "CREATE_SUPPLIER_INVITATION" 014ms
And If user is login then logout 518ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 478ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 7s 390ms
And Fill tax id registration page "byJSON" 944ms
And Register to application "SUPPLIER" 3s 949ms
And Wait "5" seconds 5s
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 4s 773ms
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 7s 311ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 840ms
After Hooks.cleanUpAfterTest() 1s 270ms
Given Set token of apiUsername "super-admin-keeeper" 245ms
And Delete invitations with email "automaty6022@test.pl" 013ms
And Change tax id in existing companies with given tax id number "super-admin-keeeper" in JSON "CREATE_SUPPLIER_INVITATION" 018ms
And If user is login then logout 259ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 598ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 7s 261ms
And Fill tax id registration page "byJSON" 902ms
And Register to application "SUPPLIER" 3s 951ms
And Wait "5" seconds 5s
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 5s 749ms
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 7s 262ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 1s 051ms
After Hooks.cleanUpAfterTest() 1s 402ms
Given Set token of apiUsername "super-admin-skz" 225ms
And Delete invitations with email "automaty6666@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 250ms
And Create invitation by JSON file "super-admin-skz" for "automaty6666@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 709ms
When Mock invitation email by admin panel "super-admin-skz" "automaty6666@test.pl" 7s 305ms
And Fill tax id registration page "byJSON" 847ms
And Register to application "SUPPLIER" 3s 948ms
And Wait "5" seconds 5s
And Login as "automaty6666@test.pl" and set token of apiUsername "super-admin-skz" 8s 169ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty6666@test.pl" 7s 195ms
And Verify that user is redirected to invitation page "automaty6666@test.pl" 1s 003ms
After Hooks.cleanUpAfterTest() 1s 363ms
Given Set token of apiUsername "super-admin-alrec" 230ms
And Delete invitations with email "automaty2871q@test.pl" 012ms
And Change tax id in existing companies with given tax id number "super-admin-alrec" in JSON "CREATE_SUPPLIER_INVITATION" 012ms
And If user is login then logout 250ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 538ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 7s 398ms
And Fill tax id registration page "byJSON" 854ms
And Register to application "SUPPLIER" 3s 987ms
And Wait "5" seconds 5s
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 4s 950ms
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 7s 284ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 843ms
After Hooks.cleanUpAfterTest() 1s 352ms
Given Set token of apiUsername "super-admin-skz" 235ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 544ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 29s 394ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 238ms
Given Set token of apiUsername "super-admin-lantmannen" 244ms
And Delete invitations with email "apolloautomattest@gmail.com" 015ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 537ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 32s 018ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 171ms
Given Set token of apiUsername "super-admin-keeeper" 239ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 818ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 44s 596ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 174ms
Given Set token of apiUsername "super-admin-adama" 247ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 442ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 463ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 181ms
Given Set token of apiUsername "super-admin-piast" 227ms
And Delete invitations with email "apolloautomattest@gmail.com" 014ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 397ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 274ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 264ms
Given Set token of apiUsername "super-admin-alrec" 234ms
And Delete invitations with email "apolloautomattest@gmail.com" 014ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 927ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 44s 593ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 372ms
Given Set token of apiUsername "super-admin-sempertrans" 249ms
And Delete invitations with email "apolloautomattest@gmail.com" 015ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 163ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 44s 095ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 271ms
Scenario Outline Check if user has accepted invitation from principal after accepting invitation by another user from company
Steps
Given Set token of apiUsername "super-admin-farmacol" 242ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 2s 319ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 071ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@506c68ee
	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:85)
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 274ms
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 769ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 6s 221ms
And Go to "USERS_TAB" 3s 192ms
And Find user "automaty1591qa@test.pl" 17s 505ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//./ancestor::tr//td[@data-field-name='edit']//a"}
  (Session info: headless chrome=91.0.4472.114)
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.lTPSR1}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: f758a2f28e68e2c4d26d83f38049210a
*** Element info: {Using=xpath, value=//./ancestor::tr//td[@data-field-name='edit']//a}
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:179)
	at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:255)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:175)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:32)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:158)
	at ✽.Find user "automaty1591qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:105)
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
After Hooks.cleanUpAfterTest() 5s 565ms
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 475ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 4s 123ms
And Go to "USERS_TAB" 2s 850ms
And Find user "automaty1231qa@test.pl" 17s 817ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//./ancestor::tr//td[@data-field-name='edit']//a"}
  (Session info: headless chrome=91.0.4472.114)
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.lTPSR1}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: f758a2f28e68e2c4d26d83f38049210a
*** Element info: {Using=xpath, value=//./ancestor::tr//td[@data-field-name='edit']//a}
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:179)
	at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:255)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:175)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:32)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:158)
	at ✽.Find user "automaty1231qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:105)
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
After Hooks.cleanUpAfterTest() 3s 643ms
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 752ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 3s 934ms
And Go to "USERS_TAB" 3s 004ms
And Find user "automaty9231qa@test.pl" 17s 780ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//./ancestor::tr//td[@data-field-name='edit']//a"}
  (Session info: headless chrome=91.0.4472.114)
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.lTPSR1}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: f758a2f28e68e2c4d26d83f38049210a
*** Element info: {Using=xpath, value=//./ancestor::tr//td[@data-field-name='edit']//a}
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:179)
	at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:255)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:175)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:32)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:158)
	at ✽.Find user "automaty9231qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:105)
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
After Hooks.cleanUpAfterTest() 4s 651ms
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 7s 023ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 5s 134ms
And Go to "USERS_TAB" 2s 859ms
And Find user "automaty7221qa@test.pl" 17s 754ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//./ancestor::tr//td[@data-field-name='edit']//a"}
  (Session info: headless chrome=91.0.4472.114)
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.lTPSR1}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: f758a2f28e68e2c4d26d83f38049210a
*** Element info: {Using=xpath, value=//./ancestor::tr//td[@data-field-name='edit']//a}
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:179)
	at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:255)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:175)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:32)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:158)
	at ✽.Find user "automaty7221qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:105)
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
After Hooks.cleanUpAfterTest() 6s 323ms
Given Set token of apiUsername "super-admin-piast" 238ms
And Delete invitations with email "automaty31415@test.pl" 012ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 010ms
And If user is login then logout 267ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 422ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 243ms
And Verify that user is redirected to registration page 286ms
And Fill tax id registration page "byJSON" 538ms
And Register to application "SUPPLIER" 3s 966ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 6s 221ms
When Go to "INVITATIONS_TAB" 484ms
Then Go to "ACCEPTED_TAB" invitation status tab 228ms
And Invitation is displayed on list "automaty31415@test.pl" 447ms
After Hooks.cleanUpAfterTest() 4s 562ms
Given Set token of apiUsername "super-admin-piast" 224ms
And Delete invitations with email "automaty31415@test.pl" 016ms
And If user is login then logout 245ms
Given Set token of apiUsername "super-admin-piast" 252ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 142ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 136ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 387ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 659ms
Then Go to "INVITATIONS_TAB" 469ms
And Go to "EXPIRED_TAB" invitation status tab 289ms
Then Invitation is displayed on list "automaty31415@test.pl" 417ms
After Hooks.deleteInvitationAfterTest() 142ms
After Hooks.rollbackSettings() 121ms
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 226ms
And Delete invitations with email "automaty31415@test.pl" 012ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 1s 124ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 410ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@31fa7d15
	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:174)
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:245)
	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() 903ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 361ms
And Delete invitations with email "automatyy43@test.pl" 013ms
When Go to "INVITATIONS_TAB" 481ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 2s 434ms
Then Check content of message about invitation "GUSAlert" 1s 383ms
And If user is login then logout 519ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 7s 190ms
And Verify that user is redirected to registration page 429ms
And Fill tax id registration page "notByJSON" 571ms
Then Verify that user is redirected to registration page 145ms
And Check if data from GUS are automatically completed 2s 237ms
After Hooks.deleteInvitationAfterTest() 024ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 452ms
And Delete invitations with email "automatyy45@test.pl" 013ms
When Go to "INVITATIONS_TAB" 496ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 2s 330ms
Then Check content of message about invitation "GUSAlert" 1s 038ms
And If user is login then logout 229ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 7s 231ms
And Verify that user is redirected to registration page 350ms
And Fill tax id registration page "notByJSON" 577ms
Then Verify that user is redirected to registration page 161ms
And Check if data from GUS are automatically completed 2s 237ms
After Hooks.deleteInvitationAfterTest() 024ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 422ms
And Delete invitations with email "automatyy46@test.pl" 013ms
When Go to "INVITATIONS_TAB" 462ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 2s 381ms
Then Check content of message about invitation "GUSAlert" 1s 225ms
And If user is login then logout 242ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 7s 285ms
And Verify that user is redirected to registration page 438ms
And Fill tax id registration page "notByJSON" 551ms
Then Verify that user is redirected to registration page 154ms
And Check if data from GUS are automatically completed 2s 230ms
After Hooks.deleteInvitationAfterTest() 023ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 756ms
And Delete invitations with email "automatyy47@test.pl" 017ms
When Go to "INVITATIONS_TAB" 526ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 2s 533ms
Then Check content of message about invitation "GUSAlert" 1s 864ms
And If user is login then logout 231ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 7s 406ms
And Verify that user is redirected to registration page 483ms
And Fill tax id registration page "notByJSON" 620ms
Then Verify that user is redirected to registration page 168ms
And Check if data from GUS are automatically completed 2s 235ms
After Hooks.deleteInvitationAfterTest() 025ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 469ms
And Delete invitations with email "automatyy48@test.pl" 015ms
When Go to "INVITATIONS_TAB" 454ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 2s 450ms
Then Check content of message about invitation "GUSAlert" 2s 020ms
And If user is login then logout 244ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 7s 285ms
And Verify that user is redirected to registration page 550ms
And Fill tax id registration page "notByJSON" 531ms
Then Verify that user is redirected to registration page 176ms
And Check if data from GUS are automatically completed 2s 242ms
After Hooks.deleteInvitationAfterTest() 025ms
Given Set token of apiUsername "super-admin-piast" 345ms
And Delete invitations with email "automatyy99@test.pl" 010ms
And If user is login then logout 15s 067ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 382ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 7s 438ms
And Verify that user is redirected to registration page 355ms
And Fill tax id registration page "notbyJSON" 529ms
Then Check if non-compliant NIP message is displayed 2s 074ms
After Hooks.deleteInvitationAfterTest() 147ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 372ms
When Go to "INVITATIONS_TAB" 467ms
And Go to create invitation form 221ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 1s 679ms
Then Check if company existed in apollo is suggest correctly 972ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 362ms
When Go to "INVITATIONS_TAB" 446ms
And Go to create invitation form 194ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" "null" 1s 716ms
Then Check if company existed in apollo is suggest correctly 214ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 345ms
When Go to "INVITATIONS_TAB" 435ms
And Go to create invitation form 198ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 1s 769ms
Then Check if company existed in apollo is suggest correctly 217ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 300ms
And Delete invitations with email "automatyy3333@test.pl" 015ms
When Go to "INVITATIONS_TAB" 442ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 2s 395ms
Then Check content of message about invitation "GUSAlert" 1s 810ms
And If user is login then logout 244ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 7s 290ms
And Fill tax id registration page "notByJSON" 695ms
And Register to application "CARRIER" 3s 723ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 408ms
And Go to "COMPANIES_TAB" 1s 291ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 873ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 314ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 9s 071ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 6s 366ms
And Delete invitations with email "automatyy3338@test.pl" 020ms
When Go to "INVITATIONS_TAB" 465ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 2s 418ms
Then Check content of message about invitation "GUSAlert" 1s 033ms
And If user is login then logout 228ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 7s 586ms
And Fill tax id registration page "notByJSON" 909ms
And Register to application "CARRIER" 3s 574ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 2s 587ms
And Go to "COMPANIES_TAB" 1s 576ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 919ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 1s 621ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 5s 589ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 8s 055ms
And Delete invitations with email "aaaa@keeeper.pl" 013ms
When Go to "INVITATIONS_TAB" 464ms
And Go to create invitation form 235ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 081ms
Then Check if NIP is not required to inviting to your company 30s 066ms
When Send invitation 167ms
Then Create invitation success alert is displayed 1s 119ms
And Invitation is displayed on list "aaaa@keeeper.pl" 744ms
After Hooks.deleteInvitationAfterTest() 177ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 9s 695ms
And Delete invitations with email "aaaa@neuca.pl" 017ms
When Go to "INVITATIONS_TAB" 447ms
And Go to create invitation form 201ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 098ms
Then Check if NIP is not required to inviting to your company 30s 141ms
When Send invitation 182ms
Then Create invitation success alert is displayed 1s 730ms
And Invitation is displayed on list "aaaa@neuca.pl" 709ms
After Hooks.deleteInvitationAfterTest() 156ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 9s 166ms
And Delete invitations with email "aaaa@farmacol.com.pl" 014ms
When Go to "INVITATIONS_TAB" 430ms
And Go to create invitation form 208ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 189ms
Then Check if NIP is not required to inviting to your company 30s 106ms
When Send invitation 182ms
Then Create invitation success alert is displayed 2s 004ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 709ms
After Hooks.deleteInvitationAfterTest() 232ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 580ms
And Delete invitations with email "aaaa@keeeper.pl" 013ms
When Go to "INVITATIONS_TAB" 445ms
And Go to create invitation form 228ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 073ms
When Send invitation 145ms
Then Create invitation success alert is displayed 1s 056ms
And Check content of message about invitation "ownCompany" 193ms
And Invitation is displayed on list "aaaa@keeeper.pl" 532ms
After Hooks.deleteInvitationAfterTest() 139ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 265ms
And Delete invitations with email "aaaa@neuca.pl" 014ms
When Go to "INVITATIONS_TAB" 445ms
And Go to create invitation form 198ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 072ms
When Send invitation 147ms
Then Create invitation success alert is displayed 1s 624ms
And Check content of message about invitation "ownCompany" 144ms
And Invitation is displayed on list "aaaa@neuca.pl" 536ms
After Hooks.deleteInvitationAfterTest() 156ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 354ms
And Delete invitations with email "aaaa@farmacol.com.pl" 015ms
When Go to "INVITATIONS_TAB" 445ms
And Go to create invitation form 197ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 231ms
When Send invitation 158ms
Then Create invitation success alert is displayed 1s 898ms
And Check content of message about invitation "ownCompany" 142ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 531ms
After Hooks.deleteInvitationAfterTest() 134ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 376ms
And Delete invitations with email "abc@keeeper.pl" 014ms
When Go to "INVITATIONS_TAB" 454ms
And Go to create invitation form 203ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 1s 047ms
When Send invitation 155ms
Then Verify that wrong mail domain alert is displayed 144ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 318ms
And Send invitation 123ms
Then Create invitation success alert is displayed 1s 038ms
And Check content of message about invitation "ownCompany" 146ms
And Invitation is displayed on list "abc@keeeper.pl" 512ms
After Hooks.deleteInvitationAfterTest() 172ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 248ms
And Delete invitations with email "abcd@neuca.pl" 018ms
When Go to "INVITATIONS_TAB" 472ms
And Go to create invitation form 234ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 1s 215ms
When Send invitation 175ms
Then Verify that wrong mail domain alert is displayed 155ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 351ms
And Send invitation 136ms
Then Create invitation success alert is displayed 1s 680ms
And Check content of message about invitation "ownCompany" 135ms
And Invitation is displayed on list "abcd@neuca.pl" 549ms
After Hooks.deleteInvitationAfterTest() 169ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 502ms
And Delete invitations with email "abcde@farmacol.com.pl" 013ms
When Go to "INVITATIONS_TAB" 482ms
And Go to create invitation form 211ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 1s 137ms
When Send invitation 149ms
Then Verify that wrong mail domain alert is displayed 150ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 382ms
And Send invitation 138ms
Then Create invitation success alert is displayed 1s 881ms
And Check content of message about invitation "ownCompany" 138ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 478ms
After Hooks.deleteInvitationAfterTest() 131ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 6s 974ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 459ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 407ms
Then Check content of message about invitation "incompatibleNIP" 366ms
After Hooks.deleteInvitationAfterTest() 025ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 5s 205ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 016ms
When Go to "INVITATIONS_TAB" 455ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 389ms
Then Check content of message about invitation "incompatibleNIP" 282ms
After Hooks.deleteInvitationAfterTest() 025ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 652ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 015ms
When Go to "INVITATIONS_TAB" 441ms
And Go to create invitation form 191ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 155ms
Then Check if company existed in apollo is suggest correctly 140ms
When Send invitation 177ms
Then Check content of message about invitation "incompatibleNIP" 416ms
After Hooks.deleteInvitationAfterTest() 029ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 241ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 433ms
And Go to create invitation form 209ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 114ms
Then Check if company existed in apollo is suggest correctly 135ms
When Send invitation 135ms
Then Check content of message about invitation "incompatibleNIP" 335ms
After Hooks.deleteInvitationAfterTest() 021ms
Given Set token of apiUsername "super-admin-alrec" 238ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 664ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 227ms
And Go to "INVITATIONS_TAB" 433ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 433ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 101ms
After Hooks.deleteInvitationAfterTest() 024ms
After Hooks.cleanUserDetailsAfterTest() 1s 269ms
Given Login as "super-admin-farmacol" and set token of apiUsername "super-admin-farmacol" 8s 577ms
When Create company "Farmacol-NEU" with given nip "DE" "12344321123" "Dostawca \ Odbiorca" 5s 468ms
And If user is login then logout 240ms
And Login as "super-admin-neuca" 9s 301ms
And Go to "INVITATIONS_TAB" 460ms
And Create invitation with given nip "SUPPLIER" "SUPPLIER" "farmacol-neu@qp.pl" "DE" "12344321123" 2s 488ms
And If user is login then logout 611ms
And Mock invitation email by admin panel "super-admin-neuca" "farmacol-neu@qp.pl" 7s 325ms
And Register to application "SUPPLIER" 18s 991ms
And Wait "4" seconds 4s
And Login as "farmacol-neu@qp.pl" 7s 944ms
And User is successfully logged 036ms
After Hooks.deleteCompanyAfterTest() 490ms
After Hooks.deleteInvitationAfterTest() 029ms