Línea 19... |
Línea 19... |
19 |
| user | course | role |
|
19 |
| user | course | role |
|
20 |
| manager | Acceptance test site | manager |
|
20 |
| manager | Acceptance test site | manager |
|
21 |
And the following "custom field categories" exist:
|
21 |
And the following "custom field categories" exist:
|
22 |
| name | component | area | itemid |
|
22 |
| name | component | area | itemid |
|
23 |
| Category for test | core_course | course | 0 |
|
23 |
| Category for test | core_course | course | 0 |
|
24 |
And the following "blocks" exist:
|
- |
|
25 |
| blockname | contextlevel | reference | pagetypepattern | defaultregion |
|
- |
|
26 |
| private_files | System | 1 | my-index | side-post |
|
- |
|
27 |
And the following "user private files" exist:
|
24 |
And the following "user private files" exist:
|
28 |
| user | filepath | filename |
|
25 |
| user | filepath |
|
29 |
| admin | lib/tests/fixtures/gd-logo.png | gd-logo.png |
|
26 |
| admin | lib/tests/fixtures/gd-logo.png |
|
30 |
And I log in as "admin"
|
27 |
And I log in as "admin"
|
31 |
And I navigate to "Courses > Default settings > Course custom fields" in site administration
|
28 |
And I navigate to "Courses > Default settings > Course custom fields" in site administration
|
32 |
And I click on "Add a new custom field" "link"
|
29 |
And I click on "Add a new custom field" "link"
|
33 |
And I click on "Text area" "link"
|
30 |
And I click on "Text area" "link"
|
34 |
And I set the following fields to these values:
|
31 |
And I set the following fields to these values:
|
Línea 38... |
Línea 35... |
38 |
And I click on "Image" "button" in the "Default value" "form_row"
|
35 |
And I click on "Image" "button" in the "Default value" "form_row"
|
39 |
And I click on "Browse repositories" "button"
|
36 |
And I click on "Browse repositories" "button"
|
40 |
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
37 |
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
41 |
And I click on "gd-logo.png" "link"
|
38 |
And I click on "gd-logo.png" "link"
|
42 |
And I click on "Select this file" "button"
|
39 |
And I click on "Select this file" "button"
|
43 |
And I set the field "How would you describe this image to someone who can't see it:" to "Example"
|
40 |
And I set the field "How would you describe this image to someone who can't see it?" to "Example"
|
44 |
And I click on "Save" "button" in the "Image details" "dialogue"
|
41 |
And I click on "Save" "button" in the "Image details" "dialogue"
|
45 |
And I click on "Save changes" "button" in the "Adding a new Text area" "dialogue"
|
42 |
And I click on "Save changes" "button" in the "Adding a new Text area" "dialogue"
|
46 |
And I log out
|
43 |
And I log out
|
Línea 47... |
Línea 44... |
47 |
|
44 |
|