Commit Graph

15 Commits

Author SHA1 Message Date
Roland Geider
fa8dd7e46f Fix merge errors 2023-03-20 14:19:29 +01:00
Roland Geider
fcfa1ceabf Annotate the needed mocks for each test
This makes it clear where they are loaded from
2023-02-11 13:45:42 +01:00
Roland Geider
a977d4ec48 Refactor add_exercise_screen.dart
Use the is_trustworthy flag from the server, which also takes the account's age
into account. The widgets in the screen are split so it's easier to test and read
2023-02-07 20:30:09 +01:00
Roland Geider
b1b60b691c Fix screenshot tests 2023-02-06 22:32:22 +01:00
Roland Geider
12310f4a5c Remove debug banner from play store screenshots 2023-01-27 19:58:40 +01:00
Roland Geider
32e3c0f3b9 Move fixtures to their own folders for better overview 2022-12-05 21:10:20 +01:00
Roland Geider
18b6903513 Create more and more realistic screenshots for the app store
Now these test use the regular test data, which has been updated and is used in
the rest of the tests as well.
2022-11-24 11:24:09 +01:00
Roland Geider
75271a2ff0 Use correct language code for Portuguese 2022-10-11 09:37:59 +02:00
Roland Geider
faadab1605 Add Portuguese and Polish to list of languages for screenshots 2022-10-10 19:43:48 +02:00
Roland Geider
f56619939e Simplify loading of exercise data
While this has more manual steps than I would prefer, it is definitely better
than loading the individual entries and mapping them to an forth
2022-05-11 00:03:05 +02:00
Roland Geider
50d7c6845d Extract the individual screens used for screenshots 2022-05-10 17:53:49 +02:00
Roland Geider
e19126ed47 Update the screenshot driver
The driver now saves the screenshots to the correct folder in the android metadata
folder and uses the same language codes as in the Play Store.
2022-05-10 17:40:56 +02:00
Roland Geider
9d554b391d Some further fixes for migration to exercise bases 2022-05-10 17:07:06 +02:00
Roland Geider
f834950cec Workout logs and settings now have a reference to an exercise base
This puts this code in sync with the backend and is logically better, since
the translations can be displayed when needed and are not hard coded
2022-05-10 16:53:44 +02:00
Roland Geider
826810f17a Start working on automatic screenshot generation 2022-04-11 20:00:32 +02:00