Skip to content

Commit

Permalink
Merge branch 'MDL-67724-master' of git://github.com/junpataleta/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jan 20, 2020
2 parents 34cdacb + 1ed7527 commit 70bc6d5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mod/glossary/tests/behat/entries_always_editable.feature
Expand Up @@ -4,7 +4,6 @@ Feature: A teacher can set whether glossary entries are always editable or not
As a teacher
I need to prevent entries to be always editable

@javascript
Scenario: Glossary entries are not always editable
Given the following "users" exist:
| username | firstname | lastname | email |
Expand All @@ -18,7 +17,7 @@ Feature: A teacher can set whether glossary entries are always editable or not
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And the following config values are set as admin:
| maxeditingtime | 60 |
| maxeditingtime | 5 |
And I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Glossary" to section "1" and I fill the form with:
Expand All @@ -34,7 +33,7 @@ Feature: A teacher can set whether glossary entries are always editable or not
| Definition | Test concept description |
Then "Delete entry: Test concept name" "link" should exist
And "Edit entry: Test concept name" "link" should exist
And I wait "65" seconds
And I wait "6" seconds
And I reload the page
Then "Delete entry: Test concept name" "link" should not exist
And "Delete entry: Test concept name" "link" should not exist
And "Edit entry: Test concept name" "link" should not exist

0 comments on commit 70bc6d5

Please sign in to comment.