웹 smook 테스트 분리, helper 경로, 수동 증빙 정리를 통해 마일스톤 완료 근거를 milestone 기준으로 반영해 로드맵 상태를 검토중으로 맞췄다.
47 lines
2.7 KiB
Text
47 lines
2.7 KiB
Text
# Complete - m-flutter-web-notification-smoke/03_chrome_tests
|
|
|
|
## 완료 일시
|
|
|
|
2026-06-08
|
|
|
|
## 요약
|
|
|
|
Chrome/web notification test separation task completed in 1 review loop with final verdict PASS.
|
|
|
|
## 루프 이력
|
|
|
|
| Plan | Review | Verdict | 메모 |
|
|
|------|--------|---------|------|
|
|
| `plan_cloud_G07_0.log` | `code_review_cloud_G07_0.log` | PASS | VM-only unsupported assertions were split, browser Notification support tests were added, and Chrome opt-in verification passed with `CHROME_EXECUTABLE`. |
|
|
|
|
## 구현/정리 내용
|
|
|
|
- Moved non-web browser notification permission assertions into `packages/messaging_flutter/test/nexo_messaging_vm_test.dart` with `@TestOn('vm')`.
|
|
- Added `packages/messaging_flutter/test/nexo_messaging_web_test.dart` with `@TestOn('browser')` to verify Chrome runtime Notification API support and plugin permission status without prompting.
|
|
- Kept shared `packages/messaging_flutter/test/nexo_messaging_test.dart` platform-neutral for browser permission expectations.
|
|
- Verified the root `bin/test` opt-in Chrome route with `NEXO_FLUTTER_WEB_TEST=1` and documented the helper flag in `README.md`.
|
|
|
|
## 최종 검증
|
|
|
|
- `cd packages/messaging_flutter && flutter test test/nexo_messaging_vm_test.dart` - PASS; `00:00 +2: All tests passed!`
|
|
- `cd packages/messaging_flutter && flutter test` - PASS; `00:00 +44: All tests passed!`
|
|
- `cd packages/messaging_flutter && CHROME_EXECUTABLE=/config/.cache/ms-playwright/chromium-1178/chrome-linux/chrome flutter test --platform chrome test/nexo_messaging_web_test.dart` - PASS; `00:00 +2: All tests passed!`
|
|
- `bash -n bin/test` - PASS; `bash-n-exit=0`
|
|
- `bin/test` - PASS; package VM tests and `apps/flutter-test` tests passed, Chrome route emitted the expected opt-in skip message, and core Go tests were skipped by flag.
|
|
- `CHROME_EXECUTABLE=/config/.cache/ms-playwright/chromium-1178/chrome-linux/chrome NEXO_FLUTTER_WEB_TEST=1 bin/test` - PASS; package VM tests, package Chrome tests, and `apps/flutter-test` tests passed, while optional core Go tests were skipped by flag.
|
|
- `cd packages/messaging_flutter && flutter analyze --no-fatal-infos` - PASS; `No issues found!`
|
|
|
|
## Roadmap Completion
|
|
|
|
- Milestone: `agent-roadmap/phase/messaging-runtime/milestones/flutter-web-notification-smoke.md`
|
|
- Completed task ids:
|
|
- `chrome-tests`: PASS; evidence=`agent-task/archive/2026/06/m-flutter-web-notification-smoke/03_chrome_tests/plan_cloud_G07_0.log`, `agent-task/archive/2026/06/m-flutter-web-notification-smoke/03_chrome_tests/code_review_cloud_G07_0.log`; verification=`CHROME_EXECUTABLE=/config/.cache/ms-playwright/chromium-1178/chrome-linux/chrome NEXO_FLUTTER_WEB_TEST=1 bin/test`
|
|
- Not completed task ids: 없음
|
|
|
|
## 잔여 Nit
|
|
|
|
- 없음
|
|
|
|
## 후속 작업
|
|
|
|
- 없음
|