mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-73188 usertours: Make language string ID work again
- New dropdown was created, user can choose to enter the content manually or using Moodle Language string - New text field was created to allow user to input the Lang string format - New validation was created to validate the language identifier - New Behat tests were created to validate the new feature
This commit is contained in:
parent
a01f1fa71c
commit
2137ce6539
12 changed files with 263 additions and 76 deletions
|
@ -13,8 +13,8 @@ Feature: Reset a tour for Boost
|
|||
| Tour is enabled | 1 |
|
||||
| Show with backdrop | 1 |
|
||||
And I add steps to the "First tour" tour:
|
||||
| targettype | Title | Content |
|
||||
| Display in middle of page | Welcome | Welcome tour. |
|
||||
| targettype | Title | id_content | Content type |
|
||||
| Display in middle of page | Welcome | Welcome tour. | Enter manually |
|
||||
|
||||
@javascript
|
||||
Scenario: Reset the tour with desktop view
|
||||
|
|
|
@ -14,8 +14,8 @@ Feature: Apply tour filters to a tour for Classic
|
|||
| Tour is enabled | 1 |
|
||||
| Theme | Classic |
|
||||
And I add steps to the "First tour" tour:
|
||||
| targettype | Title | Content |
|
||||
| Display in middle of page | Welcome | Welcome to your personal learning space. We'd like to give you a quick tour to show you some of the areas you may find helpful |
|
||||
| targettype | Title | id_content | Content type |
|
||||
| Display in middle of page | Welcome | Welcome to your personal learning space. We'd like to give you a quick tour to show you some of the areas you may find helpful | Enter manually |
|
||||
When I am on homepage
|
||||
Then I should not see "Welcome to your personal learning space. We'd like to give you a quick tour to show you some of the areas you may find helpful"
|
||||
|
||||
|
@ -29,7 +29,7 @@ Feature: Apply tour filters to a tour for Classic
|
|||
| Tour is enabled | 1 |
|
||||
| Theme | Boost |
|
||||
And I add steps to the "First tour" tour:
|
||||
| targettype | Title | Content |
|
||||
| Display in middle of page | Welcome | Welcome to your personal learning space. We'd like to give you a quick tour to show you some of the areas you may find helpful |
|
||||
| targettype | Title | id_content | Content type |
|
||||
| Display in middle of page | Welcome | Welcome to your personal learning space. We'd like to give you a quick tour to show you some of the areas you may find helpful | Enter manually |
|
||||
When I am on homepage
|
||||
Then I should see "Welcome to your personal learning space. We'd like to give you a quick tour to show you some of the areas you may find helpful"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue