mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-68753 lang: Use the updated strings in the tests
This commit is contained in:
parent
026a12ec51
commit
c47b174d44
@ -21,7 +21,7 @@ Feature: Sort content in the content bank
|
||||
And I add the "Navigation" block if not present
|
||||
And I expand "Site pages" node
|
||||
And I click on "Content bank" "link"
|
||||
When I click on "Display contentbank with file details" "button"
|
||||
When I click on "Display content bank with file details" "button"
|
||||
And I click on "Sort by Content name ascending" "button"
|
||||
And "Dragon_santjordi.h5p" "text" should appear before "historybook.h5p" "text"
|
||||
And "historybook.h5p" "text" should appear before "mathsbook.h5p" "text"
|
||||
|
@ -43,7 +43,7 @@ Feature: Safe Exam Browser settings in quiz edit form
|
||||
Then I should not see "Show Safe Exam Browser download button"
|
||||
Then I should not see "Enable quitting of SEB"
|
||||
Then I should not see "Quit password"
|
||||
Then I should not see "Allowed Browser Exam Keys"
|
||||
Then I should not see "Allowed browser exam keys"
|
||||
Then I should not see "Show Exit Safe Exam Browser button, configured with this quit link"
|
||||
Then I should not see "Ask user to confirm quitting"
|
||||
Then I should not see "Enable reload in exam"
|
||||
@ -70,7 +70,7 @@ Feature: Safe Exam Browser settings in quiz edit form
|
||||
And I expand all fieldsets
|
||||
And I set the field "Require the use of Safe Exam Browser" to "Yes – Use SEB client config"
|
||||
Then I should see "Show Safe Exam Browser download button"
|
||||
Then I should see "Allowed Browser Exam Keys"
|
||||
Then I should see "Allowed browser exam keys"
|
||||
Then I should not see "Upload Safe Exam Browser config file"
|
||||
Then I should not see "Safe Exam Browser config template"
|
||||
Then I should not see "Template 1"
|
||||
@ -105,7 +105,7 @@ Feature: Safe Exam Browser settings in quiz edit form
|
||||
Then I should see "Show Safe Exam Browser download button"
|
||||
Then I should not see "Enable quitting of SEB"
|
||||
Then I should not see "Quit password"
|
||||
Then I should see "Allowed Browser Exam Keys"
|
||||
Then I should see "Allowed browser exam keys"
|
||||
Then I should not see "Show Exit Safe Exam Browser button, configured with this quit link"
|
||||
Then I should not see "Ask user to confirm quitting"
|
||||
Then I should not see "Enable reload in exam"
|
||||
@ -138,7 +138,7 @@ Feature: Safe Exam Browser settings in quiz edit form
|
||||
Then I should see "Show Safe Exam Browser download button"
|
||||
Then I should see "Enable quitting of SEB"
|
||||
Then I should see "Quit password"
|
||||
Then I should not see "Allowed Browser Exam Keys"
|
||||
Then I should not see "Allowed browser exam keys"
|
||||
Then I should not see "Upload Safe Exam Browser config file"
|
||||
Then I should not see "Show Exit Safe Exam Browser button, configured with this quit link"
|
||||
Then I should not see "Ask user to confirm quitting"
|
||||
@ -203,6 +203,6 @@ Feature: Safe Exam Browser settings in quiz edit form
|
||||
Then I should see "Expressions blocked"
|
||||
Then I should see "Regex blocked"
|
||||
Then I should not see "Upload Safe Exam Browser config file"
|
||||
Then I should not see "Allowed Browser Exam Keys"
|
||||
Then I should not see "Allowed browser exam keys"
|
||||
Then I should not see "Safe Exam Browser config template"
|
||||
Then I should not see "Template 1"
|
||||
|
@ -119,7 +119,7 @@ class quizaccess_seb_event_testcase extends advanced_testcase {
|
||||
|
||||
// Test that the event data is as expected.
|
||||
$this->assertInstanceOf('\quizaccess_seb\event\template_created', $event);
|
||||
$this->assertEquals('SEB Template was created', $event->get_name());
|
||||
$this->assertEquals('SEB template was created', $event->get_name());
|
||||
$this->assertEquals(
|
||||
"The user with id '$user->id' has created a template with id '{$template->get('id')}'.",
|
||||
$event->get_description()
|
||||
|
@ -751,7 +751,7 @@ class quizaccess_seb_rule__testcase extends advanced_testcase {
|
||||
|
||||
// Test that the event data is as expected.
|
||||
$this->assertInstanceOf('\quizaccess_seb\event\access_prevented', $event);
|
||||
$this->assertEquals('No SEB browser is being used', $event->other['reason']);
|
||||
$this->assertEquals('No Safe Exam Browser is being used.', $event->other['reason']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user