from ragger.navigator import NavInsID def test_app_mainmenu(device, navigator, test_name, default_screenshot_path): """Home screen and the app-info page behind it. The app registers no settings switches, so Nano has three pages (ready, app info, quit) and does not wrap, and touch devices have a single info page with no sub-settings to page through. """ if device.is_nano: instructions = [NavInsID.RIGHT_CLICK, NavInsID.RIGHT_CLICK] else: instructions = [ NavInsID.USE_CASE_HOME_SETTINGS, NavInsID.USE_CASE_SUB_SETTINGS_EXIT, ] navigator.navigate_and_compare(default_screenshot_path, test_name, instructions, screen_change_before_first_instruction=False)