Project Number Date
ApolloFullRunnerReport after_release_3_6_0.318 24 lut 2021, 23:40

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 4s 515ms Failed
Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 087ms
When Go to "ANNOUNCEMENTS_TAB" 100ms
And Go to manage announcements tab 117ms
And Go to add new announcement form 165ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 370ms
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 368ms
After Hooks.deleteAnnouncementAfterTest() 160ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 752ms
When Go to "ANNOUNCEMENTS_TAB" 137ms
And Go to manage announcements tab 086ms
And Go to add new announcement form 143ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 275ms
Then Login as "neuca-guard" 2s 426ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 040ms
Then Login as "neuca-admin" 2s 287ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 15s 057ms
After Hooks.deleteAnnouncementAfterTest() 067ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 306ms
When Go to "ANNOUNCEMENTS_TAB" 086ms
And Go to manage announcements tab 114ms
And Go to add new announcement form 165ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 344ms
Then Login as "neuca-observer" 2s 163ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 045ms
Then Login as "neuca-guard" 1s 704ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 15s 055ms
After Hooks.deleteAnnouncementAfterTest() 221ms
Given Login as "neuca-admin" 1s 692ms
Then Verify that default startup tab is "ANNOUNCEMENTS_TAB" 019ms
Given Login as "hochland-admin" 1s 292ms
Then Verify that default startup tab is "TRANSPORT_TABLE" 033ms
Given Set token of apiUsername "super-admin-neuca" 088ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 143ms
Then Login as "neuca-warehouseman" 1s 691ms
And Verify that announcement tab is open 025ms
And Verify by ID from API that announcement is visible 117ms
Then Check if announcement is unwrapping correctly 3s 254ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 113ms
Given Login as "neuca-admin" 1s 626ms
And Go to manage announcements tab 102ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 18s 266ms
Then Login as "neuca-warehouseman" 1s 613ms
And Verify by ID from API that announcement is visible 115ms
Then Check if announcement is unwrapping correctly 3s 261ms
And Check that announcement has an edit author 151ms
And Check if announcement content is edit correctly "*jednak podwyżek nie będzie - hue hue" 049ms
After Hooks.deleteAnnouncementAfterTest() 097ms
Scenario Outline Check if marking unread advertisements is working correctly
Steps
Given Set token of apiUsername "super-admin-neuca" 095ms
And Login as "neuca-admin" 1s 575ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 121ms
Then Login as "neuca-warehouseman" 1s 481ms
And Verify by ID from API that announcement is visible 091ms
Then Check if announcement is wrap 032ms
Then Check if announcement has a red mark "announcementOnTheTop" 30s 087ms
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() 137ms
Given Set token of apiUsername "super-admin-neuca" 092ms
And Login as "neuca-warehouseman" 1s 782ms
Then Check counter of unread announcements 30s 066ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 166ms
When Refresh page 2s 163ms
Then Verify that announcement tab is open 108ms
And Check if the number of unread announcement is higher by one 080ms
And Check if announcement is unwrapping correctly 3s 271ms
When Refresh page 2s 123ms
And Check if the number of unread announcements is the same as at the beginning 30s 111ms
After Hooks.deleteAnnouncementAfterTest() 133ms