Given
Set token of apiUsername "super-admin-neuca"
097ms
And
Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca"
125ms
Then
Login as "neuca-warehouseman"
1s 665ms
And
Verify that announcement tab is open
026ms
And
Verify by ID from API that announcement is visible
128ms
Then
Check if announcement is unwrapping correctly
3s 237ms
And
Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly
082ms
Given
Login as "neuca-admin"
1s 863ms
And
Go to manage announcements tab
093ms
And
Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue"
18s 274ms
Then
Login as "neuca-warehouseman"
1s 843ms
And
Verify by ID from API that announcement is visible
119ms
Then
Check if announcement is unwrapping correctly
3s 320ms
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