mirror of
https://github.com/block/buzz.git
synced 2026-10-28 13:01:10 +00:00
Check continuous scanner expansion independently of speed
Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz> Signed-off-by: kenny lopez <klopez4212@gmail.com>
This commit is contained in:
@@ -193,13 +193,17 @@ void main() {
|
||||
|
||||
await tester.pump(const Duration(milliseconds: 12));
|
||||
final firstOpeningFrame = tester.getRect(portal);
|
||||
expect(firstOpeningFrame.height, inExclusiveRange(36, 50));
|
||||
expect(firstOpeningFrame.height, inExclusiveRange(36, 363));
|
||||
await tester.pump(const Duration(milliseconds: 218));
|
||||
expect(
|
||||
tester.widget<Opacity>(prompt).opacity,
|
||||
tester.widget<Opacity>(camera).opacity,
|
||||
);
|
||||
expect(tester.widget<Opacity>(prompt).opacity, inExclusiveRange(0, 1));
|
||||
expect(
|
||||
tester.getRect(portal).height,
|
||||
greaterThan(firstOpeningFrame.height),
|
||||
);
|
||||
final openingRadius =
|
||||
(tester.widget<ClipRSuperellipse>(portal).borderRadius
|
||||
as BorderRadius)
|
||||
|
||||
Reference in New Issue
Block a user