Skip to content

Abstract Scenarios

Ivan Hristov edited this page Mar 14, 2020 · 3 revisions
Event ops scenarios
Given that I’m into GEM I don't have events in my story When I try to create one Then I'm prompted to create an initial event
Given that I’m into GEM and onto event N When I click on add new event Then new event is added after event N
Given that I’m into GEM and onto event N When I edit this event and update it Then event N is updated in the timeline
Given that I’m into GEM and onto event N When I click on delete this event Then event N is deleted
Given that I’m into GEM and onto Initial event When I click on delete this event Then I cannot delete Initial event
Given that I'm into GEM and onto event N When I drag event N right after event D Then event N should be placed on position D+1
Given that I’m in GEM When I drag slider handle Then the state changes according to the selected event
Given that I’m in GEM When I drag slider handle Then the currently selected event changes according to the selected event
Given that I'm in GEM When I click on weenie add button Then a weenie addition panel appears(create one or add already existing one from the story)
Delta scenarios
Given I'm in GEM and on event N When I select event N That I can see delta stack of event N
Given I'm in GEM and on event N When I RU a property of a weenie X Then change will be inserted into the delta
Given I’m in GEM and on event N When I revert a property of a weenie X Then change will be removed from the delta
Given I'm in GEM and on event N When I CRUD a property of a relation between weenie X and weenie Y Then change will be inserted into the delta
Given I'm in GEM and on event N When I revert a property of a relation between weenie X and weenie Y Then change will be removed from the delta
View state scenarios
Given that I’m into GEM When I click onto event N Then I can see state with changes applied till N inclusively
Weenie scenarios
Given that I'm into GEM When I create/delete a new weenie Then a new one is created/deleted
Given that I’m into GEM, on event N, on Weenie K When click on group attaching/detaching field Then I can see available groups and assign a value when attaching one
Given that I’m into GEM, on event N, on Weenie K When I attach/detach a group with value X Then group with value X is attached/detached from weenie K
Relation scenarios
Given that I'm in GEM When I click* on a weenie Then an editable panel with the weenie’s data appears
Given that I'm in GEM When I click* on an relation Then an editable panel with the relation’s data appears
Given that I'm in GEM When I click* on a weenie, and after that on a second one while holding shift* Then a relation creation panel appears for a relation between them
Group scenarios
Given that I’m into GEM When I CRUD a group Then group is CRUDed
Filter scenarios
Given that I’m into graph editing mode, on event N When I filter by group K with value within a given range of values Then only weenies from group K with value from the given range are shown
Given that I’m into graph editing mode, on event N When I filter by group A with null value Then only weenies with no value are shown
Given that I’m into GEM, on event N When applied filter K Then weenies which are shown have their relations between them shown
Authentication and Authorisation scenarios
Given I'm not an authenticated user When I try to visit public page Then I see login and register button
Given I'm not an authenticated user When I try to visit user specific page Then I'm redirected to login
Given I'm not an authenticated user and redirected to login When I authenticate Then App redirects me to the page I was trying to access

Misc

Initial events concept a lot of questions about the story to help us prepare the view (set locations, set names/winnies, set possible relationships, other stuff...)

Think about the protagonist and location groups

Clone this wiki locally