20 Commits

Author SHA1 Message Date
78b25af47a Bump deps for Flutter 2
Also for handling the latest dart-git. This required disabling -
* ssh_key - Feature toggle (off by default) for generating the ssh key
in dart. This was causing problems.
* screenshots
* flutter_driver - used by screenshots

flutter_driver was nice to have as it was the only proper integration
test that we have.

Also, many of the tests currently fail because of problems with Sentry.
I prefer to fix those in another commit
2021-03-25 11:05:42 +01:00
68388616e5 Remove isolates_workaround
No longer required
2021-03-23 09:28:50 +01:00
5571fdb65e Use time.dart
I'm sacrificing const code for readability. So maybe I'll lose a bit of
performance, but this is so much easier to read.
2020-11-10 19:07:09 +01:00
8636bda26c Bump import_sorter
It now sorts imports in the test_driver directory, which is awesome.
2020-10-01 00:22:13 +02:00
75d48fbfc6 Integration Test: Show the sorting settings and view Options
Also add far more existing notes for the screenshots.
2020-09-28 12:11:05 +02:00
5cf8222c77 Integration Test: Take a screenshot on fail
This way we can more easily diagnose why this fails.

Also increase the timeout - depending on where these tests are running,
everything takes much much longer.
2020-09-13 11:21:59 +02:00
f0a6f34deb Test Driver: Fix find text 2020-09-12 08:49:35 +02:00
36aaabf582 TestDriver: Take some more screenshots
* Add some existing notes
* Screenshot the checklist edit
* Screenshot the folders view
2020-04-16 17:34:38 +02:00
ea5667fcde Screenshots: Add another note 2020-04-03 19:38:33 +02:00
9de5f913ed Improve screenshot script
Which also acts as our integration test.
2020-04-03 19:38:33 +02:00
011962db5d Fix flutter analyze 2019-12-27 13:44:20 +01:00
dfe2cf87ac Integrate 'screenshot' to automate the screenshot process
This even fires up the emulators.
2019-12-27 12:59:00 +01:00
798a744574 Change public strings of "Journal" to "Notes" 2019-12-22 15:24:00 +01:00
b67af9d7a5 Update screenshots 2019-11-03 02:01:15 +01:00
877b68dbbd Screenshotter: Add a delay
Our runApp seems to take some time now.
2019-11-03 01:47:11 +01:00
d5f91cb898 More prefer_const
It seems like flutter analyze might have some kind of cache
2019-10-20 01:24:43 +01:00
8e75fc0b6f Upgrade screenshot taking script to handle onboarding 2019-02-16 16:27:18 +01:00
2c6e5b2e9c Screenshots: Add more screenshots
* Add another note and then take a screenshot of the list view
* Take a screenshot of the Git Host Setup
2019-02-16 00:54:58 +01:00
e97300b7b1 Integration Test: Make it take a few screenshots
* Default value
* App Drawer
* Note Editing
2019-02-16 00:46:03 +01:00
00355c532b Add a trivial integration test which just takes a screenshot
This required refactoring the code. With this we can now write an
integration test to test the main parts of the app, but more importantly
we can automate the process of generating the screenshots.
2019-02-16 00:16:32 +01:00