landing-ecosystem-css.test.mjs
30 lines 1.2 KB
Raw
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd feat(calendar): enforce agent context tiers in retrieval AP… Human minor ⚠ breaking 2 days ago
1 import { describe, it } from 'node:test';
2 import assert from 'node:assert';
3 import { readFileSync } from 'node:fs';
4 import { fileURLToPath } from 'node:url';
5 import { dirname, join } from 'node:path';
6
7 const root = join(dirname(fileURLToPath(import.meta.url)), '..');
8 const indexHtml = readFileSync(join(root, 'web', 'index.html'), 'utf8');
9
10 describe('landing page ecosystem vision section CSS', () => {
11 it('uses text-shadow on the Ecosystem visions title (tight glyph glow)', () => {
12 assert.match(
13 indexHtml,
14 /\.ecosystem-vision-heading-wrap \.flow-intro-title\s*\{[^}]*text-shadow/s
15 );
16 });
17
18 it('does not use a wide ::before blob on the heading wrap', () => {
19 assert.ok(!indexHtml.includes('.ecosystem-vision-heading-wrap::before'));
20 });
21
22 it('applies a section-level radial gradient behind content', () => {
23 assert.match(indexHtml, /\.ecosystem-vision-section::before/s);
24 assert.match(indexHtml, /\.ecosystem-vision-section::before\s*\{[^}]*radial-gradient/s);
25 });
26
27 it('does not add a boxed glow pseudo behind Future Facing Architecture', () => {
28 assert.ok(!indexHtml.includes('.ecosystem-architecture-title::before'));
29 });
30 });
File History 2 commits
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd feat(calendar): enforce agent context tiers in retrieval AP… Human minor 2 days ago
sha256:9103f98c89257ed2b01c237cea895dabb3e85ea337dccb1161c175e4422355b6 docs: accept Calendar Events v0 spec with Phase 0 security … Human 2 days ago