[FEATURE]: Testing/E2E-Proposal to integrate Cypress.js E2E test suite for critical user flows
@SYED-IRTEZA-HUSSAIN-RIZVI がすでに取り組んでいます。
2026年11月13日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- cypress, github-actions, node.js, typescript
調査の方向性
Read BestPracticesChecklist.md for the testing requirements this issue cites, then check package.json for existing scripts and the workflow files under .github/workflows to see how CI is wired. The work is to add cypress.config.ts, specs under cypress/e2e/, helper utilities for cy.intercept() mocks of the FastAPI streaming endpoints, the two npm scripts, and a CI job. Done means the suite runs headless in CI against mocked backends and covers routing, form submission, streaming states, responsive viewports and error fallbacks.
索引モデルが issue の本文から書いたものです。
説明
Feature and its Use Cases
What is the feature?
Introduce a dedicated Cypress.js-based automated End-to-End (E2E) testing suite for the Perspective frontend application, along with a GitHub Actions CI workflow to automatically execute tests on pull requests and commits targeting main branches.
Why is it needed?
The frontend contains dynamic streaming components, responsive user interface flows, interactive perspective analysis cards, form submissions, and multi-viewport layout handling. Without automated end-to-end testing, UI updates and refactoring can silently introduce user-facing regressions that are difficult to catch through manual verification alone.
The test infrastructure will provide:
- Automated E2E regression coverage for critical user journeys
- Faster feedback cycles during frontend development and code reviews
- Deterministic test execution by mocking network responses (cy.intercept()) for backend FastAPI streaming endpoints
- Multi-viewport layout validation across desktop and mobile screen sizes
- Continuous execution and assertion through automated GitHub Actions CI workflows
- A maintainable foundation for future frontend testing expansion
The initial test suite should cover:
- Core page routing and navigation bar interactions
- Input form submission and state transition handling
- LLM streaming state simulation with intercepted mock API responses
- Responsive layout behavior across mobile and desktop viewports
- Error handling UI and graceful fallback states for API/network failures
- External dependencies and backend API calls (such as FastAPI analysis endpoints) should be intercepted or isolated where appropriate so frontend E2E tests do not depend on live backend uptime, API keys, network latency, or rate limits.
Expected Outcome
- Dedicated frontend Cypress.js E2E test suite setup (cypress.config.ts, cypress/e2e/ specs, and helper utilities)
- Clean npm scripts added to package.json (
npm run test:e2eandnpm run test:e2e:open) - Automated frontend test execution integrated into GitHub Actions CI
- High-priority user journey coverage isolated from external API dependencies via mocking
- A solid testing foundation for progressively expanding E2E coverage as new features are added
Scope: This issue is limited to frontend end-to-end testing infrastructure, Cypress configuration, spec file creation, and CI workflow integration. It does not modify the application's production behavior or introduce new user-facing features.
Additional Context
This feature directly supports the automated testing requirements outlined in BestPracticesChecklist.md: particularly around test invocation, automated CI validation, and end-to-end test coverage.
Additional Context
No response
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- 主要言語
- TypeScript
- スター
- 58
- フォーク
- 90
- 平均マージ
- 11時間 51分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/Perspective のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
AOSSIE-Org/Perspective#191 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
AOSSIE-Org/Perspective#190 ·
-
[BUG]: Missing input validation in URlRequest and ChatQuery causes 500 crashes and wasteful scraper execution対応中かも @agarwalpranav0711 が 25 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
AOSSIE-Org/Perspective#178 ·
-
[BUG]: chunk_rag_data crashes with ValueError when perspective is a dict, silently dropping RAG vector storage対応中かも @agarwalpranav0711 が 36 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AOSSIE-Org/Perspective#175 ·
-
[BUG]: Scraper passes headers as query params in requests.get (User-Agent never sent)対応中かも @Th-Shivam が 50 日前に担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
AOSSIE-Org/Perspective#161 · コメント 1 件 ·
AOSSIE-Org/Perspective の issue をすべて見る
似ている issue
-
documentation lens:human needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
thebristolsound/birdbrain#2246 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug ready-for-human
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
BoardGamesEmpire/board-games-empire-backend#1452 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue stretch
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信