| Línea 21... |
Línea 21... |
| 21 |
And I should see "The scale needs to be configured by selecting default and proficient items."
|
21 |
And I should see "The scale needs to be configured by selecting default and proficient items."
|
| 22 |
And "Configure scales" "button" should be visible
|
22 |
And "Configure scales" "button" should be visible
|
| 23 |
And I press "Configure scales"
|
23 |
And I press "Configure scales"
|
| 24 |
And I click on "//input[@data-field='tool_lp_scale_default_1']" "xpath_element"
|
24 |
And I click on "//input[@data-field='tool_lp_scale_default_1']" "xpath_element"
|
| 25 |
And I click on "//input[@data-field='tool_lp_scale_proficient_1']" "xpath_element"
|
25 |
And I click on "//input[@data-field='tool_lp_scale_proficient_1']" "xpath_element"
|
| 26 |
And I click on "//input[@value='Close']" "xpath_element"
|
26 |
And I click on "Save" "button" in the "Default competence scale" "dialogue"
|
| 27 |
When I press "Save changes"
|
27 |
When I press "Save changes"
|
| 28 |
Then I should see "Competency framework created"
|
28 |
Then I should see "Competency framework created"
|
| 29 |
And I should see "Science Year-1"
|
29 |
And I should see "Science Year-1"
|
| Línea 30... |
Línea 30... |
| 30 |
|
30 |
|
| 31 |
Scenario: Read a framework
|
31 |
Scenario: Read a framework
|
| 32 |
Given the following lp "frameworks" exist:
|
32 |
Given the following "core_competency > frameworks" exist:
|
| 33 |
| shortname | idnumber |
|
33 |
| shortname | idnumber |
|
| 34 |
| Science Year-2 | sc-y-2 |
|
34 |
| Science Year-2 | sc-y-2 |
|
| 35 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
35 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
| 36 |
And I should see "Science Year-2"
|
36 |
And I should see "Science Year-2"
|
| 37 |
When I click on "Science Year-2" "link"
|
37 |
When I click on "Science Year-2" "link"
|
| Línea 38... |
Línea 38... |
| 38 |
Then I should see "Science Year-2"
|
38 |
Then I should see "Science Year-2"
|
| 39 |
|
39 |
|
| 40 |
Scenario: Edit a framework
|
40 |
Scenario: Edit a framework
|
| 41 |
Given the following lp "frameworks" exist:
|
41 |
Given the following "core_competency > frameworks" exist:
|
| 42 |
| shortname | idnumber |
|
42 |
| shortname | idnumber |
|
| 43 |
| Science Year-3 | sc-y-3 |
|
43 |
| Science Year-3 | sc-y-3 |
|
| 44 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
44 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
| 45 |
And I should see "Science Year-3"
|
45 |
And I should see "Science Year-3"
|
| 46 |
And I click on "Edit" of edit menu in the "Science Year-3" row
|
46 |
And I click on "Edit" of edit menu in the "Science Year-3" row
|
| Línea 50... |
Línea 50... |
| 50 |
Then I should see "Competency framework updated"
|
50 |
Then I should see "Competency framework updated"
|
| 51 |
And I should see "Science Year-3 Edited"
|
51 |
And I should see "Science Year-3 Edited"
|
| 52 |
And I should see "sc-y-3"
|
52 |
And I should see "sc-y-3"
|
| Línea 53... |
Línea 53... |
| 53 |
|
53 |
|
| 54 |
Scenario: Delete a framework
|
54 |
Scenario: Delete a framework
|
| 55 |
Given the following lp "frameworks" exist:
|
55 |
Given the following "core_competency > frameworks" exist:
|
| 56 |
| shortname | idnumber |
|
56 |
| shortname | idnumber |
|
| 57 |
| Science Year-4 | sc-y-4 |
|
57 |
| Science Year-4 | sc-y-4 |
|
| 58 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
58 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
| 59 |
And I should see "Science Year-4"
|
59 |
And I should see "Science Year-4"
|
| 60 |
And I should see "sc-y-4"
|
60 |
And I should see "sc-y-4"
|
| 61 |
And I click on "Delete" of edit menu in the "Science Year-4" row
|
61 |
And I click on "Delete" of edit menu in the "Science Year-4" row
|
| Línea 68... |
Línea 68... |
| 68 |
When I click on "Delete" "button" in the "Confirm" "dialogue"
|
68 |
When I click on "Delete" "button" in the "Confirm" "dialogue"
|
| 69 |
Then I should not see "Science Year-4"
|
69 |
Then I should not see "Science Year-4"
|
| 70 |
And I should not see "sc-y-4"
|
70 |
And I should not see "sc-y-4"
|
| Línea 71... |
Línea 71... |
| 71 |
|
71 |
|
| 72 |
Scenario: Edit a framework with competencies in user competency
|
72 |
Scenario: Edit a framework with competencies in user competency
|
| 73 |
Given the following lp "frameworks" exist:
|
73 |
Given the following "core_competency > frameworks" exist:
|
| 74 |
| shortname | idnumber |
|
74 |
| shortname | idnumber |
|
| 75 |
| Science Year-5 | sc-y-5 |
|
75 |
| Science Year-5 | sc-y-5 |
|
| 76 |
And the following lp "competencies" exist:
|
76 |
And the following "core_competency > competencies" exist:
|
| 77 |
| shortname | framework |
|
77 |
| shortname | competencyframework | idnumber |
|
| 78 |
| Comp1 | sc-y-5 |
|
78 |
| Comp1 | sc-y-5 | Comp1 |
|
| 79 |
| Comp2 | sc-y-5 |
|
79 |
| Comp2 | sc-y-5 | Comp2 |
|
| 80 |
And the following lp "plans" exist:
|
80 |
And the following "core_competency > plans" exist:
|
| 81 |
| name | user | description |
|
81 |
| name | user | description |
|
| 82 |
| Plan Science-5 | admin | Plan description |
|
82 |
| Plan Science-5 | admin | Plan description |
|
| 83 |
And the following lp "plancompetencies" exist:
|
83 |
And the following "core_competency > plan_competency" exist:
|
| 84 |
| plan | competency |
|
84 |
| plan | competency |
|
| 85 |
| Plan Science-5 | Comp1 |
|
85 |
| Plan Science-5 | Comp1 |
|
| 86 |
| Plan Science-5 | Comp2 |
|
86 |
| Plan Science-5 | Comp2 |
|
| 87 |
And the following lp "usercompetencies" exist:
|
87 |
And the following "core_competency > user_competency" exist:
|
| 88 |
| user | competency |
|
88 |
| user | competency |
|
| 89 |
| admin | Comp1 |
|
89 |
| admin | Comp1 |
|
| 90 |
| admin | Comp2 |
|
90 |
| admin | Comp2 |
|
| 91 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
91 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
| 92 |
And I should see "Science Year-5"
|
92 |
And I should see "Science Year-5"
|
| 93 |
And I click on "Edit" of edit menu in the "Science Year-5" row
|
93 |
And I click on "Edit" of edit menu in the "Science Year-5" row
|
| 94 |
And the field "Name" matches value "Science Year-5 "
|
94 |
And the field "Name" matches value "Science Year-5 "
|
| Línea 98... |
Línea 98... |
| 98 |
Then I should see "Competency framework updated"
|
98 |
Then I should see "Competency framework updated"
|
| 99 |
And I should see "Science Year-5 Edited"
|
99 |
And I should see "Science Year-5 Edited"
|
| 100 |
And I should see "sc-y-5"
|
100 |
And I should see "sc-y-5"
|
| Línea 101... |
Línea 101... |
| 101 |
|
101 |
|
| 102 |
Scenario: Edit a framework with competencies in user competency plan
|
102 |
Scenario: Edit a framework with competencies in user competency plan
|
| 103 |
Given the following lp "frameworks" exist:
|
103 |
Given the following "core_competency > frameworks" exist:
|
| 104 |
| shortname | idnumber |
|
104 |
| shortname | idnumber |
|
| 105 |
| Science Year-6 | sc-y-6 |
|
105 |
| Science Year-6 | sc-y-6 |
|
| 106 |
And the following lp "competencies" exist:
|
106 |
And the following "core_competency > competencies" exist:
|
| 107 |
| shortname | framework |
|
107 |
| shortname | competencyframework | idnumber |
|
| 108 |
| Comp1 | sc-y-6 |
|
108 |
| Comp1 | sc-y-6 | Comp1 |
|
| 109 |
| Comp2 | sc-y-6 |
|
109 |
| Comp2 | sc-y-6 | Comp2 |
|
| 110 |
And the following lp "plans" exist:
|
110 |
And the following "core_competency > plans" exist:
|
| 111 |
| name | user | description |
|
111 |
| name | user | description |
|
| 112 |
| Plan Science-6 | admin | Plan description |
|
112 |
| Plan Science-6 | admin | Plan description |
|
| 113 |
And the following lp "plancompetencies" exist:
|
113 |
And the following "core_competency > plan_competency" exist:
|
| 114 |
| plan | competency |
|
114 |
| plan | competency |
|
| 115 |
| Plan Science-6 | Comp1 |
|
115 |
| Plan Science-6 | Comp1 |
|
| 116 |
| Plan Science-6 | Comp2 |
|
116 |
| Plan Science-6 | Comp2 |
|
| 117 |
And the following lp "usercompetencyplans" exist:
|
117 |
And the following "core_competency > user_competency_plans" exist:
|
| 118 |
| user | competency | plan |
|
118 |
| user | competency | plan |
|
| 119 |
| admin | Comp1 | Plan Science-6 |
|
119 |
| admin | Comp1 | Plan Science-6 |
|
| 120 |
| admin | Comp2 | Plan Science-6 |
|
120 |
| admin | Comp2 | Plan Science-6 |
|
| 121 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
121 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
| 122 |
And I should see "Science Year-6"
|
122 |
And I should see "Science Year-6"
|
| 123 |
And I click on "Edit" of edit menu in the "Science Year-6" row
|
123 |
And I click on "Edit" of edit menu in the "Science Year-6" row
|
| 124 |
And the field "Name" matches value "Science Year-6 "
|
124 |
And the field "Name" matches value "Science Year-6 "
|
| Línea 128... |
Línea 128... |
| 128 |
Then I should see "Competency framework updated"
|
128 |
Then I should see "Competency framework updated"
|
| 129 |
And I should see "Science Year-6 Edited"
|
129 |
And I should see "Science Year-6 Edited"
|
| 130 |
And I should see "sc-y-6"
|
130 |
And I should see "sc-y-6"
|
| Línea 131... |
Línea 131... |
| 131 |
|
131 |
|
| 132 |
Scenario: Duplicate a competency framework
|
132 |
Scenario: Duplicate a competency framework
|
| 133 |
Given the following lp "frameworks" exist:
|
133 |
Given the following "core_competency > frameworks" exist:
|
| 134 |
| shortname | idnumber |
|
134 |
| shortname | idnumber |
|
| 135 |
| CF1 | CF1 |
|
135 |
| CF1 | CF1 |
|
| 136 |
And the following lp "competencies" exist:
|
136 |
And the following "core_competency > competencies" exist:
|
| 137 |
| shortname | framework |
|
137 |
| shortname | competencyframework |
|
| 138 |
| C1 | CF1 |
|
138 |
| C1 | CF1 |
|
| 139 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
139 |
And I navigate to "Competencies > Competency frameworks" in site administration
|
| 140 |
# Duplicate the selected competency framework
|
140 |
# Duplicate the selected competency framework
|
| 141 |
When I click on "Duplicate" of edit menu in the "CF1" row
|
141 |
When I click on "Duplicate" of edit menu in the "CF1" row
|
| 142 |
# Confirm that the selected framework was duplicated by clicking on the link
|
142 |
# Confirm that the selected framework was duplicated by clicking on the link
|