feat(app): 完善播放协议搜索与空状态
This commit is contained in:
1 parent
671e0ce143
commit
ef29fc5f15
85 files changed
+2976
-768
No files matched your search
@@ -61,6 +61,22 @@ void main() {
|
||||
expect(find.byKey(const Key('mine-account-devices')), findsOneWidget);
|
||||
expect(find.byKey(const Key('mine-account-export')), findsOneWidget);
|
||||
expect(find.byKey(const Key('mine-account-deactivate')), findsOneWidget);
|
||||
expect(find.byKey(const Key('settings-notices')), findsNothing);
|
||||
final profileTop = tester
|
||||
.getTopLeft(find.byKey(const Key('mine-account-profile')))
|
||||
.dy;
|
||||
final devicesTop = tester
|
||||
.getTopLeft(find.byKey(const Key('mine-account-devices')))
|
||||
.dy;
|
||||
final exportTop = tester
|
||||
.getTopLeft(find.byKey(const Key('mine-account-export')))
|
||||
.dy;
|
||||
final deactivateTop = tester
|
||||
.getTopLeft(find.byKey(const Key('mine-account-deactivate')))
|
||||
.dy;
|
||||
expect(devicesTop, greaterThan(profileTop));
|
||||
expect(exportTop, greaterThan(devicesTop));
|
||||
expect(deactivateTop, greaterThan(exportTop));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user