-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
2.5.2
-
MOODLE_25_STABLE
-
wip-
MDL-42732-master -
This fails on oracle, when we follow 'Waiting approval', no entires are shown:
Scenario: Approve and disapprove glossary entries
|
Given the following "users" exists:
|
| username | firstname | lastname | email |
|
| teacher1 | Teacher | 1 | teacher1@asd.com |
|
| student1 | Student | 1 | student1@asd.com |
|
| student2 | Student | 2 | student2@asd.com |
|
And the following "courses" exists:
|
| fullname | shortname | category |
|
| Course 1 | C1 | 0 |
|
And the following "course enrolments" exists:
|
| user | course | role |
|
| teacher1 | C1 | editingteacher |
|
| student1 | C1 | student |
|
| student2 | C1 | student |
|
And I log in as "teacher1"
|
And I follow "Course 1"
|
And I turn editing mode on
|
Given I add a "Glossary" to section "1" and I fill the form with:
|
| Name | Test glossary name |
|
| Description | Test glossary entries require approval |
|
| Approved by default | No |
|
And I log out
|
And I log in as "student1"
|
And I follow "Course 1"
|
And I follow "Test glossary name"
|
When I add a glossary entry with the following data:
|
| Concept | Just a test concept |
|
| Definition | Concept definition |
|
| Keyword(s) | Black |
|
And I log out
|
# Test that students can not see the unapproved entry.
|
And I log in as "student2"
|
And I follow "Course 1"
|
And I follow "Test glossary name"
|
Then I should see "No entries found in this section"
|
And I log out
|
# Approve the entry.
|
And I log in as "teacher1"
|
And I follow "Course 1"
|
And I follow "Test glossary name"
|
And I follow "Waiting approval"
|
Expected result:
- List of unapproved entires shown
Actual result:
- No unapproved entries are shown
- is duplicated by
-
MDL-42912 Unapproved glossary entries are not shown for teacher (Oracle only)
-
- Closed
-
- Testing discovered
-
MDLQA-6334 CLONE - Upgrade test from previous version of Moodle on Oracle with Apache
-
- Passed
-