Files
daily-counter/tests/ui/settings_ui_test.py
John Ahlroos 8ae8bc7a24
Some checks failed
Run Tests / run-tests (push) Failing after 1m3s
Add user color settings
2026-04-30 14:17:09 +02:00

15 lines
418 B
Python

def test_change_color_palette(app):
app.run()
app.switch_page("pages/settings.py").run()
assert app.button[0].disabled == True
assert app.button[0].label == "Flames **(selected)**"
app.button[1].click().run()
assert app.button[0].disabled == False
assert app.button[0].label == "Flames"
assert app.button[1].disabled == True
assert app.button[1].label == "Water **(selected)**"