Logo: Relish

  1. Sign in

Project: Vmost 3

  • Change version

    1. 3
    2. 2
    3. 1

Tasks

Tasks are the most granualar object within tactics, but they can also live alone

Background
Given
there is a User
And
there is another User
And
the User has logged in with the Campaign "testdata/vmost-2.json" uploaded and selected
And
the Campaign "testdata/vmost-3.json" is uploaded with basedoc
And
she has the tasks:
name user path description completed
Task 1 vicky /missions/0/objectives/0/strategies/0/tactics/0 Do this first 1 Jul 2014
Task 2 vicky /missions/0/objectives/0/strategies/0/tactics/0 Then this
Task 3 veronica /missions/0/objectives/0/strategies/0/tactics/0 Finally this
Task 4 vicky /missions/0/objectives/0/strategies/1/tactics/1 Do this first
Task 5 veronica /missions/0/objectives/0/strategies/1/tactics/1 Then this
Task 6 veronica /missions/0/objectives/0/strategies/1/tactics/1 Finally this
And
the DB is new
And
the Dashboard page is shown
Scenarios
  • @javascript
Tactics with tasks show correctly in the plan when a strategy is focused
Given
she navigates to "/objective"
When
the Objective page is shown
When
she types ctrl + 2
Then
eventually the Task panel 1 is shown
And
eventually the Task panel 1 has 3 tasks
And
eventually the Task panel 2 is shown
And
eventually the Task panel 3 is shown
  • @javascript
A new task can be created
Given
she navigates to "/objective"
When
the Objective page is shown
And
she types ctrl + 2
And
eventually the Plan has a selection
When
she types ctrlA
And
a modal dialog appears
And
she enters the name "A new task"
And
she clicks Ok in dialog
Then
a task named "A new task" exists in the DB amongst 7 tasks
  • @javascript
A new task can be edited
Given
she navigates to "/objective"
When
the Objective page is shown
And
she types ctrl + 5
And
eventually the Plan has a selection
And
eventually the Task panel 1 has 3 tasks
When
she types ctrl + 1
And
eventually the Task panel 1 has a selection
And
she types ctrlO
And
a modal dialog appears
And
she enters the name "A renamed task"
And
she clicks Ok in dialog
Then
eventually a task named "A renamed task" exists in the DB
  • @javascript
A new task can be deleted
Given
she navigates to "/objective"
When
the Objective page is shown
And
she types ctrl + 5
And
eventually the Plan has a selection
And
eventually the Task panel 1 has 3 tasks
When
she types ctrl + 1
And
eventually the Task panel 1 has a selection
And
she types ctrlD
And
she accepts the alert
Then
eventually there are 5 tasks in the DB

Last published about 5 years ago by Paul Hamilton.