Project Number Date
ApolloFullRunnerReport after_release_3_8_0.327 09 mar 2021, 17:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 189 5 3 0 0 197 26 5 31 8m 27s 303ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 291ms
When Go to "INVITATIONS_TAB" 314ms
And Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl" 858ms
Then Create invitation success alert is displayed 677ms
And Invitation is displayed on list "automatyy1@test.pl" 219ms
After Hooks.deleteInvitationAfterTest() 047ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 190ms
When Go to "INVITATIONS_TAB" 202ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 507ms
Then Create invitation success alert is displayed 258ms
And Invitation is displayed on list "automatyy2@test.pl" 206ms
After Hooks.deleteInvitationAfterTest() 032ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 048ms
When Go to "INVITATIONS_TAB" 171ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 438ms
Then Create invitation success alert is displayed 201ms
And Invitation is displayed on list "automatyy2@test.pl" 191ms
After Hooks.deleteInvitationAfterTest() 034ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 066ms
When Go to "INVITATIONS_TAB" 185ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 506ms
Then Create invitation success alert is displayed 212ms
And Invitation is displayed on list "automatyy2@test.pl" 203ms
After Hooks.deleteInvitationAfterTest() 033ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 103ms
When Go to "INVITATIONS_TAB" 175ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 497ms
Then Create invitation success alert is displayed 216ms
And Invitation is displayed on list "automatyy2@test.pl" 189ms
After Hooks.deleteInvitationAfterTest() 029ms
Given If user is login then logout 081ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 282ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 3s 644ms
And Verify that user is redirected to registration page 186ms
And Register to application "SUPPLIER" 2s 056ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 271ms
After Hooks.cleanUpAfterTest() 504ms
Given If user is login then logout 062ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 355ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 3s 345ms
And Verify that user is redirected to registration page 152ms
And Register to application "SUPPLIER" 2s 027ms
Then Check if user can be logged "automatyy19q@test.pl" 2s 601ms
After Hooks.cleanUpAfterTest() 380ms
Given If user is login then logout 068ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 277ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 3s 333ms
And Verify that user is redirected to registration page 198ms
And Register to application "SUPPLIER" 1s 966ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 248ms
After Hooks.cleanUpAfterTest() 324ms
Given If user is login then logout 076ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 274ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 3s 381ms
And Verify that user is redirected to registration page 145ms
And Register to application "SUPPLIER" 2s 037ms
Then Check if user can be logged "automatyy287q@test.pl" 2s 501ms
After Hooks.cleanUpAfterTest() 349ms
Given If user is login then logout 078ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 242ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 3s 392ms
And Verify that user is redirected to registration page 147ms
And Register to application "SUPPLIER" 2s 082ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 347ms
After Hooks.cleanUpAfterTest() 368ms
Given If user is login then logout 087ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 297ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 3s 377ms
And Register to application "SUPPLIER" 2s 045ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 2s 116ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 3s 395ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 560ms
After Hooks.cleanUpAfterTest() 373ms
Given If user is login then logout 089ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 245ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 3s 345ms
And Register to application "SUPPLIER" 2s 154ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 1s 632ms
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 3s 366ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 312ms
After Hooks.cleanUpAfterTest() 369ms
Given If user is login then logout 111ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 259ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 3s 392ms
And Register to application "SUPPLIER" 2s 202ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 1s 952ms
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 3s 378ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 340ms
After Hooks.cleanUpAfterTest() 335ms
Given If user is login then logout 105ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 275ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 3s 397ms
And Register to application "SUPPLIER" 2s 200ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 2s 558ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 3s 406ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 390ms
After Hooks.cleanUpAfterTest() 401ms
Given If user is login then logout 111ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 244ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 3s 404ms
And Register to application "SUPPLIER" 2s 175ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 1s 921ms
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 3s 397ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 322ms
After Hooks.cleanUpAfterTest() 392ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 270ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 27s 346ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 032ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 251ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 13s 207ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 026ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 286ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 7s 040ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 032ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 243ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 012ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 060ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 385ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 48s 769ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 049ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 251ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 798ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 037ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 282ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 49s 396ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 037ms
Given Set token of apiUsername "super-admin-farmacol" 090ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 351ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 424ms
And Prepare user "dnfa1-supplier-2" details with all notifications and "automaty214152@test.pl" by JSON file 218ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty214152@test.pl" "CREATE_SUPPLIER_INVITATION" 363ms
When Login as "dnfa1-supplier" and set token of apiUsername "super-admin-farmacol" 2s 772ms
And Go to "INVITATIONS_TAB" 193ms
And Accept invitation 15s 784ms
And If user is login then logout 106ms
And Login as "dnfa1-supplier-2" and set token of apiUsername "super-admin-farmacol" 2s 316ms
And Verify if user has visible "no waiting" invitation 15s 319ms
And Verify if user has visible "accepted" invitation 307ms
And Verify if user can see "Farmacol" on principal switch dropdown 103ms
After Hooks.cleanUserDetailsAfterTest() 271ms
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" 1s 169ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 723ms
And Go to "USERS_TAB" 1s 130ms
And Find user "automaty1591qa@test.pl" 1s 404ms
And Change user details "email" to "apolloautomattest@test.pl" 520ms
And Save user details 542ms
When Go to "INVITATIONS_TAB" 169ms
And Create invitation for "CARRIER" "CARRIER" "automaty1591qa@test.pl" 541ms
Then Verify that invitation can't be sent on already used username 15s 020ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (Session info: headless chrome=88.0.4324.182)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.VrsAKg}, 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=88.0.4324.182, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 45c1be08725a83b295951a89998878c6
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:305)
	at CucumberTests.Invitation.InvitationTest.verifyThatInvitationCantBeSentOnAlreadyUsedUsername(InvitationTest.java:103)
	at ✽.Verify that invitation can't be sent on already used username(file:Features/Atom/Invitations/Invitation.feature:95)
After Hooks.cleanUpAfterTest() 1s 525ms
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" 1s 071ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 615ms
And Go to "USERS_TAB" 1s 030ms
And Find user "automaty1231qa@test.pl" 1s 237ms
And Change user details "email" to "apolloautomattest@test.pl" 311ms
And Save user details 299ms
When Go to "INVITATIONS_TAB" 196ms
And Create invitation for "CARRIER" "CARRIER" "automaty1231qa@test.pl" 541ms
Then Verify that invitation can't be sent on already used username 15s 017ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (Session info: headless chrome=88.0.4324.182)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.VrsAKg}, 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=88.0.4324.182, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 45c1be08725a83b295951a89998878c6
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	at sun.reflect.GeneratedConstructorAccessor195.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.BasePage.getWebElementByXpath(BasePage.java:305)
	at CucumberTests.Invitation.InvitationTest.verifyThatInvitationCantBeSentOnAlreadyUsedUsername(InvitationTest.java:103)
	at ✽.Verify that invitation can't be sent on already used username(file:Features/Atom/Invitations/Invitation.feature:95)
After Hooks.cleanUpAfterTest() 1s 167ms
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" 1s 274ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 641ms
And Go to "USERS_TAB" 952ms
And Find user "automaty9231qa@test.pl" 1s 218ms
And Change user details "email" to "apolloautomattest@test.pl" 274ms
And Save user details 338ms
When Go to "INVITATIONS_TAB" 204ms
And Create invitation for "CARRIER" "CARRIER" "automaty9231qa@test.pl" 523ms
Then Verify that invitation can't be sent on already used username 15s 029ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (Session info: headless chrome=88.0.4324.182)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.VrsAKg}, 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=88.0.4324.182, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 45c1be08725a83b295951a89998878c6
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	at sun.reflect.GeneratedConstructorAccessor195.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.BasePage.getWebElementByXpath(BasePage.java:305)
	at CucumberTests.Invitation.InvitationTest.verifyThatInvitationCantBeSentOnAlreadyUsedUsername(InvitationTest.java:103)
	at ✽.Verify that invitation can't be sent on already used username(file:Features/Atom/Invitations/Invitation.feature:95)
After Hooks.cleanUpAfterTest() 1s 230ms
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" 1s 127ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 809ms
And Go to "USERS_TAB" 1s 098ms
And Find user "automaty7221qa@test.pl" 1s 462ms
And Change user details "email" to "apolloautomattest@test.pl" 328ms
And Save user details 522ms
When Go to "INVITATIONS_TAB" 189ms
And Create invitation for "CARRIER" "CARRIER" "automaty7221qa@test.pl" 562ms
Then Verify that invitation can't be sent on already used username 15s 043ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (Session info: headless chrome=88.0.4324.182)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.VrsAKg}, 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=88.0.4324.182, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 45c1be08725a83b295951a89998878c6
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	at sun.reflect.GeneratedConstructorAccessor195.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.BasePage.getWebElementByXpath(BasePage.java:305)
	at CucumberTests.Invitation.InvitationTest.verifyThatInvitationCantBeSentOnAlreadyUsedUsername(InvitationTest.java:103)
	at ✽.Verify that invitation can't be sent on already used username(file:Features/Atom/Invitations/Invitation.feature:95)
After Hooks.cleanUpAfterTest() 1s 549ms
Scenario Outline Check if possible to create invitation to company by "Invite+" in company tab
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 080ms
And Go to "COMPANIES_TAB" 350ms
Given Create company "Firma Alrec" 1s 437ms
When Go to invite to company tab 30s 629ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //label[@for='invitation-type-select']/following-sibling::div (tried for 30 second(s) with 500 MILLISECONDS interval)
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:159)
	at CucumberTests.Company.CompanyInvitationTest.goToInviteToCompanyTab(CompanyInvitationTest.java:22)
	at ✽.Go to invite to company tab(file:Features/Atom/Invitations/Invitation.feature:108)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //label[@for='invitation-type-select']/following-sibling::div
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:159)
	at CucumberTests.Company.CompanyInvitationTest.goToInviteToCompanyTab(CompanyInvitationTest.java:22)
	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.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	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)
And Create invitation to company for "automaty10@o2.pl" 000ms
Then Create invitation success alert is displayed 000ms
And Invitation is displayed on list "automaty10@o2.pl" 000ms
After Hooks.deleteCompanyAfterTest() 086ms
After Hooks.deleteInvitationAfterTest() 029ms
Given If user is login then logout 093ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 311ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 3s 399ms
And Verify that user is redirected to registration page 169ms
And Register to application "SUPPLIER" 2s 066ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 057ms
When Go to "INVITATIONS_TAB" 204ms
Then Go to "ACCEPTED_TAB" invitation status tab 089ms
And Invitation is displayed on list "automaty31415@test.pl" 141ms
After Hooks.cleanUpAfterTest() 1s 232ms
Given If user is login then logout 084ms
Given Set token of apiUsername "super-admin-piast" 094ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 229ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 191ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 286ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 207ms
Then Go to "INVITATIONS_TAB" 183ms
And Go to "EXPIRED_TAB" invitation status tab 093ms
Then Invitation is displayed on list "automaty31415@test.pl" 150ms
After Hooks.deleteInvitationAfterTest() 035ms
After Hooks.rollbackSettings() 036ms
Given Set token of apiUsername "super-admin-piast" 095ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 160ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 247ms
When Login as "piast-admin" 1s 717ms
Then Go to "INVITATIONS_TAB" 159ms
And Go to invitation details 055ms
Then Reject invitation by button as user 095ms
When If user is login then logout 067ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 1s 987ms
And Go to "INVITATIONS_TAB" 291ms
And Go to "REJECTED_TAB" invitation status tab 102ms
Then Invitation is displayed on list "automaty31415@test.pl" 144ms
After Hooks.deleteInvitationAfterTest() 035ms
After Hooks.cleanUserDetailsAfterTest() 119ms