Project Number Date
ApolloFullRunnerReport develop.313 21 lut 2021, 10:42

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 1s 905ms Failed
Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 108ms
When Go to "ANNOUNCEMENTS_TAB" 098ms
And Go to manage announcements tab 113ms
And Go to add new announcement form 167ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 405ms
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 366ms
After Hooks.deleteAnnouncementAfterTest() 139ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 237ms
When Go to "ANNOUNCEMENTS_TAB" 079ms
And Go to manage announcements tab 101ms
And Go to add new announcement form 153ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 323ms
Then Login as "neuca-guard" 1s 792ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 041ms
Then Login as "neuca-admin" 1s 660ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 15s 020ms
After Hooks.deleteAnnouncementAfterTest() 062ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 747ms
When Go to "ANNOUNCEMENTS_TAB" 082ms
And Go to manage announcements tab 121ms
And Go to add new announcement form 155ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 333ms
Then Login as "neuca-observer" 1s 763ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 041ms
Then Login as "neuca-guard" 1s 655ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 15s 058ms
After Hooks.deleteAnnouncementAfterTest() 181ms
Given Login as "neuca-admin" 1s 750ms
Then Verify that default startup tab is "ANNOUNCEMENTS_TAB" 018ms
Given Login as "hochland-admin" 1s 280ms
Then Verify that default startup tab is "TRANSPORT_TABLE" 017ms
Given Set token of apiUsername "super-admin-neuca" 090ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 105ms
Then Login as "neuca-warehouseman" 1s 625ms
And Verify that announcement tab is open 028ms
And Verify by ID from API that announcement is visible 131ms
Then Check if announcement is unwrapping correctly 3s 249ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 102ms
Given Login as "neuca-admin" 1s 620ms
And Go to manage announcements tab 096ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 18s 317ms
Then Login as "neuca-warehouseman" 1s 721ms
And Verify by ID from API that announcement is visible 123ms
Then Check if announcement is unwrapping correctly 3s 261ms
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" 064ms
After Hooks.deleteAnnouncementAfterTest() 105ms
Scenario Outline Check if marking unread advertisements is working correctly
Steps
Given Set token of apiUsername "super-admin-neuca" 097ms
And Login as "neuca-admin" 1s 601ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 101ms
Then Login as "neuca-warehouseman" 1s 581ms
And Verify by ID from API that announcement is visible 112ms
Then Check if announcement is wrap 022ms
Then Check if announcement has a red mark "announcementOnTheTop" 30s 080ms
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() 094ms
Given Set token of apiUsername "super-admin-neuca" 098ms
And Login as "neuca-warehouseman" 1s 703ms
Then Check counter of unread announcements 30s 081ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 131ms
When Refresh page 2s 202ms
Then Verify that announcement tab is open 133ms
And Check if the number of unread announcement is higher by one 086ms
And Check if announcement is unwrapping correctly 3s 270ms
When Refresh page 2s 127ms
And Check if the number of unread announcements is the same as at the beginning 30s 086ms
After Hooks.deleteAnnouncementAfterTest() 097ms