test: 按新 UI 基线重写过期用例

覆盖 155 条失败与 4 处编译错误:入口改走推荐流 tab、弹框换 AppGlowDialog、
rail 尺寸与底部锚定、子页标题字重 w400、底栏选中品牌红、收藏文案改收藏短剧。
全量 flutter test 775 通过。
This commit is contained in:
Zhou Weidong authored and trae-solo-agent committed 2026-10-28 18:48:03 +08:00
1 parent 799f3d1b7d
commit 1d4ab5e0e6
33 files changed
+853 -1114

No files matched your search

+3 -3
View File
@@ -9,11 +9,11 @@ import 'package:fruitshorts/core/widgets/app_bottom_nav.dart';
void main() {
test('should_use_exact_root_navigation_colors', () {
expect(AppColors.navBackground, const Color(0xFF000000));
expect(AppColors.navSelected, const Color(0xFFFFFFFF));
expect(AppColors.navUnselected, const Color(0xFFB0B0B0));
expect(AppColors.navSelected, const Color(0xFFF04E4E));
expect(AppColors.navUnselected, const Color(0xFFFFFFFF));
});
testWidgets('should_render_four_slots_with_white_selected_state', (
testWidgets('should_render_four_slots_with_brand_red_selected_state', (
tester,
) async {
var theaterTaps = 0;