This commit is contained in:
@@ -26,9 +26,13 @@ def test_login_page_renders_stitch_design(client):
|
||||
assert 'src="/static/js/login.js?' in body
|
||||
assert "<script>" not in body
|
||||
assert "Persoonlijke intelligence cockpit" in body
|
||||
assert 'alt="ITWorx.tech"' in body
|
||||
assert 'alt="VacatureRadar"' in body
|
||||
assert "Ontwikkeld door" in body
|
||||
assert 'aria-label="Ontwikkeld door ITWorx.tech"' in body
|
||||
assert 'src="/static/img/itworx-wordmark.png" alt=""' in body
|
||||
assert 'src="/static/img/itworx-wordmark.png"' in body
|
||||
assert 'sizes="512x512"' in body
|
||||
assert 'href="/static/favicon.svg?' in body
|
||||
assert 'sizes="any"' in body
|
||||
|
||||
|
||||
@override_settings(VACATURERADAR_OWNER_NAME="Eigen merk")
|
||||
@@ -36,7 +40,7 @@ def test_login_page_keeps_official_brand_separate_from_owner_setting(client):
|
||||
body = client.get(reverse("login")).content.decode("utf-8")
|
||||
|
||||
assert "Eigen merk" not in body
|
||||
assert 'content="VacatureRadar · ITWorx.tech"' in body
|
||||
assert 'content="VacatureRadar"' in body
|
||||
|
||||
|
||||
def test_login_with_email(client, user):
|
||||
|
||||
Reference in New Issue
Block a user