Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 3... Línea 3...
3
  To link or unlink competency to evidence of prior learning
3
  To link or unlink competency to evidence of prior learning
4
  As learning plan admin
4
  As learning plan admin
5
  I need to link and unlink competencies from evidence of prior learning
5
  I need to link and unlink competencies from evidence of prior learning
Línea 6... Línea 6...
6
 
6
 
7
  Background:
7
  Background:
8
    Given the following lp "frameworks" exist:
8
    Given the following "core_competency > frameworks" exist:
9
      | shortname | idnumber |
9
      | shortname      | idnumber |
10
      | Test-Framework | ID-FW1 |
10
      | Test-Framework | ID-FW1   |
11
    And the following lp "competencies" exist:
11
    And the following "core_competency > competencies" exist:
12
      | shortname | framework |
12
      | shortname  | competencyframework | idnumber   |
13
      | Test-Comp1 | ID-FW1 |
13
      | Test-Comp1 | ID-FW1              | Test-Comp1 |
14
      | Test-Comp2 | ID-FW1 |
14
      | Test-Comp2 | ID-FW1              | Test-Comp2 |
15
    And the following lp "plans" exist:
15
    And the following "core_competency > plans" exist:
16
      | name | user | description |
16
      | name      | user  | description      |
17
      | Test-Plan | admin | Plan description |
17
      | Test-Plan | admin | Plan description |
18
    And the following lp "plancompetencies" exist:
18
    And the following "core_competency > plan_competency" exist:
19
      | plan | competency |
19
      | plan      | competency |
20
      | Test-Plan | Test-Comp1 |
20
      | Test-Plan | Test-Comp1 |
21
      | Test-Plan | Test-Comp2 |
21
      | Test-Plan | Test-Comp2 |
22
    And the following lp "userevidence" exist:
22
    And the following "core_competency > user_evidence" exist:
23
      | name | description | user |
23
      | name          | description          | user  |
24
      | Test-Evidence | Description evidence | admin |
24
      | Test-Evidence | Description evidence | admin |
25
    When I log in as "admin"
25
    When I log in as "admin"
26
    And I follow "Profile" in the user menu
26
    And I follow "Profile" in the user menu
27
    And I follow "Learning plans"
27
    And I follow "Learning plans"
Línea 49... Línea 49...
49
    And I select "Test-Comp2" of the competency tree
49
    And I select "Test-Comp2" of the competency tree
50
    When I click on "Add" "button" in the "Competency picker" "dialogue"
50
    When I click on "Add" "button" in the "Competency picker" "dialogue"
51
    Then "Test-Comp2" "table_row" should exist
51
    Then "Test-Comp2" "table_row" should exist
Línea 52... Línea 52...
52
 
52
 
53
  Scenario: Unlink competency from evidence of prior learning
53
  Scenario: Unlink competency from evidence of prior learning
54
    Given the following lp "userevidencecompetencies" exist:
54
    Given the following "core_competency > user_evidence_competency" exist:
55
      | userevidence | competency |
55
      | userevidence  | competency |
56
      | Test-Evidence | Test-Comp1 |
56
      | Test-Evidence | Test-Comp1 |
57
      | Test-Evidence | Test-Comp2 |
57
      | Test-Evidence | Test-Comp2 |
58
    Given the following lp "usercompetencies" exist:
58
    And the following "core_competency > user_competency" exist:
59
      | user | competency |
59
      | user  | competency |
60
      | admin | Test-Comp1 |
60
      | admin | Test-Comp1 |
61
      | admin | Test-Comp2 |
61
      | admin | Test-Comp2 |
62
    And I follow "Evidence of prior learning"
62
    And I follow "Evidence of prior learning"
63
    And I should see "List of evidence"
63
    And I should see "List of evidence"