features.steps.r_012_steps¶
Python steps file for R_012.
Attributes¶
Functions¶
|
Ensures that the system supports multiple languages. |
|
Simulates a new user accessing the system with a specified browser language. |
|
Ensures that the UI is displayed in the correct language. |
|
Simulates a user selecting a different language. |
|
Simulates a user logging out and logging back in. |
Module Contents¶
- features.steps.r_012_steps.step_given_supported_languages(context)[source]¶
Ensures that the system supports multiple languages.
- Parameters:
context (runner.Context) – Behave context.
- Return type:
None
- features.steps.r_012_steps.step_given_new_user_with_browser_language(context, language)[source]¶
Simulates a new user accessing the system with a specified browser language.
- Parameters:
context (runner.Context) – Behave context.
language (str) – The language detected from the user’s browser settings.
- Return type:
None
- features.steps.r_012_steps.step_then_ui_displays_language(context, language)[source]¶
Ensures that the UI is displayed in the correct language.
- Parameters:
context (runner.Context) – Behave context.
language (str) – Expected language for the UI.
- Return type:
None