mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
MDL-82599 lang: Use the fixed strings in tests, too
This commit is contained in:
parent
c5b3abf9f5
commit
7af4e8816f
14 changed files with 29 additions and 29 deletions
|
@ -52,7 +52,7 @@ Feature: A teacher can delete questions in the question bank
|
|||
When I am on the "Course 1" "core_question > course question bank" page
|
||||
And I choose "Delete" action for "Test used question to be deleted" in the question bank
|
||||
And I should see "This will delete the following question and all its versions:"
|
||||
And I should see "* Denotes questions which can't be deleted because they are in use. Instead, they will be hidden in the question bank unless you select 'Show old questions'."
|
||||
And I should see "* Denotes questions which can't be deleted because they are in use. Instead, they will be hidden in the question bank unless you set 'Show hidden questions' to 'Yes'."
|
||||
And I press "Delete"
|
||||
Then I should not see "Test used question to be deleted"
|
||||
And I apply question bank filter "Show hidden questions" with value "Yes"
|
||||
|
@ -80,7 +80,7 @@ Feature: A teacher can delete questions in the question bank
|
|||
| Test questions | Test question to be deleted | Test question to be deleted version 2 |
|
||||
And I choose "Delete" action for "Test question to be deleted" in the question bank
|
||||
And I should see "This will delete the following question and all its versions:"
|
||||
And I should not see "* Denotes questions which can't be deleted because they are in use. Instead, they will be hidden in the question bank unless you select 'Show old questions'."
|
||||
And I should not see "* Denotes questions which can't be deleted because they are in use. Instead, they will be hidden in the question bank unless you set 'Show hidden questions' to 'Yes'."
|
||||
And I press "Delete"
|
||||
Then I should not see "Test question to be deleted"
|
||||
And I should not see "Test question to be deleted version2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue