add(ui/ux): show the running version and build stamp in the header
This commit is contained in:
@@ -153,3 +153,9 @@ def test_english_reaches_the_rendered_rows(page):
|
||||
page.click("#lang-toggle")
|
||||
assert "— überspringen —" in page.locator("#import-table tbody select").first.text_content()
|
||||
assert "2,0 KB" in " ".join(page.locator("#import-table .tag.fmt").all_text_contents())
|
||||
|
||||
|
||||
def test_the_header_shows_the_running_version(page):
|
||||
stamp = page.locator("#app-version").text_content()
|
||||
assert stamp.startswith("v")
|
||||
assert len(stamp) > 3 # version plus the build stamp behind it
|
||||
|
||||
Reference in New Issue
Block a user