Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
954ab0e6
Commit
954ab0e6
authored
May 03, 2019
by
jun
Browse files
Merge branch 'MDL-65475-master' of
git://github.com/junpataleta/moodle
parents
0b53f28c
b72780bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/forum/tests/behat/discussion_lock.feature
View file @
954ab0e6
...
...
@@ -35,12 +35,12 @@ Feature: As a teacher, you can manually lock individual discussions when viewing
And
I am on
"Course 1"
course homepage
And
I navigate to post
"Discussion 1"
in
"Test forum name"
forum
And
I press
"Settings"
Then
"Lock"
"link"
should be visible
And
I follow
"Lock"
Then
"Lock
this discussion
"
"link"
should be visible
And
I follow
"Lock
this discussion
"
Then
I should see
"This discussion has been locked so you can no longer reply to it."
And
I press
"Settings"
Then
"
a[@title='Lock']"
"css_element
"
should not be visible
Then
"
Locked
"
"link"
should be visible
Then
"
Lock this discussion"
"link
"
should not be visible
Then
"
Unlock this discussion
"
"link"
should be visible
And
I press
"Settings"
And
I follow
"Discussion 2"
Then
I should not see
"This discussion has been locked so you can no longer reply to it."
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment