mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2026-03-08 09:17:02 +01:00
33 lines
768 B
Python
33 lines
768 B
Python
import os
|
|
import time
|
|
|
|
import pytest
|
|
from flippigator.case import BaseCase
|
|
from termcolor import colored
|
|
|
|
os.system("color")
|
|
|
|
|
|
@pytest.mark.settings
|
|
class TestSettings(BaseCase):
|
|
@pytest.mark.smoke
|
|
async def test_settings_menu(self, nav):
|
|
await nav.settings.go_into()
|
|
menu_ref = [
|
|
"Bluetooth",
|
|
"LCD and Notifications",
|
|
"Storage",
|
|
"Power",
|
|
"Desktop",
|
|
"Passport",
|
|
"System",
|
|
"About",
|
|
]
|
|
assert (
|
|
await nav.get_menu_list(
|
|
ref=nav.get_ref_from_list(menu_ref, nav.font_haxrcorp_4089, invert=1)
|
|
)
|
|
== menu_ref
|
|
), "Settings menu list is wrong"
|
|
await nav.go_to_main_screen()
|