Project Number Date
ApolloFullRunnerReport master.314 20 lut 2021, 00:05

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 5s 639ms Failed
Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 084ms
When Go to "ANNOUNCEMENTS_TAB" 087ms
And Go to manage announcements tab 103ms
And Go to add new announcement form 164ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 360ms
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 623ms
After Hooks.deleteAnnouncementAfterTest() 171ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 829ms
When Go to "ANNOUNCEMENTS_TAB" 069ms
And Go to manage announcements tab 093ms
And Go to add new announcement form 154ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 326ms
Then Login as "neuca-guard" 2s 640ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 046ms
Then Login as "neuca-admin" 2s 269ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 15s 014ms
After Hooks.deleteAnnouncementAfterTest() 054ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 536ms
When Go to "ANNOUNCEMENTS_TAB" 088ms
And Go to manage announcements tab 091ms
And Go to add new announcement form 160ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 307ms
Then Login as "neuca-observer" 2s 125ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 039ms
Then Login as "neuca-guard" 1s 716ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 15s 012ms
After Hooks.deleteAnnouncementAfterTest() 233ms
Given Login as "neuca-admin" 1s 834ms
Then Verify that default startup tab is "ANNOUNCEMENTS_TAB" 020ms
Given Login as "hochland-admin" 1s 333ms
Then Verify that default startup tab is "TRANSPORT_TABLE" 025ms
Given Set token of apiUsername "super-admin-neuca" 142ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 125ms
Then Login as "neuca-warehouseman" 1s 611ms
And Verify that announcement tab is open 021ms
And Verify by ID from API that announcement is visible 117ms
Then Check if announcement is unwrapping correctly 3s 255ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 102ms
Given Login as "neuca-admin" 1s 743ms
And Go to manage announcements tab 087ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 18s 267ms
Then Login as "neuca-warehouseman" 1s 727ms
And Verify by ID from API that announcement is visible 111ms
Then Check if announcement is unwrapping correctly 3s 261ms
And Check that announcement has an edit author 156ms
And Check if announcement content is edit correctly "*jednak podwyżek nie będzie - hue hue" 061ms
After Hooks.deleteAnnouncementAfterTest() 095ms
Scenario Outline Check if marking unread advertisements is working correctly
Steps
Given Set token of apiUsername "super-admin-neuca" 091ms
And Login as "neuca-admin" 1s 574ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 137ms
Then Login as "neuca-warehouseman" 1s 574ms
And Verify by ID from API that announcement is visible 095ms
Then Check if announcement is wrap 038ms
Then Check if announcement has a red mark "announcementOnTheTop" 30s 155ms
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() 110ms
Given Set token of apiUsername "super-admin-neuca" 098ms
And Login as "neuca-warehouseman" 1s 666ms
Then Check counter of unread announcements 30s 085ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 177ms
When Refresh page 2s 177ms
Then Verify that announcement tab is open 203ms
And Check if the number of unread announcement is higher by one 073ms
And Check if announcement is unwrapping correctly 3s 273ms
When Refresh page 2s 122ms
And Check if the number of unread announcements is the same as at the beginning 30s 143ms
After Hooks.deleteAnnouncementAfterTest() 110ms