Project Number Date
ApolloFullRunnerReport develop.298 05 lut 2021, 04:36

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 8s 030ms Failed
Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 072ms
When Go to "ANNOUNCEMENTS_TAB" 080ms
And Go to manage announcements tab 103ms
And Go to add new announcement form 169ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 439ms
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 784ms
After Hooks.deleteAnnouncementAfterTest() 165ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 925ms
When Go to "ANNOUNCEMENTS_TAB" 072ms
And Go to manage announcements tab 085ms
And Go to add new announcement form 145ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 276ms
Then Login as "neuca-guard" 2s 563ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 041ms
Then Login as "neuca-admin" 2s 456ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 15s 046ms
After Hooks.deleteAnnouncementAfterTest() 065ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 623ms
When Go to "ANNOUNCEMENTS_TAB" 105ms
And Go to manage announcements tab 126ms
And Go to add new announcement form 169ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 347ms
Then Login as "neuca-observer" 2s 416ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 048ms
Then Login as "neuca-guard" 2s 010ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 15s 028ms
After Hooks.deleteAnnouncementAfterTest() 220ms
Given Login as "neuca-admin" 1s 921ms
Then Verify that default startup tab is "ANNOUNCEMENTS_TAB" 019ms
Given Login as "hochland-admin" 1s 400ms
Then Verify that default startup tab is "TRANSPORT_TABLE" 035ms
Given Set token of apiUsername "super-admin-neuca" 118ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 211ms
Then Login as "neuca-warehouseman" 1s 760ms
And Verify that announcement tab is open 026ms
And Verify by ID from API that announcement is visible 132ms
Then Check if announcement is unwrapping correctly 3s 257ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 082ms
Given Login as "neuca-admin" 1s 815ms
And Go to manage announcements tab 105ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 18s 276ms
Then Login as "neuca-warehouseman" 1s 770ms
And Verify by ID from API that announcement is visible 125ms
Then Check if announcement is unwrapping correctly 3s 266ms
And Check that announcement has an edit author 178ms
And Check if announcement content is edit correctly "*jednak podwyżek nie będzie - hue hue" 061ms
After Hooks.deleteAnnouncementAfterTest() 108ms
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 724ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 132ms
Then Login as "neuca-warehouseman" 1s 589ms
And Verify by ID from API that announcement is visible 101ms
Then Check if announcement is wrap 036ms
Then Check if announcement has a red mark "announcementOnTheTop" 30s 103ms
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() 109ms
Given Set token of apiUsername "super-admin-neuca" 098ms
And Login as "neuca-warehouseman" 1s 764ms
Then Check counter of unread announcements 30s 105ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 168ms
When Refresh page 2s 171ms
Then Verify that announcement tab is open 330ms
And Check if the number of unread announcement is higher by one 070ms
And Check if announcement is unwrapping correctly 3s 270ms
When Refresh page 2s 277ms
And Check if the number of unread announcements is the same as at the beginning 30s 282ms
After Hooks.deleteAnnouncementAfterTest() 111ms