Resync the vendored design system (dash-free upstream) and check it too
CI / Lint (eslint) (push) Failing after 44s
CI / Test (jest) (push) Successful in 24s
CI / Security (npm audit) (push) Successful in 7s
CI / Integration (api) (push) Successful in 1m13s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m21s
CI / Lint (eslint) (pull_request) Failing after 18s
CI / UI (playwright) (push) Successful in 2m9s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Test (jest) (pull_request) Successful in 18s
CI / Security (npm audit) (pull_request) Successful in 29s
CI / Integration (api) (pull_request) Successful in 2m23s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m19s
CI / UI (playwright) (pull_request) Successful in 1m34s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / Lint (eslint) (push) Failing after 44s
CI / Test (jest) (push) Successful in 24s
CI / Security (npm audit) (push) Successful in 7s
CI / Integration (api) (push) Successful in 1m13s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m21s
CI / Lint (eslint) (pull_request) Failing after 18s
CI / UI (playwright) (push) Successful in 2m9s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Test (jest) (pull_request) Successful in 18s
CI / Security (npm audit) (pull_request) Successful in 29s
CI / Integration (api) (pull_request) Successful in 2m23s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m19s
CI / UI (playwright) (pull_request) Successful in 1m34s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
public/web_template is now web_template 8286bb2, which removed every em and en dash (web_template#3, approved with screenshots). Pulse's copy was byte-identical to the previous upstream bbec859, so the only changes are upstream's: hyphens in comments, '-' for empty values in lt.fmt, and 'ALL SYSTEMS NOMINAL: PULSE' / offline banner and toast rewording. - The CI dash check no longer excludes public/web_template. - UI tests: no page renders an em or en dash; the boot screen reads 'ALL SYSTEMS NOMINAL: PULSE'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e167e2f3b8
commit
599a62f010
6 files changed
+171
-153
No files matched your search
@@ -43,3 +43,21 @@ test('quick command offers every online worker', async ({ page }) => {
|
||||
await page.goto('/quick');
|
||||
await expect(page.locator('#qc-worker option', { hasText: 'online' })).toHaveCount(3);
|
||||
});
|
||||
|
||||
test('no page shows an em or en dash (house style)', async ({ page }) => {
|
||||
for (const p of PAGES) {
|
||||
await page.goto(p.path);
|
||||
await page.waitForLoadState('networkidle');
|
||||
const text = await page.evaluate(() => document.title + '\n' + document.body.innerText);
|
||||
const hits = text.split('\n').filter(l => /[–—]/.test(l));
|
||||
expect(hits, `${p.path} shows dashes`).toEqual([]);
|
||||
}
|
||||
});
|
||||
|
||||
test.describe('first visit in a session', () => {
|
||||
test('the boot screen names the app without a dash', async ({ page }) => {
|
||||
await page.addInitScript(() => { try { sessionStorage.removeItem('lt_boot'); } catch (e) { /* ignore */ } });
|
||||
await page.goto('/');
|
||||
await expect(page.locator('#lt-boot-text')).toContainText('ALL SYSTEMS NOMINAL: PULSE', { timeout: 15_000 });
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user