Skip to content

Commit

Permalink
Fix screenshot tests - 1.0.71 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonp2412 committed May 2, 2024
1 parent ea631c1 commit 47ecf63
Show file tree
Hide file tree
Showing 24 changed files with 13 additions and 4 deletions.
5 changes: 5 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/78.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Fix screenshot tests
- Make data importing more robust
- Clear plans before importing
- Prevent opening graph point on pinch
- Put release mode on my phone after deploying
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/7_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion integration_test/screenshot_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ void main() {
await tester.tap(find.text("Monday"));
await tester.tap(find.text("Wednesday"));
await tester.tap(find.text("Friday"));
await tester.tap(find.text("Barbell bench press"));
await tester.pumpAndSettle();
},
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: flexify
description: Track gym progress, visualize graphs, enjoy offline support & timers
publish_to: none
version: 1.0.70+77
version: 1.0.71+78
environment:
sdk: '>=3.2.6 <4.0.0'
dependencies:
Expand Down
9 changes: 7 additions & 2 deletions screenshots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ sleep 1
done

export FLEXIFY_DEVICE_TYPE="$1"

flutter drive --driver=test_driver/integration_test.dart \
--target=integration_test/screenshot_test.dart \
--dart-define=FLEXIFY_DEVICE_TYPE="$1" --profile -d "$device"
--target=integration_test/screenshot_test.dart \
--dart-define=FLEXIFY_DEVICE_TYPE="$1" --profile -d "$device"
code=$?

adb -s "$device" reboot -p

exit $code

0 comments on commit 47ecf63

Please sign in to comment.