update consolePlugin chart template from v1alpha1 to v1

Description
consolePlugin chart template for mce was updated from apiVersion v1alpha1 to v1
Related Issue
https://issues.redhat.com/browse/ACM-12354
Changes Made
consolePlugin chart template for mce was updated from apiVersion v1alpha1 to v1
Checklist

[ ] I have tested the changes locally and they are functioning as expected.
[ ] I have updated the documentation (if necessary) to reflect the changes.
[ ] I have added/updated relevant unit tests (if applicable).
[ ] I have ensured that my code follows the project's coding standards.
[ ] I have checked for any potential security issues and addressed them.
[ ] I have added necessary comments to the code, especially in complex or unclear sections.
[ ] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[ ] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/hold

/lgtm

/cherry-pick backplane-2.6


Solutions page: CTA section is not aligned and text is overlapping

Jeff would like this fix included in the v1.9.0 hot fix
@Praveen-sr commented on Mon Jul 20 2020
Detailed description
Issue :- CTA Section is not aligned properly and the text is overlapping
Additional information

This issue isn't related to the ibmdotcom library, I needed to add grid system for CTASection on the Solution Page so the PR is the one above.


refactor(core): localization

Note: Review by commit if needed.
What/Why?
The PR addresses missing translations on some pages and aims to normalize how translations are handled throughout the project.
Configuration Changes

Updated next-intl version and adjusted the configuration accordingly.
Renamed navigation.ts to routing.ts for consistency with documentation.
Introduced the defineRouting function.
Simplified the translation setup by using a single NextIntlClientProvider in RootLayout to pass all messages, making the use of next-intl hooks in client components easier.
Standardized the use of translation hooks by:

Using useTranslations in both client and server components without async functions.
Using await getTranslations in server components with async functions.
Same case for formatter.

Removed the need to pass the locale to these hooks (not needed).

Translations

Added translations for all strings, except those in components/ui.
Shuffle translations to have pages as parent groups.
Renamed some translations keys for clarity.
Add Components root group for better organization.

Docs

Updated docs to match new use cases.

Testing
Locally translations work.

@bc-andreadao For this PR I updated the docs to better showcase the simplified use of translations. Please let me know if you have any feedback. Thanks!

ℹ Hide whitespace changes helps with review

Thanks @jorgemoya !


Missing file extensions for multi-line imports

Thank you for your work on this project. It is (nearly) perfect for my use case. I'm authoring a pure ESM library in typescript, so the addition of file extensions to imports is very very nice.
However, I've seemed to find a bug... If import statements are over multiple lines, the file extensions does not seem to be resolved in the output (making the ESM dist incompatible with Node and the browser).
Example
// src/index.ts
import { a } from './a';
import {
  b
} from './b';
export { a, b }

$ mkdist

// dist/index.mjs
import { a } from './a.mjs';
import {
  b
} from './b'; // <- .mjs missing, breaks ESM
export { a, b }

This is the commit where I changed imports and things started working correctly: manzt/zarrita.js@bd6706a (#29)

It appears this comes from the regex in make.ts:
https://github.com/unjs/mkdist/blob/01bd97189ef64a23670245fc22d125db68df807d/src/make.ts#L89
https://regex101.com/r/bLBOuI/1


Scrolling and Tap not working in flutter driver

Steps to Reproduce
I have been using driver.scroll(...) and driver.tap(...) elsewhere, but have been unable to automate this particular game since tap and scroll time outs even though an unique key is being assigned to each of the element.

  Widget _buildItem(int index, String text, Status status, ShakeCell shaker) {
    return new MyButton(
        key: new ValueKey<int>(index),
        text: text,
        status: status,
        shaker: shaker,
        onPress: () {
          print("Pressed Index: ${index}");
          print("Pressed Text: ${text}");
          print("Pressed Statuses before checking: ${_statuses}");

          int numOfVisible = _statuses.fold(0,(prev, element) => element == Status.Visible ? prev + 1 : prev);

          if (_pressedTileIndex == index || _statuses[index] == Status.Visible || numOfVisible >= 2 || cnt > 2)
            return;

          cnt++;

          setState(() {
            _statuses[index] = Status.Visible;
          });

          print("Pressed Statuses1: ${_statuses}");

          if (cnt == 2) {
            if (_pressedTile == text) {
              new Future.delayed(const Duration(milliseconds: 250), () {
                setState(() {
                  _letters[_pressedTileIndex] = null;
                  _letters[index] = null;
                  _statuses[_pressedTileIndex] = Status.Disappear;
                  _statuses[index] = Status.Disappear;
                  _pressedTileIndex = -1;
                  _pressedTile = null;
                  cnt = 0;
                });
              });

              _matched++;
              widget.onScore(2);
              widget.onProgress((_progressCnt) / (_allLetters.length / 2));
              _progressCnt++;

              print("Rajesh-Matched${_matched}");
              if (_matched == 8) {
                _matched = 0;
                new Future.delayed(const Duration(milliseconds: 250), () {
                  print("Rajesh Game-End");
                  widget.onEnd();
                });
              }
              print("Pressed Statuses2: ${_statuses}");
              print("Matched");
            }
            else {
              new Future.delayed(const Duration(milliseconds: 50), () {
                setState(() {
                  _shaker[_pressedTileIndex] = ShakeCell.Wrong;
                  _shaker[index] = ShakeCell.Wrong;
                });
              });

              new Future.delayed(const Duration(milliseconds: 500), () {
                setState(() {
                  _shaker[_pressedTileIndex] = ShakeCell.Right;
                  _shaker[index] = ShakeCell.Right;
                });
              });

              new Future.delayed(const Duration(milliseconds: 800), () {
                setState(() {
                  _statuses[_pressedTileIndex] = Status.Hidden;
                  _statuses[index] = Status.Hidden;
                  _pressedTileIndex = -1;
                  _pressedTile = null;
                  cnt = 0;
                });
                print("Pressed Statuses3: ${_statuses}");
              });

              print("Unmatched");
            }
            print("Pressed Statuses4: ${_statuses}");
            return;
          }
          _pressedTileIndex = index;
          _pressedTile = text;
        });
  }

  @override
  Widget build(BuildContext context) {
    print("MyTableState.build");
    MediaQueryData media = MediaQuery.of(context);
    print(media);
    if (_isLoading) {
      return new SizedBox(
        width: 20.0,
        height: 20.0,
        child: new CircularProgressIndicator(),
      );
    }
    int j = 0;
    return new ResponsiveGridView(
      rows: _size,
      cols: _size,
      children: _letters
          .map((e) => _buildItem(j, e, _statuses[j], _shaker[j++]))
          .toList(growable: false),
    );
  }
}

class MyButton extends StatefulWidget {
  MyButton({Key key, this.text, this.status, this.shaker, this.onPress})
      : super(key: key);

  final String text;
  Status status;
  ShakeCell shaker;
  final VoidCallback onPress;

  @override
  _MyButtonState createState() => new _MyButtonState();
}

class _MyButtonState extends State<MyButton> with TickerProviderStateMixin {
  AnimationController controller, shakeController;
  Animation<double> animation, shakeAnimation;
  AnimationController flipController;
  String _displayText;

  initState() {
    super.initState();
    print("_MyButtonState.initState: ${widget.text}");
    _displayText = widget.text;
    controller = new AnimationController(duration: new Duration(milliseconds: 250), vsync: this);
    shakeController = new AnimationController(duration: new Duration(milliseconds: 40), vsync: this);
    flipController = new AnimationController(duration: new Duration(milliseconds: 250), vsync: this);
    animation = new CurvedAnimation(parent: controller, curve: Curves.easeIn)
      ..addStatusListener((state) {
        print("$state:${animation.value}");
        if (state == AnimationStatus.dismissed) {
          print('dismissed');
          if (widget.text != null) {
            setState(() => _displayText = widget.text);
            controller.forward();
          }
        }
      });
    controller.forward().then((f){flipController.reverse();});

    shakeAnimation = new Tween(begin: -6.0, end: 6.0).animate(shakeController);
    _myAnim();
  }

  void _myAnim() {
    shakeAnimation.addStatusListener((status) {
      if (status == AnimationStatus.completed) {
        shakeController.reverse();
      } else if (status == AnimationStatus.dismissed) {
        shakeController.forward();
      }
    });
    shakeController.forward();
  }

   @override
  void dispose() {
    shakeController.dispose();
    controller.dispose();
    super.dispose();
  }

  @override
  void didUpdateWidget(MyButton oldWidget) {
    print("Rajesh");
    super.didUpdateWidget(oldWidget);
    if (oldWidget.text == null && widget.text != null) {
        flipController.reverse();
       print("Rajesh1");
      _displayText = widget.text;
      controller.forward();
    } else if (oldWidget.text != widget.text) {
       print("Rajesh2");
      controller.reverse();
    } else {
       print("Rajesh3");
      if (oldWidget.status != widget.status) {
         print("Rajesh4");
        if (widget.status == Status.Visible) {
           print("Rajesh5");
          flipController.forward();
        } else {
           print("Rajesh6");
          flipController.reverse();
        }
      }
    }
    print("_MyButtonState.didUpdateWidget: ${widget.text} ${oldWidget.text}");
  }

  @override
  Widget build(BuildContext context) {

    print("_MyButtonState.build");
    return new Shake(
        animation:
            widget.shaker == ShakeCell.Wrong ? shakeAnimation : animation,
        child: new FlipAnimator(
            controller: flipController,
            front: new ScaleTransition(
                scale: animation,
                child: new RaisedButton(
                    onPressed: () => widget.onPress(),
                    padding: const EdgeInsets.all(8.0),
                    color: Colors.teal,
                    shape: new RoundedRectangleBorder(
                        borderRadius:
                            const BorderRadius.all(const Radius.circular(4.0))),
                    child: new Text(_displayText,
                        style: new TextStyle(
                            color: Colors.white, fontSize: 24.0)))),
            back: new RaisedButton(
                onPressed: () => widget.onPress(),
                padding: const EdgeInsets.all(8.0),
                color: Colors.teal,
                shape: new RoundedRectangleBorder(
                    borderRadius:
                        const BorderRadius.all(const Radius.circular(8.0))),
                child: new Text(' ',
                    style:
                        new TextStyle(color: Colors.teal, fontSize: 24.0)))));
  }
}

I am not sure if the problem lies with the Shake class or using the responsive grid because its been working fine in other games.
This is the flutter driver script that I am using for automating the test:
import 'dart:async';
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart';

const Duration kWaitBetweenActions = const Duration(milliseconds: 1000);

void main() {
  group('login', () {
    FlutterDriver driver;
    setUpAll(() async {
      driver = await FlutterDriver.connect();
    });

    tearDownAll(() async {
    if (driver != null)
      await driver.close();
     });

    test('task', () async {
      final SerializableFinder user = find.byValueKey('user-Chimple');
      await driver.tap(user);
      final SerializableFinder game = find.text('Game');
      await driver.tap(game);

      final SerializableFinder memory = find.byValueKey('memory');
      await driver.tap(memory);

      final SerializableFinder upc = find.text('Upper Case Letters');
      await driver.tap(upc);

      final SerializableFinder mode = find.byValueKey('single');
      await driver.tap(mode);

      final SerializableFinder index = find.byValueKey(0);
      await driver.tap(index);
    });
  });
}

Logs

00:12 +0 -1: login task [E]
  DriverError: Error in Flutter application: Timeout while executing tap: TimeoutException after 0:00:05.000000: Future not completed
  #0      FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:168:31)
  <asynchronous suspension>
  #1      BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart:370:32)
  <asynchronous suspension>
  #2      _runExtension (dart:developer/runtime/libdeveloper.dart:85:23)
  #3      Widget.canUpdate (package:flutter/src/widgets/framework.dart:432:15)
  #4      Element.update (package:flutter/src/widgets/framework.dart:2745:19)
  #5      RenderObjectElement.update (package:flutter/src/widgets/framework.dart:4268:11)
  #6      SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4642:11)
  #7      Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #8      SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
  #9      Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #10     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
  #11     Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
  #12     StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
  #13     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #14     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
  #15     Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
  #16     StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
  #17     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #18     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
  #19     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #20     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
  #21     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #22     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
  #23     Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
  #24     StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
  #25     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #26     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
  #27     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #28     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
  #29     Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
  #30     StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
  #31     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #32     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4362:32)
  #33     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4752:17)
  #34     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #35     _TheatreElement.update (package:flutter/src/widgets/overlay.dart:507:16)
  #36     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #37     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
  #38     Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
  #39     StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
  #40     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #41     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
  #42     Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
  #43     ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
  #44     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #45     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
  #46     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #47     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
  #48     Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
  #49     StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
  #50     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #51     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
  #52     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #53     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
  #54     Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
  #55     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
  #56     Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
  #57     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2225:33)
  #58     __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:621:20)
  #59     __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
  #60     __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
  #61     __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
  #62     __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
  #63     _invoke (dart:ui/hooks.dart:120:13)
  #64     _drawFrame (dart:ui/hooks.dart:109:3)

  Original error: null
  Original stack trace:
  null

  package:flutter_driver/src/driver/driver.dart 342:7           FlutterDriver._sendCommand
  ===== asynchronous gap ===========================
  dart:async/future_impl.dart 22                                _Completer.completeError
  package:flutter_driver/src/driver/driver.dart                 FlutterDriver._sendCommand
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1055                                     _CustomZone.registerUnaryCallback
  dart:async-patch/dart:async/async_patch.dart 77               _asyncThenWrapperHelper
  package:flutter_driver/src/driver/driver.dart 319:68          FlutterDriver._sendCommand
  package:flutter_driver/src/driver/driver.dart 368:11          FlutterDriver.tap
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1047                                     _CustomZone.registerCallback
  dart:async/zone.dart 964                                      _CustomZone.bindCallbackGuarded
  dart:async/schedule_microtask.dart 147                        scheduleMicrotask
  dart:async/future.dart 198                                    new Future.microtask
  package:flutter_driver/src/driver/driver.dart 367:73          FlutterDriver.tap
  test_driver\mem_test.dart 36:20                               main.<fn>.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1055                                     _CustomZone.registerUnaryCallback
  dart:async-patch/dart:async/async_patch.dart 77               _asyncThenWrapperHelper
  test_driver\mem_test.dart 19:27                               main.<fn>.<fn>
  package:test/src/backend/declarer.dart 161:27                 Declarer.test.<fn>.<fn>.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1055                                     _CustomZone.registerUnaryCallback
  dart:async-patch/dart:async/async_patch.dart 77               _asyncThenWrapperHelper
  package:test/src/backend/declarer.dart 159:70                 Declarer.test.<fn>.<fn>.<fn>
  package:test/src/backend/invoker.dart 249:15                  Invoker.waitForOutstandingCallbacks.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1047                                     _CustomZone.registerCallback
  dart:async/zone.dart 964                                      _CustomZone.bindCallbackGuarded
  dart:async/schedule_microtask.dart 147                        scheduleMicrotask
  dart:async/future.dart 198                                    new Future.microtask
  package:test/src/backend/invoker.dart 246:23                  Invoker.waitForOutstandingCallbacks.<fn>
  dart:async/zone.dart 1126                                     _rootRun
  dart:async/zone.dart 1023                                     _CustomZone.run
  dart:async/zone.dart 1501                                     runZoned
  package:test/src/backend/invoker.dart 246:5                   Invoker.waitForOutstandingCallbacks
  package:test/src/backend/declarer.dart 159:33                 Declarer.test.<fn>.<fn>
  dart:async/zone.dart 1126                                     _rootRun
  dart:async/zone.dart 1023                                     _CustomZone.run
  dart:async/zone.dart 1501                                     runZoned
  package:test/src/backend/declarer.dart 158:13                 Declarer.test.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1047                                     _CustomZone.registerCallback
  dart:async/zone.dart 964                                      _CustomZone.bindCallbackGuarded
  dart:async/schedule_microtask.dart 147                        scheduleMicrotask
  dart:async/future.dart 198                                    new Future.microtask
  package:test/src/backend/declarer.dart 143:66                 Declarer.test.<fn>
  package:test/src/backend/invoker.dart 403:25                  Invoker._onRun.<fn>.<fn>.<fn>.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1047                                     _CustomZone.registerCallback
  dart:async/zone.dart 964                                      _CustomZone.bindCallbackGuarded
  dart:async/schedule_microtask.dart 147                        scheduleMicrotask
  dart:async/future.dart 198                                    new Future.microtask
  package:test/src/backend/invoker.dart 402:31                  Invoker._onRun.<fn>.<fn>.<fn>.<fn>
  dart:async/future.dart 174                                    new Future.<fn>
  package:stack_trace/src/stack_zone_specification.dart 209:15  StackZoneSpecification._run
  package:stack_trace/src/stack_zone_specification.dart 119:48  StackZoneSpecification._registerCallback.<fn>
  dart:async/zone.dart 1122                                     _rootRun
  dart:async/zone.dart 1023                                     _CustomZone.run
  dart:async/zone.dart 925                                      _CustomZone.runGuarded
  dart:async/zone.dart 965                                      _CustomZone.bindCallbackGuarded.<fn>
  package:stack_trace/src/stack_zone_specification.dart 209:15  StackZoneSpecification._run
  package:stack_trace/src/stack_zone_specification.dart 119:48  StackZoneSpecification._registerCallback.<fn>
  dart:async/zone.dart 1126                                     _rootRun
  dart:async/zone.dart 1023                                     _CustomZone.run
  dart:async/zone.dart 949                                      _CustomZone.bindCallback.<fn>
  dart:async-patch/dart:async/timer_patch.dart 21               Timer._createTimer.<fn>
  dart:isolate-patch/dart:isolate/timer_impl.dart 382           _Timer._runTimers
  dart:isolate-patch/dart:isolate/timer_impl.dart 416           _Timer._handleMessage
  dart:isolate-patch/dart:isolate/isolate_patch.dart 165        _RawReceivePortImpl._handleMessage
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1047                                     _CustomZone.registerCallback
  dart:async/zone.dart 964                                      _CustomZone.bindCallbackGuarded
  dart:async/timer.dart 52                                      new Timer
  dart:async/timer.dart 87                                      Timer.run
  dart:async/future.dart 172                                    new Future
  package:test/src/backend/invoker.dart 402:15                  Invoker._onRun.<fn>.<fn>.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1047                                     _CustomZone.registerCallback
  dart:async/zone.dart 964                                      _CustomZone.bindCallbackGuarded
  dart:async/schedule_microtask.dart 147                        scheduleMicrotask
  dart:async/future.dart 198                                    new Future.microtask
  package:test/src/backend/invoker.dart 389:27                  Invoker._onRun.<fn>.<fn>.<fn>
  dart:async/zone.dart 1126                                     _rootRun
  dart:async/zone.dart 1023                                     _CustomZone.run
  dart:async/zone.dart 1501                                     runZoned
  package:test/src/backend/invoker.dart 389:9                   Invoker._onRun.<fn>.<fn>
  package:test/src/backend/invoker.dart 443:15                  Invoker._guardIfGuarded
  package:test/src/backend/invoker.dart 388:7                   Invoker._onRun.<fn>
  package:stack_trace/src/chain.dart 101:24                     Chain.capture.<fn>
  dart:async/zone.dart 1126                                     _rootRun
  dart:async/zone.dart 1023                                     _CustomZone.run
  dart:async/zone.dart 1501                                     runZoned
  package:stack_trace/src/chain.dart 99:12                      Chain.capture
  package:test/src/backend/invoker.dart 387:11                  Invoker._onRun
  package:test/src/backend/live_test_controller.dart 188:11     LiveTestController._run
  package:test/src/backend/live_test_controller.dart 40:31      _LiveTest.run
  dart:async/future.dart 200                                    new Future.microtask.<fn>
  dart:async/zone.dart 1122                                     _rootRun
  dart:async/zone.dart 1023                                     _CustomZone.run
  dart:async/zone.dart 925                                      _CustomZone.runGuarded
  dart:async/zone.dart 965                                      _CustomZone.bindCallbackGuarded.<fn>
  dart:async/zone.dart 1126                                     _rootRun
  dart:async/zone.dart 1023                                     _CustomZone.run
  dart:async/zone.dart 925                                      _CustomZone.runGuarded
  dart:async/zone.dart 965                                      _CustomZone.bindCallbackGuarded.<fn>
  dart:async/schedule_microtask.dart 41                         _microtaskLoop
  dart:async/schedule_microtask.dart 50                         _startMicrotaskLoop
  dart:isolate-patch/dart:isolate/timer_impl.dart 391           _Timer._runTimers
  dart:isolate-patch/dart:isolate/timer_impl.dart 416           _Timer._handleMessage
  dart:isolate-patch/dart:isolate/isolate_patch.dart 165        _RawReceivePortImpl._handleMessage

00:12 +0 -1: login (tearDownAll)
00:12 +0 -1: Some tests failed.

Unhandled exception:
Dummy exception to set exit code.
#0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1114)
#1      _microtaskLoop (dart:async/schedule_microtask.dart:41)
#2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#3      _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:391)
#4      _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
Stopping application instance.
I/FlutterActivityDelegate( 4749): onResume setting current activity to this
Driver tests failed: 255

please add the output of flutter doctor -v

Sorry for the late response.
Is this still an issue with recent Flutter versions?

it appears this issue was not resolved. I am using driver.tap() in one of my integration tests, and run into same error
Error: (Summary of Flutter doctor at the end of error message)
DriverError: Error in Flutter application: Timeout while executing tap: TimeoutException after 0:00:05.000000: Future not completed
#0      FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:180:31)

#1      BindingBase.registerServiceExtension. (package:flutter/src/foundation/binding.dart:438:32)

#2      _runExtension (dart:developer/runtime/libdeveloper.dart:86:23)
#3      SignupScreen._buildIcon (package:security/screens/signup_screen.dart:159:3)
#4      SignupScreen._buildButton (package:security/screens/signup_screen.dart:141:13)
#5      SignupScreen.build. (package:security/screens/signup_screen.dart:48:19)
#6      StreamBuilder.build (package:flutter/src/widgets/async.dart:410:74)
#7      _StreamBuilderBaseState.build (package:flutter/src/widgets/async.dart:124:48)
#8      StatefulElement.build (package:flutter/src/widgets/framework.dart:3765:27)
#9      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3677:15)
#10     Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
#11     StatefulElement.update (package:flutter/src/widgets/framework.dart:3834:5)
#12     Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
#13     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3688:16)
#14     Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
#15     StatelessElement.update (package:flutter/src/widgets/framework.dart:3737:5)
#16     Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
#17     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3688:16)
#18     Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
#19     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2272:33)
#20
__DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&SemanticsBinding&RendererBinding&Widget
sBinding.drawFrame (package:flutter/src/widgets/binding.dart:660:20)
#21
__DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&SemanticsBinding&RendererBinding._handl
ePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219:5)
#22     __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding._invokeFrameCallback
(package:flutter/src/scheduler/binding.dart:990:15)
#23     __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding.handleDrawFrame
(package:flutter/src/scheduler/binding.dart:930:9)
#24     __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.
(package:flutter/src/scheduler/binding.dart:751:7)
#25     Timer._createTimer. (dart:async/runtime/libtimer_patch.dart:21:15)
#26     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
#27     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
#28     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
Original error: null
Original stack trace:
null
package:flutter_driver/src/driver/driver.dart 405:7   FlutterDriver._sendCommand
===== asynchronous gap ===========================
dart:async/future_impl.dart 22:43                     _Completer.completeError
dart:async/runtime/libasync_patch.dart 40:18          _AsyncAwaitCompleter.completeError
package:flutter_driver/src/driver/driver.dart         FlutterDriver._sendCommand
===== asynchronous gap ===========================
dart:async/zone.dart 1053:19                          _CustomZone.registerUnaryCallback
dart:async/runtime/libasync_patch.dart 77:23          _asyncThenWrapperHelper
package:flutter_driver/src/driver/driver.dart         FlutterDriver._sendCommand
package:flutter_driver/src/driver/driver.dart 431:11  FlutterDriver.tap
===== asynchronous gap ===========================
dart:async/zone.dart 1053:19                          _CustomZone.registerUnaryCallback
dart:async/runtime/libasync_patch.dart 77:23          _asyncThenWrapperHelper
package:test/src/backend/declarer.dart                Declarer.test...
package:test/src/backend/invoker.dart 250:15          Invoker.waitForOutstandingCallbacks.
===== asynchronous gap ===========================
dart:async/zone.dart 1045:19                          _CustomZone.registerCallback
dart:async/zone.dart 962:22                           _CustomZone.bindCallbackGuarded
dart:async/timer.dart 52:45                           new Timer
dart:async/timer.dart 87:9                            Timer.run
dart:async/future.dart 174:11                         new Future
package:test/src/backend/invoker.dart 402:11          Invoker._onRun...
Flutter doctor summary
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.10.1, on Mac OS X 10.13.6 17G2112, locale en-CH)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
[✓] Android Studio (version 3.2)
[✓] Connected device (1 available)
• No issues found!

I am facing similar timeout issue while trying to test simple scenario like Enter username and password, but getting below error:
DriverError: Error in Flutter application: Timeout while executing tap: TimeoutException after 0:00:05.000000: Future not completed
I tried to increase the timeout duration to 20 seconds but still getting same error. Below is my test:
void main() {
  group('Login test', () {
    FlutterDriver driver;

    setUpAll(() async {
      driver = await FlutterDriver.connect();
    });

    tearDownAll(() async {
      if (driver != null) {
        await driver.close();
      }
    });

    test('Enter valid username and password', () async {
      final usernameFinder = find.text('Email');
    //  final passwordFinder = find.text('Password');
      await driver.tap(usernameFinder,timeout: Duration(seconds: 10));
      await driver.enterText('test@test.com');
      await driver.waitFor(find.text('test@test.com'));

      expect(
          await driver.getText(usernameFinder),
<EMAIL_ADDRESS>      );
    });
  });
}

I have the same issue, the weird thing is if I run the test via IDE: e.g. create a dart command line app in android studio, it ran all good, but if I run the test via command line, it fails with the driver error:  Error in Flutter application: Uncaught extension error while executing waitFor: 'package:flutter_test/src/all_elements.dart': Failed assertion: line 51 pos 12: 'element != null': is not true.

@DK15 , I am facing same problem.
I am also testing a very simple login scenario, and get same error.
It's wired that I also execute a tap before testing login, it works well and get passed everytime.

My colleagues experienced this bug on Flutter beta but not on stable.
We were able to bypass the issue by switching Flutter channels:
flutter channel stable
flutter upgrade

Hi everyone, please remember to add a reaction (👍 ) to the top-most comment of the issue. This ensures that the Flutter team sees the issue as important and shared among many users. More info here.

same here. i don't know if it's correct that i want to test Drag Event ,but i could only find scroll APi here.

I have upgraded to flutter 1.5 this morning. I still cannot run integration test and have this issue.

with

Seems the same problem:
DriverError: Error in Flutter application: Uncaught extension error while executing waitFor: 'package:flutter_test/src/all_elements.dart': Failed assertion: line 51 pos 12: 'element != null': is not true.

I have the same issue, the weird thing is if I run the test via IDE: e.g. create a dart command line app in android studio, it ran all good, but if I run the test via command line, it fails with the driver error: Error in Flutter application: Uncaught extension error while executing waitFor: 'package:flutter_test/src/all_elements.dart': Failed assertion: line 51 pos 12: 'element != null': is not true.

My problem:
DriverError: Error in Flutter application: Uncaught extension error while executing waitFor: 'package:flutter_test/src/all_elements.dart': Failed assertion: line 51 pos 12: 'element != null': is not true.

I have this problem too.
And the same problem is described here (below), it seems that is solved. But I am not a developer, only tester, so I don't understand how :(
https://github.com/flutter/flutter/issues/22868

For what it's worth, I ran into this exact issue with a package that accesses the file system. The error provided by Flutter doesn't point to that but it's what I narrowed it down to. Are any of you accessing the file system in your apps?

This one helped me, maybe it solves your problems.

For anyone who made it to the bottom of this page, it's important to note that 'Timeout while executing tap' will happen if it cannot find the widget you are tapping.
I had a scenario where when watching the test, it looked like button X was being tapped, but then subsequently the tap on button X would time out.  It turns out this was not due to animations, or a bug in the driver, but rather to a bug in my own code that caused my app to go to the next screen before button X was tapped.   So, it looked like button X was being tapped, but in reality a new screen which did not contain button X was begin displayed before the test got to the .tap call.
Anyway, before you go too deep into other causes, make sure that the button you are tapping is present on the screen, and that there isn't some other bug causing it to be gone by the time the test gets to the .tap call.

just put sleep after action
example:
 await _driver.tap(buildingItem);
 sleep(const Duration(seconds: 1));

In my case even after using the await driver.runUnsynchronized wrapper, the problem is not solved on Android simulators.
Problem:
The button clicking does not resolve the await
Expected behavior:
The button gets clicked and allows tests to proceed
Accual behaviour:
The button gets clicked, but the await is not resolved, so the test fails due to timeout.

I have the same problem. I was testing a login scenario where I have a tab bar, two text form fields, and a gesture detector, the tap function seems to work on the tab bar and gesture detector but not on the text form field.
`import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart';
void main() {
FlutterDriver driver;
setUpAll(() async {
driver = await FlutterDriver.connect();
});
// Close the connection to the driver after the tests have completed.
tearDownAll(() async {
driver.close();
});
test(
"testing ui",
() async {
await Future.delayed(Duration(seconds: 5));
  var form = ByType("TextFormField");
  var mail = find.descendant(
      of: form,
      matching: ByText("Email or Phone Number"),
      firstMatchOnly: true);
  await driver.runUnsynchronized(() async {
    await driver.waitFor(mail);
    print("\nFound the mail text field \n");
    //await Future.delayed(Duration(seconds: 5));
  });
  await driver.tap(mail);
  await Future.delayed(Duration(seconds: 5));

},
timeout: Timeout(Duration(minutes: 1)),

);
}
`

This is the error message generated

This is the output of flutter doctor
It will be helpful if there is a solution


Database page documentation still talks about hashes in URLs

https://datasette.readthedocs.io/en/0.44/pages.html

Note that these URLs end in a 7 character hash. This hash is derived from the contents of the database, and ensures that each URL is immutable: the data returned from a URL containing the hash will always be the same, since if the contents of the database file changes by even a single byte a new hash will be generated.

This isn't accurate any more - that's not default behaviour, and it may be removed entirely in #647.

Updated documentation: https://datasette.readthedocs.io/en/latest/pages.html


Upgrade to diff version 3.5.0+

Would be nice to upgrade to greater version to avoid vulnerability reports, see https://npmjs.com/advisories/1631

https://github.com/bem/html-differ/pull/174


chore: Fix some regressions with Spark 3.5.1

Which issue does this PR close?

Part of https://github.com/apache/datafusion-comet/issues/617
Rationale for this change

What changes are included in this PR?

Fix some issues in the CometScan shim for 3.5.1 and enable some Spark tests

How are these changes tested?

@parthchandra @kazuyukitanimura This PR is ready for review now and fixes almost all of the ignored tests for Spark 3.5.1. I will follow up with a separate PR for the final two tests.

@kazuyukitanimura @huaxingao Could I get a committer review? Parth has already approved.


fix(r-c-activity-item-base): delete message button not displayed for long messages

Deploy preview for hopeful-hamilton-4090b9 ready!
Built with commit caed5eb63a4f0680255b70282cda823ec2d2d02c
https://deploy-preview-774--hopeful-hamilton-4090b9.netlify.com