features.steps.r_012_steps ========================== .. py:module:: features.steps.r_012_steps .. autoapi-nested-parse:: Python steps file for R_012. Attributes ---------- .. autoapisummary:: features.steps.r_012_steps.TRANSLATION_LOOKUP features.steps.r_012_steps.supported_languages Functions --------- .. autoapisummary:: features.steps.r_012_steps.step_given_supported_languages features.steps.r_012_steps.step_given_new_user_with_browser_language features.steps.r_012_steps.step_then_ui_displays_language features.steps.r_012_steps.step_when_user_selects_language features.steps.r_012_steps.step_when_user_relogin Module Contents --------------- .. py:data:: TRANSLATION_LOOKUP .. py:data:: supported_languages .. py:function:: step_given_supported_languages(context) Ensures that the system supports multiple languages. :param context: Behave context. :type context: runner.Context .. py:function:: step_given_new_user_with_browser_language(context, language) Simulates a new user accessing the system with a specified browser language. :param context: Behave context. :type context: runner.Context :param language: The language detected from the user's browser settings. :type language: str .. py:function:: step_then_ui_displays_language(context, language) Ensures that the UI is displayed in the correct language. :param context: Behave context. :type context: runner.Context :param language: Expected language for the UI. :type language: str .. py:function:: step_when_user_selects_language(context, language) Simulates a user selecting a different language. :param context: Behave context. :type context: runner.Context :param language: Language chosen by the user. :type language: str .. py:function:: step_when_user_relogin(context) Simulates a user logging out and logging back in. :param context: Behave context. :type context: runner.Context