Línea 20... |
Línea 20... |
20 |
When I press "Save changes"
|
20 |
When I press "Save changes"
|
21 |
Then I should see "Learning plan created"
|
21 |
Then I should see "Learning plan created"
|
22 |
And I should see "Science plan"
|
22 |
And I should see "Science plan"
|
Línea 23... |
Línea 23... |
23 |
|
23 |
|
24 |
Scenario: Create a learning plan based on template
|
24 |
Scenario: Create a learning plan based on template
|
25 |
Given the following lp "templates" exist:
|
25 |
Given the following "core_competency > templates" exist:
|
26 |
| shortname | description |
|
26 |
| shortname | description |
|
27 |
| Science template | science template description |
|
27 |
| Science template | science template description |
|
28 |
And I am on homepage
|
28 |
And I am on homepage
|
29 |
And I navigate to "Competencies > Learning plan templates" in site administration
|
29 |
And I navigate to "Competencies > Learning plan templates" in site administration
|
30 |
And I click on ".template-userplans" "css_element" in the "Science template" "table_row"
|
30 |
And I click on ".template-userplans" "css_element" in the "Science template" "table_row"
|
Línea 34... |
Línea 34... |
34 |
When I click on "Create learning plans" "button"
|
34 |
When I click on "Create learning plans" "button"
|
35 |
Then I should see "A learning plan was created"
|
35 |
Then I should see "A learning plan was created"
|
36 |
And I should see "Admin User" in the "Science template" "table_row"
|
36 |
And I should see "Admin User" in the "Science template" "table_row"
|
Línea 37... |
Línea 37... |
37 |
|
37 |
|
38 |
Scenario: Create a learning plan from template cohort
|
38 |
Scenario: Create a learning plan from template cohort
|
39 |
Given the following lp "templates" exist:
|
39 |
Given the following "core_competency > templates" exist:
|
40 |
| shortname | description |
|
40 |
| shortname | description |
|
41 |
| Science template cohort | science template description |
|
41 |
| Science template cohort | science template description |
|
42 |
And the following "users" exist:
|
42 |
And the following "users" exist:
|
43 |
| username | firstname | lastname | email |
|
43 |
| username | firstname | lastname | email |
|
44 |
| student-plan1 | Student | 1 | studentplan1@example.com |
|
44 |
| student-plan1 | Student | 1 | studentplan1@example.com |
|
Línea 60... |
Línea 60... |
60 |
And I click on ".template-userplans" "css_element" in the "Science template cohort" "table_row"
|
60 |
And I click on ".template-userplans" "css_element" in the "Science template cohort" "table_row"
|
61 |
And I should see "Student 1"
|
61 |
And I should see "Student 1"
|
62 |
And I should see "Student 2"
|
62 |
And I should see "Student 2"
|
Línea 63... |
Línea 63... |
63 |
|
63 |
|
64 |
Scenario: Read a learning plan
|
64 |
Scenario: Read a learning plan
|
65 |
Given the following lp "plans" exist:
|
65 |
Given the following "core_competency > plans" exist:
|
66 |
| name | user | description |
|
66 |
| name | user | description |
|
67 |
| Science plan Year-1 | admin | science plan description |
|
67 |
| Science plan Year-1 | admin | science plan description |
|
68 |
And I follow "Learning plans"
|
68 |
And I follow "Learning plans"
|
69 |
And I should see "Science plan Year-1"
|
69 |
And I should see "Science plan Year-1"
|
70 |
When I click on "Science plan Year-1" "link"
|
70 |
When I click on "Science plan Year-1" "link"
|
71 |
Then I should see "Science plan Year-1"
|
71 |
Then I should see "Science plan Year-1"
|
Línea 72... |
Línea 72... |
72 |
And I should see "Learning plan competencies"
|
72 |
And I should see "Learning plan competencies"
|
73 |
|
73 |
|
74 |
Scenario: Manage a learning plan competencies
|
74 |
Scenario: Manage a learning plan competencies
|
75 |
Given the following lp "plans" exist:
|
75 |
Given the following "core_competency > plans" exist:
|
76 |
| name | user | description |
|
76 |
| name | user | description |
|
77 |
| Science plan Year-manage | admin | science plan description |
|
77 |
| Science plan Year-manage | admin | science plan description |
|
78 |
And the following lp "frameworks" exist:
|
78 |
And the following "core_competency > frameworks" exist:
|
79 |
| shortname | idnumber |
|
79 |
| shortname | idnumber |
|
80 |
| Framework 1 | sc-y-2 |
|
80 |
| Framework 1 | sc-y-2 |
|
81 |
And the following lp "competencies" exist:
|
81 |
And the following "core_competency > competencies" exist:
|
82 |
| shortname | framework |
|
82 |
| shortname | competencyframework |
|
83 |
| comp1 | sc-y-2 |
|
83 |
| comp1 | sc-y-2 |
|
84 |
| comp2 | sc-y-2 |
|
84 |
| comp2 | sc-y-2 |
|
85 |
And I follow "Learning plans"
|
85 |
And I follow "Learning plans"
|
86 |
And I should see "Science plan Year-manage"
|
86 |
And I should see "Science plan Year-manage"
|
87 |
And I follow "Science plan Year-manage"
|
87 |
And I follow "Science plan Year-manage"
|
Línea 96... |
Línea 96... |
96 |
And I click on "Confirm" "button"
|
96 |
And I click on "Confirm" "button"
|
97 |
And I wait until the page is ready
|
97 |
And I wait until the page is ready
|
98 |
And "comp1" "table_row" should not exist
|
98 |
And "comp1" "table_row" should not exist
|
Línea 99... |
Línea 99... |
99 |
|
99 |
|
100 |
Scenario: Edit a learning plan
|
100 |
Scenario: Edit a learning plan
|
101 |
Given the following lp "plans" exist:
|
101 |
Given the following "core_competency > plans" exist:
|
102 |
| name | user | description |
|
102 |
| name | user | description |
|
103 |
| Science plan Year-2 | admin | science plan description |
|
103 |
| Science plan Year-2 | admin | science plan description |
|
104 |
| Science plan Year-3 | admin | science plan description |
|
104 |
| Science plan Year-3 | admin | science plan description |
|
105 |
And I follow "Learning plans"
|
105 |
And I follow "Learning plans"
|
106 |
And I should see "Science plan Year-2"
|
106 |
And I should see "Science plan Year-2"
|
Línea 111... |
Línea 111... |
111 |
When I press "Save changes"
|
111 |
When I press "Save changes"
|
112 |
Then I should see "Learning plan updated"
|
112 |
Then I should see "Learning plan updated"
|
113 |
And I should see "Science plan Year-3 Edited"
|
113 |
And I should see "Science plan Year-3 Edited"
|
Línea 114... |
Línea 114... |
114 |
|
114 |
|
115 |
Scenario: Delete a learning plan
|
115 |
Scenario: Delete a learning plan
|
116 |
Given the following lp "plans" exist:
|
116 |
Given the following "core_competency > plans" exist:
|
117 |
| name | user | description |
|
117 |
| name | user | description |
|
118 |
| Science plan Year-4 | admin | science plan description |
|
118 |
| Science plan Year-4 | admin | science plan description |
|
119 |
And I follow "Learning plans"
|
119 |
And I follow "Learning plans"
|
120 |
And I should see "Science plan Year-4"
|
120 |
And I should see "Science plan Year-4"
|
121 |
And I click on "Delete" of edit menu in the "Science plan Year-4" row
|
121 |
And I click on "Delete" of edit menu in the "Science plan Year-4" row
|
Línea 128... |
Línea 128... |
128 |
When I click on "Delete" "button" in the "Confirm" "dialogue"
|
128 |
When I click on "Delete" "button" in the "Confirm" "dialogue"
|
129 |
And I wait until the page is ready
|
129 |
And I wait until the page is ready
|
130 |
Then I should not see "Science plan Year-4"
|
130 |
Then I should not see "Science plan Year-4"
|
Línea 131... |
Línea 131... |
131 |
|
131 |
|
132 |
Scenario: See a learning plan from a course
|
132 |
Scenario: See a learning plan from a course
|
133 |
Given the following lp "plans" exist:
|
133 |
Given the following "core_competency > plans" exist:
|
134 |
| name | user | description |
|
134 |
| name | user | description |
|
135 |
| Science plan Year-manage | admin | science plan description |
|
135 |
| Science plan Year-manage | admin | science plan description |
|
136 |
And the following lp "frameworks" exist:
|
136 |
And the following "core_competency > frameworks" exist:
|
137 |
| shortname | idnumber |
|
137 |
| shortname | idnumber |
|
138 |
| Framework 1 | sc-y-2 |
|
138 |
| Framework 1 | sc-y-2 |
|
139 |
And the following lp "competencies" exist:
|
139 |
And the following "core_competency > competencies" exist:
|
140 |
| shortname | framework |
|
140 |
| shortname | competencyframework |
|
141 |
| comp1 | sc-y-2 |
|
141 |
| comp1 | sc-y-2 |
|
142 |
| comp2 | sc-y-2 |
|
142 |
| comp2 | sc-y-2 |
|
143 |
And I follow "Learning plans"
|
143 |
And I follow "Learning plans"
|
144 |
And I should see "Science plan Year-manage"
|
144 |
And I should see "Science plan Year-manage"
|
145 |
And I follow "Science plan Year-manage"
|
145 |
And I follow "Science plan Year-manage"
|
146 |
And I should see "Add competency"
|
146 |
And I should see "Add competency"
|