AOSSIE-Org / AOSSIE-Org/DocPilot

fix: widget_test.dart is a default counter test and will always fail

未關閉
#40 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
stale
主要語言
Dart
星號
18
分支
24
PR 合併指標
30 天內沒有已合併 PR

描述

## Description

The file `test/widget_test.dart` is the default Flutter counter app test from `flutter create`. It tests for a counter widget (`find.text('0')`, `find.byIcon(Icons.add)`) that does not exist in DocPilot.

This test will **always fail** because DocPilot is a transcription app, not a counter app. This makes any CI pipeline unreliable.

## Current Content

```dart
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
await tester.pumpWidget(const MyApp());
expect(find.text('0'), findsOneWidget); // DocPilot has no '0' text
expect(find.text('1'), findsNothing);
await tester.tap(find.byIcon(Icons.add)); // DocPilot has no '+' icon
...
});
```

## Expected Fix

Replace with a basic smoke test that verifies DocPilot renders its main UI elements (app title, microphone button).

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。