mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 05:54:19 +02:00
MDL-71252 completion: Fix Behat test for manual completion display
Adjusting the test since the manual completion button is now being hidden from the course homepage when completion is disabled.
This commit is contained in:
parent
6923ba4088
commit
d9a8245efb
@ -44,9 +44,10 @@ Feature: Allow teachers to edit the visibility of completion conditions in a cou
|
||||
# Completion conditions are always shown in the module's view page.
|
||||
And I follow "Test choice auto"
|
||||
Then "Test choice auto" should have the "Make a choice" completion condition
|
||||
# The manual completion toggle button should be always displayed in both course homepage and activity view.
|
||||
# The manual completion toggle button should not be displayed in the course homepage when completion is disabled.
|
||||
And I am on "Course 1" course homepage
|
||||
And the manual completion button for "Test choice manual" should be disabled
|
||||
And the manual completion button for "Test choice manual" should not exist
|
||||
# The manual completion toggle button should always be displayed in the activity view.
|
||||
And I follow "Test choice manual"
|
||||
And the manual completion button for "Test choice manual" should be disabled
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user