Project Number Date
ApolloFullRunnerReport develop.309 18 lut 2021, 05:09

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Announcements 59 1 5 0 0 65 7 1 8 3m 6s 456ms Failed
Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 106ms
When Go to "ANNOUNCEMENTS_TAB" 090ms
And Go to manage announcements tab 095ms
And Go to add new announcement form 180ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 390ms
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 785ms
After Hooks.deleteAnnouncementAfterTest() 174ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 916ms
When Go to "ANNOUNCEMENTS_TAB" 094ms
And Go to manage announcements tab 108ms
And Go to add new announcement form 138ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 290ms
Then Login as "neuca-guard" 2s 455ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 040ms
Then Login as "neuca-admin" 2s 551ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 15s 043ms
After Hooks.deleteAnnouncementAfterTest() 066ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 428ms
When Go to "ANNOUNCEMENTS_TAB" 094ms
And Go to manage announcements tab 127ms
And Go to add new announcement form 183ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 340ms
Then Login as "neuca-observer" 2s 132ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 039ms
Then Login as "neuca-guard" 1s 806ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 15s 059ms
After Hooks.deleteAnnouncementAfterTest() 215ms
Given Login as "neuca-admin" 1s 669ms
Then Verify that default startup tab is "ANNOUNCEMENTS_TAB" 023ms
Given Login as "hochland-admin" 1s 285ms
Then Verify that default startup tab is "TRANSPORT_TABLE" 015ms
Given Set token of apiUsername "super-admin-neuca" 093ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 142ms
Then Login as "neuca-warehouseman" 1s 737ms
And Verify that announcement tab is open 024ms
And Verify by ID from API that announcement is visible 106ms
Then Check if announcement is unwrapping correctly 3s 243ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 094ms
Given Login as "neuca-admin" 1s 665ms
And Go to manage announcements tab 108ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 18s 310ms
Then Login as "neuca-warehouseman" 2s 022ms
And Verify by ID from API that announcement is visible 118ms
Then Check if announcement is unwrapping correctly 3s 230ms
And Check that announcement has an edit author 154ms
And Check if announcement content is edit correctly "*jednak podwyżek nie będzie - hue hue" 059ms
After Hooks.deleteAnnouncementAfterTest() 093ms
Scenario Outline Check if marking unread advertisements is working correctly
Steps
Given Set token of apiUsername "super-admin-neuca" 089ms
And Login as "neuca-admin" 1s 543ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 136ms
Then Login as "neuca-warehouseman" 1s 492ms
And Verify by ID from API that announcement is visible 100ms
Then Check if announcement is wrap 030ms
Then Check if announcement has a red mark "announcementOnTheTop" 30s 109ms
java.lang.AssertionError: Wykrzyknik przy ogłoszeniu jest niewidoczny
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Announcements.AnnouncementsTest.checkIfAnnouncementHasARedMark(AnnouncementsTest.java:149)
	at ✽.Check if announcement has a red mark "announcementOnTheTop"(file:Features/Atom/Announcements/Announcements.feature:70)
Then Check if announcement is unwrapping correctly 000ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 000ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementOnTheTop" 000ms
Then Refresh page 000ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementAtTheBottom" 000ms
After Hooks.deleteAnnouncementAfterTest() 131ms
Given Set token of apiUsername "super-admin-neuca" 092ms
And Login as "neuca-warehouseman" 1s 496ms
Then Check counter of unread announcements 30s 098ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 178ms
When Refresh page 2s 174ms
Then Verify that announcement tab is open 034ms
And Check if the number of unread announcement is higher by one 080ms
And Check if announcement is unwrapping correctly 3s 262ms
When Refresh page 2s 149ms
And Check if the number of unread announcements is the same as at the beginning 30s 777ms
After Hooks.deleteAnnouncementAfterTest() 102ms