Remove the 'demo' wording from gallery (#15640)
This commit is contained in:
@@ -20,7 +20,7 @@ void main() {
|
||||
|
||||
|
||||
// Scroll the Buttons demo into view so that a tap will succeed
|
||||
final Offset allDemosOrigin = tester.getTopRight(find.text('Demos'));
|
||||
final Offset allDemosOrigin = tester.getTopRight(find.text('Vignettes'));
|
||||
final Finder button = find.text('Buttons');
|
||||
while (button.evaluate().isEmpty) {
|
||||
await tester.dragFrom(allDemosOrigin, const Offset(0.0, -200.0));
|
||||
|
||||
@@ -37,7 +37,7 @@ void main() {
|
||||
await tester.pump(const Duration(seconds: 1)); // end animation
|
||||
|
||||
// Open Demos
|
||||
await tester.tap(find.text('Demos'));
|
||||
await tester.tap(find.text('Vignettes'));
|
||||
await tester.pump(); // start animation
|
||||
await tester.pump(const Duration(seconds: 1)); // end animation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user