Files
devplacepy/tests/unit/services/bot/browser.py
T
retoor cae139ead9
DevPlace CI / test (push) Failing after 28m20s
Add personal notes, DeepSearch history, backup offload, and gateway auth throttling
Also streamline the top navigation: drop the Tools dropdown, make Quizzes
and Battles icon-only entries, and remove the Workspace, Containers and
Editor entry points from the project detail page.
2026-09-12 20:32:31 +02:00

30 lines
779 B
Python

# retoor <retoor@molodetz.nl>
from devplacepy.services.bot.browser import NATIVE_FILL_TYPES, uses_native_fill
def test_uses_native_fill_for_date_widgets():
assert uses_native_fill("date")
assert uses_native_fill("DATE")
assert uses_native_fill("datetime-local")
assert uses_native_fill("month")
assert uses_native_fill("time")
assert uses_native_fill("week")
def test_uses_native_fill_skips_text_fields():
assert not uses_native_fill("text")
assert not uses_native_fill("email")
assert not uses_native_fill("password")
assert not uses_native_fill("")
def test_native_fill_types_are_the_date_family():
assert NATIVE_FILL_TYPES == {
"date",
"datetime-local",
"month",
"time",
"week",
}