Add user color settings
Some checks failed
Run Tests / run-tests (push) Failing after 1m3s

This commit is contained in:
2026-04-30 14:16:57 +02:00
parent bd9ff7191a
commit 8ae8bc7a24
12 changed files with 291 additions and 68 deletions

View File

@@ -0,0 +1,15 @@
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)**"