|
|
|
|
@ -50,6 +50,9 @@ $css = $read('web/public/theme/venix/css/home.css');
|
|
|
|
|
$assert(str_contains($landing, 'landing-console') && str_contains($landing, 'id="capabilities"')
|
|
|
|
|
&& str_contains($landing, 'landing-workflow') && str_contains($css, '.landing-hero'),
|
|
|
|
|
'The approved console-led landing page was not integrated.');
|
|
|
|
|
$assert(preg_match('/\.landing-site-header\s*\{[^}]*position:\s*fixed;/s', $css) === 1
|
|
|
|
|
&& preg_match('/\.landing-main-nav\s*\{[^}]*margin-left:\s*auto;[^}]*justify-content:\s*flex-end;/s', $css) === 1,
|
|
|
|
|
'Landing navigation is not fixed to the top and right aligned.');
|
|
|
|
|
$assert(str_contains($legal, '{$legal_document.content_html nofilter}')
|
|
|
|
|
&& str_contains($legal, 'legal_document.outline') && str_contains($css, '.legal-layout'),
|
|
|
|
|
'Published legal content or its responsive information architecture is missing.');
|
|
|
|
|
@ -70,7 +73,7 @@ $assert(str_contains($auth, "Config::get('tos_reg') === 'true'")
|
|
|
|
|
'Legal consent is only client-side and can be bypassed.');
|
|
|
|
|
|
|
|
|
|
$assets = $read('web/resources/views/venix/layout_assets.tpl');
|
|
|
|
|
$assert(str_contains($assets, "value='2026102415'")
|
|
|
|
|
$assert(str_contains($assets, "value='2026102416'")
|
|
|
|
|
&& str_contains($admin, '?v={$venix_asset_version}')
|
|
|
|
|
&& str_contains($read('web/resources/views/venix/home/layout_header.tpl'), '?v={$venix_asset_version}'),
|
|
|
|
|
'Shared browser asset version was not coupled to the new assets.');
|
|
|
|
|
|