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

Save timeline in /test folder #77

Open
passsy opened this issue Nov 26, 2024 · 1 comment
Open

Save timeline in /test folder #77

passsy opened this issue Nov 26, 2024 · 1 comment
Labels
enhancement New feature or request timeline

Comments

@passsy
Copy link
Owner

passsy commented Nov 26, 2024

When a test fails, it is hard to backup the timline HTML files in the temp directory. It would be better if those files would be saved somewhere in the /test folder.

Possible locations

  • /test/.spot/<pathToTest>/test_x_timeline.dart
  • /test/<pathToTest>/.spot/test_x_timeline.dart

Naming the files like the tests and saving it always in the same location would allow reloading the browser when a test ran.
But it would disallow comparing screenshots from previous runs (which would be deleted).

@schultek
Copy link
Contributor

What about putting them into .dart_tool/spot/<pathToTest>/test_x_timeline.dart?

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

2 participants