test: 按新 UI 基线重写过期用例
覆盖 155 条失败与 4 处编译错误:入口改走推荐流 tab、弹框换 AppGlowDialog、 rail 尺寸与底部锚定、子页标题字重 w400、底栏选中品牌红、收藏文案改收藏短剧。 全量 flutter test 775 通过。
This commit is contained in:
1 parent
799f3d1b7d
commit
1d4ab5e0e6
33 files changed
+853
-1114
No files matched your search
@@ -18,8 +18,8 @@ double _contrast(Color foreground, Color background) {
|
||||
|
||||
void main() {
|
||||
test('should_expose_dark_visual_tokens', () {
|
||||
expect(AppColors.blue, const Color(0xFFFF6B2C));
|
||||
expect(AppColors.bluePressed, const Color(0xFFE55A1F));
|
||||
expect(AppColors.blue, const Color(0xFFF04E4E));
|
||||
expect(AppColors.bluePressed, const Color(0xFFD64040));
|
||||
expect(AppColors.secondary, const Color(0xFFB0B0B0));
|
||||
expect(AppColors.ink, const Color(0xFF000000));
|
||||
expect(AppColors.card, const Color(0xFF16161A));
|
||||
|
||||
Reference in new issue
Block a user