feat(mobile): UI-03 theme calibration and account pages (01-04)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-22 00:28:39 +08:00
parent 9d521ff9da
commit 95e8417553
14 changed files with 1462 additions and 234 deletions
@@ -86,7 +86,7 @@ void main() {
await pumpOverMarker(tester, clientOf(adapter));
await fill(tester, newPw: 'short7', confirmPw: 'short7');
await tester.tap(find.widgetWithText(FilledButton, 'Change password'));
await tester.tap(find.widgetWithText(FilledButton, 'Save password'));
await tester.pump();
expect(
@@ -102,7 +102,7 @@ void main() {
await pumpOverMarker(tester, clientOf(adapter));
await fill(tester, confirmPw: 'different-pass-9');
await tester.tap(find.widgetWithText(FilledButton, 'Change password'));
await tester.tap(find.widgetWithText(FilledButton, 'Save password'));
await tester.pump();
expect(
@@ -122,7 +122,7 @@ void main() {
await pumpOverMarker(tester, clientOf(adapter));
await fill(tester);
await tester.tap(find.widgetWithText(FilledButton, 'Change password'));
await tester.tap(find.widgetWithText(FilledButton, 'Save password'));
await tester.pumpAndSettle();
expect(find.text('Current password is incorrect'), findsOneWidget);
@@ -141,7 +141,7 @@ void main() {
await pumpOverMarker(tester, clientOf(adapter));
await fill(tester);
await tester.tap(find.widgetWithText(FilledButton, 'Change password'));
await tester.tap(find.widgetWithText(FilledButton, 'Save password'));
await tester.pumpAndSettle();
final req = adapter.requests.single;