AOSSIE-Org / AOSSIE-Org/DocPilot

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

Abierto
#40 1 comentario 0 reacciones 0 asignados Ver en GitHub
stale
Lenguaje dominante
Dart
Estrellas
18
Forks
24
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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).

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.