Vmeda.Online/src/core/tests/behat/customlangstrings.feature
Noel De Martin bb6ed65c88 MOBILE-4496 behat: Update tags
Tags have been changed to reflect the namespace in the app folder structure, rather than trying to find an equivalent in the LMS codebase
2024-01-31 11:35:09 +01:00

20 lines
742 B
Gherkin

@core @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