Project Number Date
ApolloFullRunnerReport develop.326 09 mar 2021, 03:54

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 9m 2s 918ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 204ms
When Go to "INVITATIONS_TAB" 332ms
And Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl" 877ms
Then Create invitation success alert is displayed 596ms
And Invitation is displayed on list "automatyy1@test.pl" 173ms
After Hooks.deleteInvitationAfterTest() 051ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 149ms
When Go to "INVITATIONS_TAB" 179ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 459ms
Then Create invitation success alert is displayed 256ms
And Invitation is displayed on list "automatyy2@test.pl" 179ms
After Hooks.deleteInvitationAfterTest() 028ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 086ms
When Go to "INVITATIONS_TAB" 176ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 443ms
Then Create invitation success alert is displayed 198ms
And Invitation is displayed on list "automatyy2@test.pl" 166ms
After Hooks.deleteInvitationAfterTest() 025ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 014ms
When Go to "INVITATIONS_TAB" 187ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 425ms
Then Create invitation success alert is displayed 261ms
And Invitation is displayed on list "automatyy2@test.pl" 176ms
After Hooks.deleteInvitationAfterTest() 027ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 010ms
When Go to "INVITATIONS_TAB" 191ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 436ms
Then Create invitation success alert is displayed 204ms
And Invitation is displayed on list "automatyy2@test.pl" 169ms
After Hooks.deleteInvitationAfterTest() 025ms
Given If user is login then logout 089ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 266ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 4s 151ms
And Verify that user is redirected to registration page 219ms
And Register to application "SUPPLIER" 1s 780ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 520ms
After Hooks.cleanUpAfterTest() 485ms
Given If user is login then logout 071ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 283ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 3s 251ms
And Verify that user is redirected to registration page 154ms
And Register to application "SUPPLIER" 1s 834ms
Then Check if user can be logged "automatyy19q@test.pl" 2s 689ms
After Hooks.cleanUpAfterTest() 394ms
Given If user is login then logout 067ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 248ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 3s 313ms
And Verify that user is redirected to registration page 189ms
And Register to application "SUPPLIER" 1s 789ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 293ms
After Hooks.cleanUpAfterTest() 307ms
Given If user is login then logout 069ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 258ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 3s 258ms
And Verify that user is redirected to registration page 199ms
And Register to application "SUPPLIER" 1s 901ms
Then Check if user can be logged "automatyy287q@test.pl" 2s 308ms
After Hooks.cleanUpAfterTest() 381ms
Given If user is login then logout 073ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 231ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 3s 226ms
And Verify that user is redirected to registration page 153ms
And Register to application "SUPPLIER" 1s 751ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 472ms
After Hooks.cleanUpAfterTest() 303ms
Given If user is login then logout 075ms
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 259ms
And Register to application "SUPPLIER" 1s 924ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 2s 065ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 3s 201ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 504ms
After Hooks.cleanUpAfterTest() 364ms
Given If user is login then logout 109ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 240ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 3s 262ms
And Register to application "SUPPLIER" 1s 917ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 2s 004ms
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 3s 192ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 297ms
After Hooks.cleanUpAfterTest() 350ms
Given If user is login then logout 086ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 244ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 3s 216ms
And Register to application "SUPPLIER" 1s 897ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 1s 972ms
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 3s 221ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 340ms
After Hooks.cleanUpAfterTest() 347ms
Given If user is login then logout 082ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 246ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 3s 214ms
And Register to application "SUPPLIER" 1s 918ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 1s 907ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 3s 233ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 377ms
After Hooks.cleanUpAfterTest() 464ms
Given If user is login then logout 101ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 261ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 3s 232ms
And Register to application "SUPPLIER" 1s 899ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 1s 948ms
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 3s 201ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 311ms
After Hooks.cleanUpAfterTest() 342ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 254ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 13s 945ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 036ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 258ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 335ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 028ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 426ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 49s 377ms
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" 246ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 55s 876ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 036ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 296ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 24s 920ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 030ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 250ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 570ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 028ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 279ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 353ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 023ms
Given Set token of apiUsername "super-admin-farmacol" 089ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 283ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 380ms
And Prepare user "dnfa1-supplier-2" details with all notifications and "automaty214152@test.pl" by JSON file 205ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty214152@test.pl" "CREATE_SUPPLIER_INVITATION" 331ms
When Login as "dnfa1-supplier" and set token of apiUsername "super-admin-farmacol" 2s 871ms
And Go to "INVITATIONS_TAB" 175ms
And Accept invitation 15s 778ms
And If user is login then logout 089ms
And Login as "dnfa1-supplier-2" and set token of apiUsername "super-admin-farmacol" 2s 333ms
And Verify if user has visible "no waiting" invitation 15s 286ms
And Verify if user has visible "accepted" invitation 319ms
And Verify if user can see "Farmacol" on principal switch dropdown 085ms
After Hooks.cleanUserDetailsAfterTest() 230ms
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 225ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 712ms
And Go to "USERS_TAB" 1s 020ms
And Find user "automaty1591qa@test.pl" 1s 393ms
And Change user details "email" to "apolloautomattest@test.pl" 603ms
And Save user details 487ms
When Go to "INVITATIONS_TAB" 161ms
And Create invitation for "CARRIER" "CARRIER" "automaty1591qa@test.pl" 460ms
Then Verify that invitation can't be sent on already used username 15s 054ms
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.RR2DSL}, 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: 266f32a0015a6459d97ec7248dbe68f9
*** 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 434ms
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" 993ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 544ms
And Go to "USERS_TAB" 1s 003ms
And Find user "automaty1231qa@test.pl" 1s 252ms
And Change user details "email" to "apolloautomattest@test.pl" 311ms
And Save user details 310ms
When Go to "INVITATIONS_TAB" 179ms
And Create invitation for "CARRIER" "CARRIER" "automaty1231qa@test.pl" 432ms
Then Verify that invitation can't be sent on already used username 15s 052ms
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.RR2DSL}, 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: 266f32a0015a6459d97ec7248dbe68f9
*** 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 342ms
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 130ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 649ms
And Go to "USERS_TAB" 989ms
And Find user "automaty9231qa@test.pl" 1s 242ms
And Change user details "email" to "apolloautomattest@test.pl" 260ms
And Save user details 306ms
When Go to "INVITATIONS_TAB" 167ms
And Create invitation for "CARRIER" "CARRIER" "automaty9231qa@test.pl" 464ms
Then Verify that invitation can't be sent on already used username 15s 051ms
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.RR2DSL}, 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: 266f32a0015a6459d97ec7248dbe68f9
*** 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 455ms
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 075ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 769ms
And Go to "USERS_TAB" 1s 032ms
And Find user "automaty7221qa@test.pl" 1s 564ms
And Change user details "email" to "apolloautomattest@test.pl" 346ms
And Save user details 492ms
When Go to "INVITATIONS_TAB" 189ms
And Create invitation for "CARRIER" "CARRIER" "automaty7221qa@test.pl" 497ms
Then Verify that invitation can't be sent on already used username 15s 071ms
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.RR2DSL}, 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: 266f32a0015a6459d97ec7248dbe68f9
*** 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 604ms
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 074ms
And Go to "COMPANIES_TAB" 308ms
Given Create company "Firma Alrec" 1s 232ms
When Go to invite to company tab 30s 619ms
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() 084ms
After Hooks.deleteInvitationAfterTest() 025ms
Given If user is login then logout 087ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 305ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 3s 216ms
And Verify that user is redirected to registration page 165ms
And Register to application "SUPPLIER" 1s 812ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 951ms
When Go to "INVITATIONS_TAB" 166ms
Then Go to "ACCEPTED_TAB" invitation status tab 092ms
And Invitation is displayed on list "automaty31415@test.pl" 136ms
After Hooks.cleanUpAfterTest() 1s 226ms
Given If user is login then logout 084ms
Given Set token of apiUsername "super-admin-piast" 095ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 197ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 235ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 291ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 222ms
Then Go to "INVITATIONS_TAB" 190ms
And Go to "EXPIRED_TAB" invitation status tab 075ms
Then Invitation is displayed on list "automaty31415@test.pl" 113ms
After Hooks.deleteInvitationAfterTest() 029ms
After Hooks.rollbackSettings() 023ms
Given Set token of apiUsername "super-admin-piast" 100ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 189ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 257ms
When Login as "piast-admin" 1s 709ms
Then Go to "INVITATIONS_TAB" 177ms
And Go to invitation details 061ms
Then Reject invitation by button as user 107ms
When If user is login then logout 075ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 2s 009ms
And Go to "INVITATIONS_TAB" 280ms
And Go to "REJECTED_TAB" invitation status tab 083ms
Then Invitation is displayed on list "automaty31415@test.pl" 120ms
After Hooks.deleteInvitationAfterTest() 026ms
After Hooks.cleanUserDetailsAfterTest() 141ms