Línea 2... |
Línea 2... |
2 |
Feature: See the competencies for an activity on the course competencies page.
|
2 |
Feature: See the competencies for an activity on the course competencies page.
|
3 |
As a student
|
3 |
As a student
|
4 |
In order to see only the competencies for an activity in the course competencies page.
|
4 |
In order to see only the competencies for an activity in the course competencies page.
|
Línea 5... |
Línea 5... |
5 |
|
5 |
|
6 |
Background:
|
6 |
Background:
|
7 |
Given the following lp "frameworks" exist:
|
7 |
Given the following "core_competency > frameworks" exist:
|
8 |
| shortname | idnumber |
|
8 |
| shortname | idnumber |
|
9 |
| Test-Framework | ID-FW1 |
|
9 |
| Test-Framework | ID-FW1 |
|
10 |
And the following lp "competencies" exist:
|
10 |
And the following "core_competency > competencies" exist:
|
11 |
| shortname | framework |
|
11 |
| shortname | competencyframework |
|
12 |
| Test-Comp1 | ID-FW1 |
|
12 |
| Test-Comp1 | ID-FW1 |
|
13 |
| Test-Comp2 | ID-FW1 |
|
13 |
| Test-Comp2 | ID-FW1 |
|
14 |
Given the following "courses" exist:
|
14 |
Given the following "courses" exist:
|
15 |
| shortname | fullname | enablecompletion |
|
15 |
| shortname | fullname | enablecompletion |
|
16 |
| C1 | Course 1 | 1 |
|
16 |
| C1 | Course 1 | 1 |
|
17 |
And the following "users" exist:
|
17 |
And the following "users" exist:
|
Línea 44... |
Línea 44... |
44 |
Scenario: Go to the competency course competencies page.
|
44 |
Scenario: Go to the competency course competencies page.
|
45 |
Given I am on the "Course 1" course page logged in as student1
|
45 |
Given I am on the "Course 1" course page logged in as student1
|
46 |
When I follow "Competencies"
|
46 |
When I follow "Competencies"
|
47 |
Then I should see "Test-Comp1"
|
47 |
Then I should see "Test-Comp1"
|
48 |
And I should see "Test-Comp2"
|
48 |
And I should see "Test-Comp2"
|
49 |
And I set the field "Filter competencies by resource or activity" to "PageName1"
|
49 |
And I set the competency filter "Filter competencies by resource or activity" to "PageName1"
|
50 |
And I press the enter key
|
50 |
And I press the enter key
|
51 |
And I should see "Test-Comp1"
|
51 |
And I should see "Test-Comp1"
|
52 |
And I should not see "Test-Comp2"
|
52 |
And I should not see "Test-Comp2"
|
53 |
And I set the field "Filter competencies by resource or activity" to "PageName2"
|
53 |
And I set the competency filter "Filter competencies by resource or activity" to "PageName2"
|
54 |
And I press the enter key
|
54 |
And I press the enter key
|
55 |
And I should not see "Test-Comp1"
|
55 |
And I should not see "Test-Comp1"
|
56 |
And I should not see "Test-Comp2"
|
56 |
And I should not see "Test-Comp2"
|
57 |
And I should see "No competencies have been linked to this activity or resource."
|
57 |
And I should see "No competencies have been linked to this activity or resource."
|