| Línea 22... |
Línea 22... |
| 22 |
And I press "Save changes"
|
22 |
And I press "Save changes"
|
| 23 |
Then I should see "Evidence of prior learning created"
|
23 |
Then I should see "Evidence of prior learning created"
|
| 24 |
And I should see "Evidence-1"
|
24 |
And I should see "Evidence-1"
|
| Línea 25... |
Línea 25... |
| 25 |
|
25 |
|
| 26 |
Scenario: Read an evidence of prior learning
|
26 |
Scenario: Read an evidence of prior learning
|
| 27 |
Given the following lp "userevidence" exist:
|
27 |
Given the following "core_competency > user_evidence" exist:
|
| 28 |
| name | description | user |
|
28 |
| name | description | user |
|
| 29 |
| Evidence-2 | Evidence-2 description | user1 |
|
29 |
| Evidence-2 | Evidence-2 description | user1 |
|
| 30 |
And I follow "Evidence of prior learning"
|
30 |
And I follow "Evidence of prior learning"
|
| 31 |
And I should see "List of evidence"
|
31 |
And I should see "List of evidence"
|
| 32 |
And I should see "Evidence-2"
|
32 |
And I should see "Evidence-2"
|
| 33 |
When I click on "Evidence-2" "link"
|
33 |
When I click on "Evidence-2" "link"
|
| Línea 34... |
Línea 34... |
| 34 |
Then I should see "Evidence-2"
|
34 |
Then I should see "Evidence-2"
|
| 35 |
|
35 |
|
| 36 |
Scenario: Edit an evidence of prior learning
|
36 |
Scenario: Edit an evidence of prior learning
|
| 37 |
Given the following lp "userevidence" exist:
|
37 |
Given the following "core_competency > user_evidence" exist:
|
| 38 |
| name | description | user |
|
38 |
| name | description | user |
|
| 39 |
| Evidence-3 | Evidence-3 description | user1 |
|
39 |
| Evidence-3 | Evidence-3 description | user1 |
|
| 40 |
And I follow "Evidence of prior learning"
|
40 |
And I follow "Evidence of prior learning"
|
| 41 |
And I should see "List of evidence"
|
41 |
And I should see "List of evidence"
|
| Línea 45... |
Línea 45... |
| 45 |
And I press "Save changes"
|
45 |
And I press "Save changes"
|
| 46 |
Then I should see "Evidence of prior learning updated"
|
46 |
Then I should see "Evidence of prior learning updated"
|
| 47 |
And I should see "Evidence-3 Edited"
|
47 |
And I should see "Evidence-3 Edited"
|
| Línea 48... |
Línea 48... |
| 48 |
|
48 |
|
| 49 |
Scenario: Delete an evidence of prior learning
|
49 |
Scenario: Delete an evidence of prior learning
|
| 50 |
Given the following lp "userevidence" exist:
|
50 |
Given the following "core_competency > user_evidence" exist:
|
| 51 |
| name | description | user |
|
51 |
| name | description | user |
|
| 52 |
| Evidence-4 | Evidence-4 description | user1 |
|
52 |
| Evidence-4 | Evidence-4 description | user1 |
|
| 53 |
And I follow "Evidence of prior learning"
|
53 |
And I follow "Evidence of prior learning"
|
| 54 |
And I should see "List of evidence"
|
54 |
And I should see "List of evidence"
|
| 55 |
And I click on "Delete" of edit menu in the "Evidence-4" row
|
55 |
And I click on "Delete" of edit menu in the "Evidence-4" row
|
| Línea 60... |
Línea 60... |
| 60 |
And I wait until the page is ready
|
60 |
And I wait until the page is ready
|
| 61 |
Then I should not see "Evidence-4"
|
61 |
Then I should not see "Evidence-4"
|
| Línea 62... |
Línea 62... |
| 62 |
|
62 |
|
| 63 |
Scenario: List evidences of prior learning
|
63 |
Scenario: List evidences of prior learning
|
| 64 |
Given the following "users" exist:
|
64 |
Given the following "users" exist:
|
| 65 |
| username | firstname | lastname | email |
|
65 |
| username | firstname | lastname | email |
|
| 66 |
|user2 | User | 2 | user2@example.com |
|
66 |
| user2 | User | 2 | user2@example.com |
|
| 67 |
And the following lp "userevidence" exist:
|
67 |
And the following "core_competency > user_evidence" exist:
|
| 68 |
| name | description | user |
|
68 |
| name | description | user |
|
| 69 |
| Evidence-5 | Evidence-5 description | user1 |
|
69 |
| Evidence-5 | Evidence-5 description | user1 |
|
| 70 |
| Evidence-6 | Evidence-6 description | user2 |
|
70 |
| Evidence-6 | Evidence-6 description | user2 |
|
| 71 |
And I follow "Evidence of prior learning"
|
71 |
And I follow "Evidence of prior learning"
|
| 72 |
And I should see "List of evidence"
|
72 |
And I should see "List of evidence"
|