[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @tool @javascript @tool_lp @tool_lp_user_evidence_comp_link 2 Feature: Manage competencies linked to evidence of prior learning 3 To link or unlink competency to evidence of prior learning 4 As learning plan admin 5 I need to link and unlink competencies from evidence of prior learning 6 7 Background: 8 Given the following lp "frameworks" exist: 9 | shortname | idnumber | 10 | Test-Framework | ID-FW1 | 11 And the following lp "competencies" exist: 12 | shortname | framework | 13 | Test-Comp1 | ID-FW1 | 14 | Test-Comp2 | ID-FW1 | 15 And the following lp "plans" exist: 16 | name | user | description | 17 | Test-Plan | admin | Plan description | 18 And the following lp "plancompetencies" exist: 19 | plan | competency | 20 | Test-Plan | Test-Comp1 | 21 | Test-Plan | Test-Comp2 | 22 And the following lp "userevidence" exist: 23 | name | description | user | 24 | Test-Evidence | Description evidence | admin | 25 When I log in as "admin" 26 And I follow "Profile" in the user menu 27 And I follow "Learning plans" 28 Then I should see "Evidence of prior learning" 29 30 Scenario: Link competency to evidence of prior learning from page 31 Given I follow "Evidence of prior learning" 32 And I should see "List of evidence" 33 And I should see "Test-Evidence" 34 And I click on "Test-Evidence" "link" 35 And I should see "Linked competencies" 36 And I press "Link competencies" 37 And "Competency picker" "dialogue" should be visible 38 And I select "Test-Comp1" of the competency tree 39 When I click on "Add" "button" in the "Competency picker" "dialogue" 40 Then "Test-Comp1" "table_row" should exist 41 42 Scenario: Link competency to evidence of prior learning from list 43 Given I follow "Evidence of prior learning" 44 And I should see "List of evidence" 45 And I should see "Test-Evidence" 46 And I click on "Link" of edit menu in the "Test-Evidence" row 47 And "Competency picker" "dialogue" should be visible 48 And I select "Test-Comp2" of the competency tree 49 When I click on "Add" "button" in the "Competency picker" "dialogue" 50 Then "Test-Comp2" "table_row" should exist 51 52 Scenario: Unlink competency from evidence of prior learning 53 Given the following lp "userevidencecompetencies" exist: 54 | userevidence | competency | 55 | Test-Evidence | Test-Comp1 | 56 | Test-Evidence | Test-Comp2 | 57 Given the following lp "usercompetencies" exist: 58 | user | competency | 59 | admin | Test-Comp1 | 60 | admin | Test-Comp2 | 61 And I follow "Evidence of prior learning" 62 And I should see "List of evidence" 63 And I should see "Test-Evidence" 64 And I click on "Test-Evidence" "link" 65 And I should see "Linked competencies" 66 And I should see "Test-Comp1" 67 And I should see "Test-Comp2" 68 When I click on "Delete" "link" in the "Test-Comp1" "table_row" 69 Then I should not see "Test-Comp1" 70 And I should see "Test-Comp2"
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |