Project Number Date
ApolloFullRunnerReport develop.308 17 lut 2021, 05:08

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteAnnouncementAfterTest 55 1 5 0 0 61 5 1 6 3m 1s 353ms Failed
View Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 109ms
When Go to "ANNOUNCEMENTS_TAB" 100ms
And Go to manage announcements tab 116ms
And Go to add new announcement form 165ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 356ms
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 777ms
After Hooks.deleteAnnouncementAfterTest() 198ms
View Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 834ms
When Go to "ANNOUNCEMENTS_TAB" 087ms
And Go to manage announcements tab 099ms
And Go to add new announcement form 150ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 308ms
Then Login as "neuca-guard" 1s 542ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 043ms
Then Login as "neuca-admin" 2s 903ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 15s 042ms
After Hooks.deleteAnnouncementAfterTest() 071ms
View Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 3s 182ms
When Go to "ANNOUNCEMENTS_TAB" 080ms
And Go to manage announcements tab 088ms
And Go to add new announcement form 142ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 292ms
Then Login as "neuca-observer" 2s 310ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 045ms
Then Login as "neuca-guard" 1s 780ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 15s 030ms
After Hooks.deleteAnnouncementAfterTest() 198ms
View Feature Announcements
Given Set token of apiUsername "super-admin-neuca" 093ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 135ms
Then Login as "neuca-warehouseman" 1s 643ms
And Verify that announcement tab is open 023ms
And Verify by ID from API that announcement is visible 136ms
Then Check if announcement is unwrapping correctly 3s 259ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 092ms
Given Login as "neuca-admin" 1s 550ms
And Go to manage announcements tab 077ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 18s 347ms
Then Login as "neuca-warehouseman" 1s 580ms
And Verify by ID from API that announcement is visible 111ms
Then Check if announcement is unwrapping correctly 3s 258ms
And Check that announcement has an edit author 162ms
And Check if announcement content is edit correctly "*jednak podwyżek nie będzie - hue hue" 064ms
After Hooks.deleteAnnouncementAfterTest() 123ms
View Feature Announcements
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 517ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 145ms
Then Login as "neuca-warehouseman" 1s 513ms
And Verify by ID from API that announcement is visible 085ms
Then Check if announcement is wrap 034ms
Then Check if announcement has a red mark "announcementOnTheTop" 30s 123ms
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() 120ms
View Feature Announcements
Given Set token of apiUsername "super-admin-neuca" 096ms
And Login as "neuca-warehouseman" 1s 552ms
Then Check counter of unread announcements 30s 068ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 176ms
When Refresh page 2s 183ms
Then Verify that announcement tab is open 075ms
And Check if the number of unread announcement is higher by one 076ms
And Check if announcement is unwrapping correctly 3s 254ms
When Refresh page 2s 117ms
And Check if the number of unread announcements is the same as at the beginning 30s 109ms
After Hooks.deleteAnnouncementAfterTest() 125ms