-
Notifications
You must be signed in to change notification settings - Fork 19
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
PE-6873: setup integration tests flutter #1882
base: dev
Are you sure you want to change the base?
Conversation
- fixes integration test issues - add gh action
Visit the preview URL for this PR (updated for commit 58793af): https://ardrive-web--pr1882-pe-6873-setup-integr-n3e6ffi6.web.app (expires Fri, 29 Nov 2024 14:41:08 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: a224ebaee2f0939e7665e7630e7d3d6cd7d0f8b0 |
finished writing DSL API fixed unit tests implement several tests
add key to seedphrase
add keys
set nexus 6
- mock downloader - fix tests android
fix delay and add test for web
increase timeouts
comment broken tests
#!/bin/bash | ||
|
||
# Store the JSON value in a variable to handle it more cleanly | ||
JSON_VALUE='{"d":"boMCYRnKbWMZ2iKZtdWlNtMzQqk8rw6gNqT6l_l5VgdXnQ-dtxPhrgwJ0sGi8k5gyDTaMY-5ICjF4YNiUL-ugQjRccT0YritisWuTHt5hes-FuTiZXjjxMS3cuOMiGIZYz2R10RK3SR5vmejn85A5PULF4n8jngiftsgQtLXRg3287jUZYcFg7k7c4sJPxS2FbtiZu5JfnWUJ0SXALRAWTnV4M6bTZ7KY42MFyk5cNGc8Z-Xj9greDtS9BpalyRGxH1VI7jC8ZGcwUGpURd4qBREMu4qsNPxg44Ne9dS4ccvXY27ZXXnbzaDIkU0IrP7hNzUmmkhNNht-5pmUgdqu1C5SR201bPjfRv05QEnqvQBCDVLiPiaMy72pGA76hWcJeK3YY05kNaoyjge1M5auTK_HyvyVb2-G1Q1zUMBKvAmQk9DCpxOP0KZaQGAbpPGKFjciZOFj7c-UnDcc1f-cQ-XL_fZEmzW3lA1WvkuBMFnkVI-hOieOj77wRD_mtnkKVHP1w3La5KLVSDfRKTmXvh1CB201fzToCLoPxFX64CcluTvY4WUsXT15ioQWzWf47NGtQ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Knb0rBRB8NTxdOb3bZMBcTVXxL4Mkw","qi":"WdBCzzpGjI2gBWC5xLfo3-QUvNO-ilnDZ2Sw8W8IvmlnocsKRnjvi4mrmxabFuRwSog2D9XHzPIsLHeScgD0HOmV4uTYzExEkwXjKmUVUhVdHPbWGEHV6lh50frbfp8kiNP-8P7yF1firrMtFQaxwxXJhPm64SCxkQ9oR1ZRMgG_JVbb9ksHvIFVKsvRdhVpfz6n2i729XTXhK0dhOyHCYwRz9113P-aitA2CrmJ3UGVY9NDUl5v_c_0siOj_sEYxHn9cHdv2wZTBK7UGmOyKsTngJsS7kyd4qYIEuBBwHn2rU-y-7Rmyw0qtshMjT1MimGl29ETb65w0ORjtk61yg"}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a bad idea to have here; why not use an environment variable that can be defined as a github secret?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or put it into a file in this folder and read it in as a variable in the shell script
@@ -1,4 +1,4 @@ | |||
# ArDrive Web | |||
****# ArDrive Web |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a typo but could you confirm?
@@ -187,6 +187,10 @@ class _ARNSRepository implements ARNSRepository { | |||
String address, { | |||
bool update = false, | |||
}) async { | |||
if (!sdk.isArioSDKSupportedOnPlatform()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious, as I haven't seen rest of code, but it seems like this could be an issue where a user might be on a platform and see no records (thinking they're gone) vs disabling ant feature or showing user message that it's not supported on platform). Want to make sure this isn't hiding that latter scenario and potentially getting users worried.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like feature-work outside of integration test support. Could you give me a summary of what changed here?
@@ -111,6 +111,10 @@ class DrivesCubit extends Cubit<DrivesState> { | |||
|
|||
_promptToSnapshotBloc.add(SelectedDrive(driveId: selectedDriveId)); | |||
|
|||
if (isClosed) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a bug fix of some sort?
@@ -17,6 +17,10 @@ class GlobalHideBloc extends Bloc<GlobalHideEvent, GlobalHideState> { | |||
_driveDao = driveDao, | |||
super(const GlobalHideInitial(userHasHiddenDrive: false)) { | |||
_userPreferencesRepository.watch().listen((userPreferences) async { | |||
if (isClosed) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm seeing this added in a few places but am unsure what it's doing
--- Releases ---
Android release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:android:6cf0cd5ec064fad3ffce07/releases/11k462n72fjso