Translate the whole site to English: English routes with 301 redirects from the Dutch paths, English UI, docs, seeds and captions, one-time live content migration
This commit is contained in:
+2
-2
@@ -1,14 +1,14 @@
|
||||
# retoor <retoor@molodetz.nl>
|
||||
from tests.conftest import assert_no_horizontal_overflow
|
||||
|
||||
PUBLIC_PAGES = ["/", "/rol", "/standaard", "/flyers", "/memes", "/mensen", "/mensen/retoor", "/binnen", "/docs", "/docs/welkom", "/docs/api/inhoud", "/docs/component-code", "/voorwaarden", "/privacy"]
|
||||
PUBLIC_PAGES = ["/", "/roll", "/standard", "/flyers", "/memes", "/people", "/people/retoor", "/join", "/docs", "/docs/welcome", "/docs/api/content", "/docs/component-code", "/terms", "/privacy"]
|
||||
|
||||
|
||||
def test_home_renders_without_errors(page, app_server):
|
||||
page.goto(app_server + "/", wait_until="domcontentloaded")
|
||||
page.wait_for_selector("html[data-app=ready]")
|
||||
assert page.locator("h1").first.inner_text().strip().lower() == "molodetz"
|
||||
assert page.locator("nav .nav-links a", has_text="Binnen").count() == 1
|
||||
assert page.locator("nav .nav-links a", has_text="Join").count() == 1
|
||||
assert page.console_errors == []
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user