Project Number Date
ApolloFullRunnerReport develop.349 20 mar 2021, 04:07

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Announcements 47 4 15 0 0 66 4 4 8 2m 22s 369ms Failed
Feature Announcements
Scenario Outline Check if new announcement shows in manage announcements page
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 193ms
When Go to "ANNOUNCEMENTS_TAB" 112ms
And Go to manage announcements tab 090ms
And Go to add new announcement form 160ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 15s 325ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-btn-name='announcement-save']"}
  (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.XY0kU5}, 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: b012a763d9fc5158f1e533702a90fbed
*** Element info: {Using=xpath, value=//button[@data-btn-name='announcement-save']}
	at sun.reflect.GeneratedConstructorAccessor177.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.Announcements.AnnouncementsTest.addNewAnnouncementWithSubjectAndContentForRoleGroups(AnnouncementsTest.java:56)
	at ✽.Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN"(file:Features/Atom/Announcements/Announcements.feature:9)
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 000ms
After Hooks.deleteAnnouncementAfterTest() 063ms
Scenario Outline Check if new announcement is visible to proper people
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 023ms
When Go to "ANNOUNCEMENTS_TAB" 111ms
And Go to manage announcements tab 094ms
And Go to add new announcement form 148ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 15s 267ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-btn-name='announcement-save']"}
  (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.XY0kU5}, 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: b012a763d9fc5158f1e533702a90fbed
*** Element info: {Using=xpath, value=//button[@data-btn-name='announcement-save']}
	at sun.reflect.GeneratedConstructorAccessor177.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.Announcements.AnnouncementsTest.addNewAnnouncementWithSubjectAndContentForRoleGroups(AnnouncementsTest.java:56)
	at ✽.Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD"(file:Features/Atom/Announcements/Announcements.feature:21)
Then Login as "neuca-guard" 000ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 000ms
Then Login as "neuca-admin" 000ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 000ms
After Hooks.deleteAnnouncementAfterTest() 025ms
Scenario Outline Check if new announcement is visible to proper people
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 997ms
When Go to "ANNOUNCEMENTS_TAB" 107ms
And Go to manage announcements tab 084ms
And Go to add new announcement form 141ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 15s 282ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-btn-name='announcement-save']"}
  (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.XY0kU5}, 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: b012a763d9fc5158f1e533702a90fbed
*** Element info: {Using=xpath, value=//button[@data-btn-name='announcement-save']}
	at sun.reflect.GeneratedConstructorAccessor177.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.Announcements.AnnouncementsTest.addNewAnnouncementWithSubjectAndContentForRoleGroups(AnnouncementsTest.java:56)
	at ✽.Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER"(file:Features/Atom/Announcements/Announcements.feature:21)
Then Login as "neuca-observer" 000ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 000ms
Then Login as "neuca-guard" 000ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 000ms
After Hooks.deleteAnnouncementAfterTest() 022ms
Given Login as "neuca-admin" 957ms
Then Verify that default startup tab is "ANNOUNCEMENTS_TAB" 018ms
Given Login as "hochland-admin" 1s 319ms
Then Verify that default startup tab is "TRANSPORT_TABLE" 016ms
Scenario Outline Check if it is possible to edit announcement
Steps
Given Set token of apiUsername "super-admin-neuca" 112ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 532ms
Then Login as "neuca-warehouseman" 2s 881ms
And Verify that announcement tab is open 022ms
And Verify by ID from API that announcement is visible 112ms
And Unwrap announcement 3s 209ms
Then Check if announcement is unwrapping correctly 045ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 087ms
Given Login as "neuca-admin" 3s 294ms
And Go to manage announcements tab 093ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 17s 667ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-btn-name='announcement-save']"}
  (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.XY0kU5}, 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: b012a763d9fc5158f1e533702a90fbed
*** Element info: {Using=xpath, value=//button[@data-btn-name='announcement-save']}
	at sun.reflect.GeneratedConstructorAccessor177.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 Pages.Announcements.AnnouncementsPage.editAnnouncement(AnnouncementsPage.java:91)
	at CucumberTests.Announcements.AnnouncementsTest.editAnnouncementAndChangeContentTo(AnnouncementsTest.java:104)
	at ✽.Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue"(file:Features/Atom/Announcements/Announcements.feature:52)
Then Login as "neuca-warehouseman" 000ms
And Verify by ID from API that announcement is visible 000ms
And Unwrap announcement 000ms
Then Check if announcement is unwrapping correctly 000ms
And Check that announcement has an edit author 000ms
And Check if announcement content is edit correctly "*jednak podwyżek nie będzie - hue hue" 000ms
After Hooks.deleteAnnouncementAfterTest() 141ms
Given Set token of apiUsername "super-admin-neuca" 093ms
And Login as "neuca-admin" 2s 537ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 162ms
Then Login as "neuca-warehouseman" 2s 046ms
And Verify by ID from API that announcement is visible 087ms
And Check if announcement is wrap 032ms
And Check if announcement has a red mark "announcementOnTheTop" 071ms
And Unwrap announcement 3s 196ms
And Check if announcement is unwrapping correctly 064ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 084ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementOnTheTop" 30s 139ms
Then Refresh page 2s 160ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementAtTheBottom" 15s 639ms
After Hooks.deleteAnnouncementAfterTest() 121ms
Given Set token of apiUsername "super-admin-neuca" 100ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 129ms
And Login as "neuca-warehouseman" 1s 945ms
And Check if announcements counter equals "1" 047ms
Then Verify that announcement tab is open 020ms
And Unwrap announcement 3s 210ms
And Check if announcement is unwrapping correctly 059ms
And Check if announcements counter equals "" 026ms
After Hooks.deleteAnnouncementAfterTest() 125ms