Skip to content

test: add generated playwright cases for add-quest-smart-ranking#8

Open
Kai-Li-Galxe wants to merge 1 commit intomainfrom
test/spec-quest-smart-ranking-20260325
Open

test: add generated playwright cases for add-quest-smart-ranking#8
Kai-Li-Galxe wants to merge 1 commit intomainfrom
test/spec-quest-smart-ranking-20260325

Conversation

@Kai-Li-Galxe
Copy link
Collaborator

Summary

Generated Playwright test cases based on OpenSpec add-quest-smart-ranking.

New Files

  • test/playwright/spec-quest-smart-ranking-20260325/case.ts — 27 structured test cases
  • test/playwright/spec-quest-smart-ranking-20260325/quest-smart-ranking.spec.ts — 27 executable Playwright tests
  • test/playwright/spec-quest-smart-ranking-20260325/types.ts — shared types
  • test/playwright/spec-quest-smart-ranking-20260325/index.ts — barrel export

Test Coverage

Module Cases Priority
Navigation Bar 3 2 High, 1 Low
Explore All Tab 6 3 High, 3 Medium
Campaign Card 9 7 High, 1 Medium, 1 Low
Explore More Card 5 4 High, 1 Medium
Event Tracking 3 2 High, 1 Medium
Table Header 1 1 Medium
Total 27 19 High, 6 Medium, 2 Low

Script

pnpm pw:spec:quest-smart-ranking

Notion Test Plan

Test Plan - add-quest-smart-ranking - 2026-03-25

- New test directory: spec-quest-smart-ranking-20260325
- case.ts: 27 structured test cases (19 high, 6 medium, 2 low)
- quest-smart-ranking.spec.ts: 27 Playwright tests covering:
  - Navigation Bar Smart Ranking entry
  - Explore All Smart Ranking Tab with 4 sub-leaderboards
  - Campaign card fields, Top 3 icons, ranking arrows, differentiated last columns
  - Explore More Smart Ranking card insertion by userTag
  - Event tracking (view/click)
  - Footer link
- package.json: added pw:spec:quest-smart-ranking script
- README-claw.md: appended script documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant