doa-e2etest-e7282f — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited doa-e2etest-e7282f (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Playwright 端到端测试全流程 skill:从环境搭建到生成精美的 HTML/PDF 测试报告。
package.json 确认框架(React/Vue/Next.js/Angular 等) npm install -D @playwright/testnpx playwright install chromiumchannel: 'msedge'channel: 'chrome'baseURL、channel、testDir 等 {
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui"
}routes/index.tsx 等)e2e/{module}.spec.tstest('应显示登录表单', ...))getByRole、getByText、getByPlaceholder)login 辅助函数describe 块使用 beforeEach 处理前置条件/登\s*录/networkidle 等待确保页面资源完全加载.ant-result-title)webServer 配置自动启动 npx playwright test --reporter=list npx playwright test --reporter=json 2>$null | Out-File -Encoding utf8 playwright-report/results.jsonplaywright-report/results.jsonplaywright-report/detailed-report.html const { chromium } = require('playwright');
const browser = await chromium.launch({ channel: 'msedge' });
const page = await browser.newPage();
await page.goto('file:///path/to/detailed-report.html', { waitUntil: 'networkidle' });
await page.pdf({
path: 'playwright-report/E2E测试报告.pdf',
format: 'A4',
printBackground: true,
margin: { top: '10mm', bottom: '10mm', left: '10mm', right: '10mm' }
});
await browser.close();playwright-report/E2E测试报告.pdfplaywright-report/detailed-report.html — 可交互 HTML 报告playwright-report/E2E测试报告.pdf — 可打印 PDF 报告playwright-report/results.json — 原始 JSON 数据--primary: #006D75; /* 主题主色 */
--primary-light: #E6FFFB;
--success: #52C41A;
--success-bg: #F6FFED;
--error: #FF4D4F;
--error-bg: #FFF2F0;
--text: #1F1F1F;
--text-secondary: #595959;
--border: #F0F0F0;
--bg: #FAFAFA;报告应根据项目品牌色自动调整,读取项目 CSS 变量或 Ant Design 主题配置。
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.