Vmeda.Online/src/tests/behat/customlangstrings.feature

20 lines
736 B
Gherkin

@app @javascript @lms_from4.0
Feature: Custom lang strings
Background:
Given the following "users" exist:
| username |
| student1 |
Scenario: Customlangstrings without whitespaces
Given the following config values are set as admin:
| customlangstrings | core.courses.mycourses\|Foo\|en | tool_mobile |
When I entered the app as "student1"
Then I should be able to press "Foo" in the app
Scenario: Customlangstrings with whitespaces
Given the following config values are set as admin:
| customlangstrings | core.courses.mycourses\| Foo with whitespaces \|en | tool_mobile |
When I entered the app as "student1"
Then I should be able to press "Foo with whitespaces" in the app