feat: add heading hierarchy checker script and npm script
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
"test:smoke": "playwright test --grep @smoke",
|
"test:smoke": "playwright test --grep @smoke",
|
||||||
"test:report": "allure generate test-results/allure-results && allure open",
|
"test:report": "allure generate test-results/allure-results && allure open",
|
||||||
"check:contrast": "tsx scripts/check-color-contrast.ts",
|
"check:contrast": "tsx scripts/check-color-contrast.ts",
|
||||||
|
"check:headings": "tsx scripts/check-heading-hierarchy.ts",
|
||||||
"audit:performance": "node scripts/performance-audit.js",
|
"audit:performance": "node scripts/performance-audit.js",
|
||||||
"audit:seo": "node scripts/seo-check.js",
|
"audit:seo": "node scripts/seo-check.js",
|
||||||
"audit:accessibility": "node scripts/accessibility-test.js",
|
"audit:accessibility": "node scripts/accessibility-test.js",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
import { chromium } from "playwright";
|
||||||
Reference in New Issue
Block a user