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

Add generateTimeline(); #89

Open
passsy opened this issue Dec 20, 2024 · 0 comments
Open

Add generateTimeline(); #89

passsy opened this issue Dec 20, 2024 · 0 comments
Labels
enhancement New feature or request timeline

Comments

@passsy
Copy link
Owner

passsy commented Dec 20, 2024

Sometimes I want to see the timeline of a successful app. One common way to do this is adding this line at the end of the test (or beginning)

    testWidgets('My test', (tester) async {
      // testCode
      // ...
      timeline.mode = TimelineMode.always;
    });

Instead I'd like to call a method to print me the timeline at any point in the test as it currently is. Similar to takeScreensho().

    testWidgets('My test', (tester) async {
      // testCode
      await generateTimeline();
      // ...
      await generateTimeline();
    });
@passsy passsy added enhancement New feature or request timeline labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request timeline
Projects
None yet
Development

No branches or pull requests

1 participant