X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tool/lp/tests/behat
home
/
cbholdings
/
pasukulu
/
admin
/
tool
/
lp
/
tests
/
behat
/
📁
..
📄
behat_tool_lp.php
(5.46 KB)
📄
behat_tool_lp_data_generators.php
(12.48 KB)
📄
course_competencies.feature
(2.82 KB)
📄
framework_crud.feature
(6.2 KB)
📄
plan_crud.feature
(7.04 KB)
📄
plan_workflow.feature
(8.62 KB)
📄
template_crud.feature
(2.93 KB)
📄
user_evidence_comp_link.feature
(2.95 KB)
📄
user_evidence_crud.feature
(3.29 KB)
📄
view_competencies.feature
(9.49 KB)
Editing: user_evidence_comp_link.feature
@tool @javascript @tool_lp @tool_lp_user_evidence_comp_link Feature: Manage competencies linked to evidence of prior learning To link or unlink competency to evidence of prior learning As learning plan admin I need to link and unlink competencies from evidence of prior learning Background: Given the following lp "frameworks" exist: | shortname | idnumber | | Test-Framework | ID-FW1 | And the following lp "competencies" exist: | shortname | framework | | Test-Comp1 | ID-FW1 | | Test-Comp2 | ID-FW1 | And the following lp "plans" exist: | name | user | description | | Test-Plan | admin | Plan description | And the following lp "plancompetencies" exist: | plan | competency | | Test-Plan | Test-Comp1 | | Test-Plan | Test-Comp2 | And the following lp "userevidence" exist: | name | description | user | | Test-Evidence | Description evidence | admin | When I log in as "admin" And I follow "Profile" in the user menu And I follow "Learning plans" Then I should see "Evidence of prior learning" Scenario: Link competency to evidence of prior learning from page Given I follow "Evidence of prior learning" And I should see "List of evidence" And I should see "Test-Evidence" And I click on "Test-Evidence" "link" And I should see "Linked competencies" And I press "Link competencies" And "Competency picker" "dialogue" should be visible And I select "Test-Comp1" of the competency tree When I click on "Add" "button" in the "Competency picker" "dialogue" Then "Test-Comp1" "table_row" should exist Scenario: Link competency to evidence of prior learning from list Given I follow "Evidence of prior learning" And I change window size to "large" And I should see "List of evidence" And I should see "Test-Evidence" And I click on "Link" of edit menu in the "Test-Evidence" row And "Competency picker" "dialogue" should be visible And I select "Test-Comp2" of the competency tree When I click on "Add" "button" in the "Competency picker" "dialogue" Then "Test-Comp2" "table_row" should exist Scenario: Unlink competency from evidence of prior learning Given the following lp "userevidencecompetencies" exist: | userevidence | competency | | Test-Evidence | Test-Comp1 | | Test-Evidence | Test-Comp2 | Given the following lp "usercompetencies" exist: | user | competency | | admin | Test-Comp1 | | admin | Test-Comp2 | And I follow "Evidence of prior learning" And I should see "List of evidence" And I should see "Test-Evidence" And I click on "Test-Evidence" "link" And I should see "Linked competencies" And I should see "Test-Comp1" And I should see "Test-Comp2" When I click on "Delete" "link" in the "Test-Comp1" "table_row" And I wait until the page is ready Then I should not see "Test-Comp1" And I should see "Test-Comp2"
Upload File
Create Folder