Project Number Date
ApolloFullRunnerReport develop.280 24 sty 2021, 22:08

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteInvitationAfterTest 28 6 7 0 0 41 6 6 12 19m 59s 126ms Failed
View Feature Invitation
Scenario Outline Check if it possible to create invitation
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 28s 665ms
When Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl" 30s 642ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //a[@href = '#/invitations/create'] | //a[@href = '/invitations/create'] (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:160)
	at CucumberTests.BaseTest.goToTab(BaseTest.java:91)
	at CucumberTests.Invitation.InvitationTest.createInvitation(InvitationTest.java:30)
	at ✽.Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl"(file:Features/Atom/Invitations/Invitation.feature:6)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[@href = '#/invitations/create'] | //a[@href = '/invitations/create']
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-128-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:160)
	at CucumberTests.BaseTest.goToTab(BaseTest.java:91)
	at CucumberTests.Invitation.InvitationTest.createInvitation(InvitationTest.java:30)
	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)
Then Create invitation success alert is displayed 000ms
And Invitation is displayed on list "automatyy1@test.pl" 000ms
After Hooks.deleteInvitationAfterTest() 1m 6s 328ms
View Feature Invitation
Scenario Outline Check if it possible to create invitation
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 34s 638ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 24s 608ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//label[@for='invitation-type-select']/following-sibling::div"}
  (Session info: headless chrome=88.0.4324.96)
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-128-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.036sia}, 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.96, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 9f74badf624e7dbd6962c6dfd116fb52
*** Element info: {Using=xpath, value=//label[@for='invitation-type-select']/following-sibling::div}
	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 org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
	at com.sun.proxy.$Proxy24.click(Unknown Source)
	at Pages.BasePage.selectValueFromSelectByOption(BasePage.java:225)
	at Pages.Invitation.InvitationPage.fillForm(InvitationPage.java:50)
	at CucumberTests.Invitation.InvitationTest.createInvitation(InvitationTest.java:33)
	at ✽.Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl"(file:Features/Atom/Invitations/Invitation.feature:6)
Then Create invitation success alert is displayed 000ms
And Invitation is displayed on list "automatyy2@test.pl" 000ms
After Hooks.deleteInvitationAfterTest() 23s 740ms
View Feature Invitation
Scenario Outline Check if it possible to create invitation
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1m 13s 528ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 10s 112ms
Then Create invitation success alert is displayed 15s 043ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Invitation.InvitationTest.createInvitationSuccessAlertIsDisplayed(InvitationTest.java:39)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:7)
And Invitation is displayed on list "automatyy2@test.pl" 000ms
After Hooks.deleteInvitationAfterTest() 18s 830ms
View Feature Invitation
Scenario Outline Check if it possible to create invitation
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 24s 996ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 9s 861ms
Then Create invitation success alert is displayed 15s 023ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Invitation.InvitationTest.createInvitationSuccessAlertIsDisplayed(InvitationTest.java:39)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:7)
And Invitation is displayed on list "automatyy2@test.pl" 000ms
After Hooks.deleteInvitationAfterTest() 18s 987ms
View Feature Invitation
Scenario Outline Check if it possible to create invitation
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 29s 892ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 19s 707ms
Then Create invitation success alert is displayed 15s 057ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Invitation.InvitationTest.createInvitationSuccessAlertIsDisplayed(InvitationTest.java:39)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:7)
And Invitation is displayed on list "automatyy2@test.pl" 000ms
After Hooks.deleteInvitationAfterTest() 8s 979ms
View Feature Invitation
Scenario Outline Check if carrier gets invitation on mail address
Steps
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1m 2s 855ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 3m 17s 074ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Invitations/Invitation.feature:54)
After Hooks.deleteInvitationAfterTest() 5s 745ms
View Feature Invitation
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1m 3s 361ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 595ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 6s 666ms
View Feature Invitation
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 29s 274ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 56s 389ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 4s 972ms
View Feature Invitation
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1m 12s 433ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 866ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 28s 709ms
View Feature Invitation
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1m 17s 490ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 840ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 22s 352ms
View Feature Invitation
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 48s 587ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 49s 397ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 17s 411ms
View Feature Invitation
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 53s 303ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 875ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 24s 119ms