fix(flutter): 剧场搜索框改为浅灰胶囊
This commit is contained in:
1 parent
63ace3b574
commit
eccd3c6dc1
2 files changed
+61
-47
No files matched your search
@@ -182,12 +182,18 @@ void main() {
|
||||
.decoration!
|
||||
as BoxDecoration;
|
||||
|
||||
expect(shell().borderRadius, BorderRadius.circular(20));
|
||||
expect((shell().border! as Border).top.color, AppColors.border);
|
||||
expect(shell().borderRadius, BorderRadius.circular(22));
|
||||
expect(shell().color, AppColors.commentInput);
|
||||
expect((shell().border! as Border).top.color, Colors.transparent);
|
||||
expect(
|
||||
tester.getSize(find.byKey(const Key('discover-search-shell'))).height,
|
||||
44,
|
||||
);
|
||||
|
||||
await tester.tap(find.byKey(const Key('discover-search')));
|
||||
await tester.pump(const Duration(milliseconds: 200));
|
||||
|
||||
expect(shell().color, AppColors.card);
|
||||
expect((shell().border! as Border).top.color, AppColors.blue);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user