mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-66979-master-7' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
9a4cfdeabb
8 changed files with 53 additions and 11 deletions
|
@ -5,7 +5,10 @@ Feature: Within a moodle instance, an administrator should be able to modify lan
|
|||
I need to be able to access and change values in the the language customisation of the language pack.
|
||||
|
||||
Background:
|
||||
Given I log in as "admin"
|
||||
# This is a very slow running test and on slow databases can take minutes to complete.
|
||||
Given I mark this test as slow setting a timeout factor of 4
|
||||
|
||||
And I log in as "admin"
|
||||
And I navigate to "Language > Language customisation" in site administration
|
||||
And I set the field "lng" to "en"
|
||||
And I press "Open language pack for editing"
|
||||
|
|
|
@ -4,6 +4,10 @@ Feature: Within a moodle instance, an administrator should be able to export mod
|
|||
As an admin
|
||||
I need to be able to export the php-files of the language customisation of a language.
|
||||
|
||||
Background:
|
||||
# This is a very slow running feature and on slow databases can take minutes to complete.
|
||||
Given I mark this test as slow setting a timeout factor of 4
|
||||
|
||||
@javascript
|
||||
Scenario: Export button should not appear if no customization is made
|
||||
Given I log in as "admin"
|
||||
|
|
|
@ -5,7 +5,10 @@ Feature: Within a moodle instance, an administrator should be able to import mod
|
|||
I need to be able to import the zips and php files of the language customisation of a language.
|
||||
|
||||
Background:
|
||||
Given I log in as "admin"
|
||||
# This is a very slow running test and on slow databases can take minutes to complete.
|
||||
Given I mark this test as slow setting a timeout factor of 4
|
||||
|
||||
And I log in as "admin"
|
||||
And I navigate to "Language > Language customisation" in site administration
|
||||
And I set the field "lng" to "en"
|
||||
And I click on "Import custom strings" "button"
|
||||
|
|
|
@ -5,8 +5,11 @@ Feature: Within a moodle instance, an administrator should be able to import lan
|
|||
I need to be able to import only some language customisation strings depending on some conditions.
|
||||
|
||||
Background:
|
||||
# This is a very slow running feature and on slow databases can take minutes to complete.
|
||||
Given I mark this test as slow setting a timeout factor of 4
|
||||
|
||||
# Add one customization.
|
||||
Given I log in as "admin"
|
||||
And I log in as "admin"
|
||||
And I navigate to "Language > Language customisation" in site administration
|
||||
And I set the field "lng" to "en"
|
||||
And I press "Open language pack for editing"
|
||||
|
|
|
@ -5,7 +5,10 @@ Feature: View the httpsreplace report
|
|||
I need to be able to automatically replace http links
|
||||
|
||||
Background: Create some http links
|
||||
Given I am on site homepage
|
||||
# This is a slow running feature and on slow databases can take over 30 seconds to complete.
|
||||
Given I mark this test as slow setting a timeout factor of 2
|
||||
|
||||
And I am on site homepage
|
||||
And the following "courses" exist:
|
||||
| fullname | shortname | category | summary |
|
||||
| Course 1 | C1 | 0 | <img src="http://intentionally.unavailable/test.png"> <img src="http://download.moodle.org/unittest/test.jpg"> |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue