Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
chore: update qa evidence signed Linear flow (#7071)
Suchintan9842cb532706
diff --git a/tests/unit/test_qa_skill_content.py b/tests/unit/test_qa_skill_content.pyindex 7ff8877ce..04f15c41c 100644--- a/tests/unit/test_qa_skill_content.py+++ b/tests/unit/test_qa_skill_content.py@@ -13,6 +13,7 @@ from tests.unit.skill_test_helpers import first_nonempty_line_after_h1ROOT = Path(__file__).resolve().parents[2]BUNDLED_QA_SKILL = ROOT / "skyvern" / "cli" / "skills" / "qa" / "SKILL.md"CLAUDE_QA_SKILL = ROOT / ".claude" / "skills" / "qa" / "SKILL.md"+CLAUDE_QA_EVIDENCE_SKILL = ROOT / ".claude" / "skills" / "qa-evidence" / "SKILL.md"_needs_cloud_repo = pytest.mark.skipif(not CLAUDE_QA_SKILL.exists(),@@ -115,6 +116,28 @@ def test_qa_pr_evidence_markers_present() -> None:assert "gh pr comment" in QA_TEST_CONTENT+ not CLAUDE_QA_EVIDENCE_SKILL.exists(),+ reason=".claude/skills/qa-evidence/SKILL.md not present (OSS checkout)",+)+def test_qa_evidence_skill_mentions_linear_signed_upload_flow() -> None:+ skill_text = CLAUDE_QA_EVIDENCE_SKILL.read_text(encoding="utf-8")+ required_markers = [+ "GitHub has no public API",+ "GraphQL `fileUpload`",+ "public-file-urls-expire-in",+ "fileUpload(filename: $filename, contentType: $contentType, size: $size)",+ "commentCreate(input: { issueId: $issueId, body: $body })",+ "Do **not** embed the unsigned `assetUrl`",+ "31536000",+ "`<=3600` seconds",+ "warm GitHub's camo proxy",+ "github-pr-screenshot-evidence",+ ]+ for marker in required_markers:+ assert marker in skill_text++@_needs_cloud_repodef test_validate_skills_package_script_passes() -> None:result = subprocess.run(