Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in test_bunder.dart #2446

Merged
merged 1 commit into from
Dec 7, 2024

Fix typo in test_bunder.dart

03ecd0f
Select commit
Loading
Failed to load commit list.
Merged

Fix typo in test_bunder.dart #2446

Fix typo in test_bunder.dart
03ecd0f
Select commit
Loading
Failed to load commit list.
Cirrus CI / Test `patrol develop` on macOS failed Dec 6, 2024 in 14m 50s

Task Summary

Instruction patrol_test failed in 12:25

Details

⚠️ Only ghcr.io/cirruslabs/macos-runner:sonoma is allowed. Automatically upgraded.

✅ 00:03 clone
✅ 00:34 set_up_fvm
✅ 00:58 setup_flutter
✅ 00:15 melos_bootstrap
✅ 00:02 setup_patrol_cli
✅ 00:22 setup_simulator
❌ 12:25 patrol_test

  patrol(
    'counter state is the same after going to Home and switching apps',
    ($) async {
      await createApp($);

      await $(FloatingActionButton).tap();
      expect($(#counterText).text, '1');

      await $(#textField).enterText('Hello, Flutter!');
      expect($('Hello, Flutter!'), findsOneWidget);

      $.log('Tapped the button');
      await $.native.pressHome();
      await $.native.openApp();

      expect($(#counterText).text, '1');
      await $(FloatingActionButton).tap();

      expect($(#counterText).text, '2');
      expect($('Hello, Flutter!'), findsOneWidget);
    },
  );

  patrol(
    'short test with two tags',
    skip: true,
    tags: ['smoke', 'fume'],
    ($) async {
      await createApp($);

      await $(FloatingActionButton).tap();
      expect($(#counterText).text, '1');
      await $(FloatingActionButton).tap();
      expect($(#counterText).text, '2');
    },
  );

  patrol(
    'short test with tag',
    tags: ['smoke'],
    ($) async {
      await createApp($);

      await $(FloatingActionButton).tap();
      expect($(#counterText).text, '1');

      await $(#textField).enterText('Hello, Flutter!');
      expect($('Hello, Flutter!'), findsOneWidget);
    },
  );
}

End of the running file
Exiting with exit code 1
��������