Project Number Date
ApolloFullRunnerReport develop.329 03 mar 2021, 06:02

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteAnnouncementAfterTest 53 1 7 0 0 61 5 1 6 2m 24s 854ms Failed
View Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 024ms
When Go to "ANNOUNCEMENTS_TAB" 085ms
And Go to manage announcements tab 088ms
And Go to add new announcement form 172ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 333ms
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 417ms
After Hooks.deleteAnnouncementAfterTest() 128ms
View Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 657ms
When Go to "ANNOUNCEMENTS_TAB" 084ms
And Go to manage announcements tab 076ms
And Go to add new announcement form 161ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 282ms
Then Login as "neuca-guard" 1s 668ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 046ms
Then Login as "neuca-admin" 1s 728ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 15s 003ms
After Hooks.deleteAnnouncementAfterTest() 067ms
View Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 964ms
When Go to "ANNOUNCEMENTS_TAB" 092ms
And Go to manage announcements tab 091ms
And Go to add new announcement form 159ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 284ms
Then Login as "neuca-observer" 1s 707ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 035ms
Then Login as "neuca-guard" 1s 595ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 15s 017ms
After Hooks.deleteAnnouncementAfterTest() 169ms
View Feature Announcements
Given Set token of apiUsername "super-admin-neuca" 101ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 127ms
Then Login as "neuca-warehouseman" 1s 607ms
And Verify that announcement tab is open 025ms
And Verify by ID from API that announcement is visible 110ms
Then Check if announcement is unwrapping correctly 3s 215ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 076ms
Given Login as "neuca-admin" 1s 582ms
And Go to manage announcements tab 076ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 18s 171ms
Then Login as "neuca-warehouseman" 1s 601ms
And Verify by ID from API that announcement is visible 084ms
Then Check if announcement is unwrapping correctly 3s 242ms
And Check that announcement has an edit author 140ms
And Check if announcement content is edit correctly "*jednak podwyżek nie będzie - hue hue" 043ms
After Hooks.deleteAnnouncementAfterTest() 121ms
View Feature Announcements
Given Set token of apiUsername "super-admin-neuca" 088ms
And Login as "neuca-admin" 1s 448ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 121ms
Then Login as "neuca-warehouseman" 1s 445ms
And Verify by ID from API that announcement is visible 081ms
Then Check if announcement is wrap 028ms
Then Check if announcement has a red mark "announcementOnTheTop" 059ms
Then Check if announcement is unwrapping correctly 3s 207ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 081ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementOnTheTop" 30s 146ms
Then Refresh page 2s 158ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementAtTheBottom" 15s 318ms
After Hooks.deleteAnnouncementAfterTest() 137ms
View Feature Announcements
Scenario Outline Adding counter of unread announcements
Steps
Given Set token of apiUsername "super-admin-neuca" 096ms
And Login as "neuca-warehouseman" 1s 556ms
Then Check counter of unread announcements 15s 029ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//span[@class='badge count-badge']"}
  (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.24oI5U}, 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: 4689f137e21176f8a706ab67750e7e81
*** Element info: {Using=xpath, value=//span[@class='badge count-badge']}
	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 Pages.Announcements.AnnouncementsPage.getNumberOfUnreadAnnouncements(AnnouncementsPage.java:106)
	at CucumberTests.Announcements.AnnouncementsTest.checkCounterOfUnreadAnnouncements(AnnouncementsTest.java:162)
	at ✽.Check counter of unread announcements(file:Features/Atom/Announcements/Announcements.feature:85)
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 000ms
When Refresh page 000ms
Then Verify that announcement tab is open 000ms
And Check if the number of unread announcement is higher by one 000ms
And Check if announcement is unwrapping correctly 000ms
When Refresh page 000ms
And Check if the number of unread announcements is the same as at the beginning 000ms
After Hooks.deleteAnnouncementAfterTest() 048ms