Project Number Date
ApolloFullRunnerReport develop.324 02 mar 2021, 05:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Announcements 65 0 0 0 0 65 8 0 8 3m 21s 398ms Passed
Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 116ms
When Go to "ANNOUNCEMENTS_TAB" 083ms
And Go to manage announcements tab 100ms
And Go to add new announcement form 166ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 351ms
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 355ms
After Hooks.deleteAnnouncementAfterTest() 160ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 384ms
When Go to "ANNOUNCEMENTS_TAB" 077ms
And Go to manage announcements tab 105ms
And Go to add new announcement form 139ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 262ms
Then Login as "neuca-guard" 1s 481ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 041ms
Then Login as "neuca-admin" 1s 916ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 15s 060ms
After Hooks.deleteAnnouncementAfterTest() 063ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 735ms
When Go to "ANNOUNCEMENTS_TAB" 093ms
And Go to manage announcements tab 105ms
And Go to add new announcement form 154ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 317ms
Then Login as "neuca-observer" 1s 594ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 038ms
Then Login as "neuca-guard" 1s 437ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 15s 008ms
After Hooks.deleteAnnouncementAfterTest() 171ms
Given Login as "neuca-admin" 1s 630ms
Then Verify that default startup tab is "ANNOUNCEMENTS_TAB" 016ms
Given Login as "hochland-admin" 1s 248ms
Then Verify that default startup tab is "TRANSPORT_TABLE" 014ms
Given Set token of apiUsername "super-admin-neuca" 110ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 141ms
Then Login as "neuca-warehouseman" 1s 616ms
And Verify that announcement tab is open 020ms
And Verify by ID from API that announcement is visible 109ms
Then Check if announcement is unwrapping correctly 3s 225ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 078ms
Given Login as "neuca-admin" 1s 484ms
And Go to manage announcements tab 093ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 18s 256ms
Then Login as "neuca-warehouseman" 1s 540ms
And Verify by ID from API that announcement is visible 100ms
Then Check if announcement is unwrapping correctly 3s 241ms
And Check that announcement has an edit author 147ms
And Check if announcement content is edit correctly "*jednak podwyżek nie będzie - hue hue" 060ms
After Hooks.deleteAnnouncementAfterTest() 088ms
Given Set token of apiUsername "super-admin-neuca" 088ms
And Login as "neuca-admin" 1s 450ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 109ms
Then Login as "neuca-warehouseman" 1s 611ms
And Verify by ID from API that announcement is visible 078ms
Then Check if announcement is wrap 024ms
Then Check if announcement has a red mark "announcementOnTheTop" 079ms
Then Check if announcement is unwrapping correctly 3s 226ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 079ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementOnTheTop" 30s 174ms
Then Refresh page 2s 163ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementAtTheBottom" 15s 335ms
After Hooks.deleteAnnouncementAfterTest() 130ms
Given Set token of apiUsername "super-admin-neuca" 095ms
And Login as "neuca-warehouseman" 1s 633ms
Then Check counter of unread announcements 30s 109ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 119ms
When Refresh page 2s 165ms
Then Verify that announcement tab is open 044ms
And Check if the number of unread announcement is higher by one 080ms
And Check if announcement is unwrapping correctly 3s 260ms
When Refresh page 2s 119ms
And Check if the number of unread announcements is the same as at the beginning 30s 080ms
After Hooks.deleteAnnouncementAfterTest() 118ms