Skip to content

test(gui): add vfs tests#815

Merged
saw-jan merged 7 commits intomainfrom
test/add-vfs-tests
Mar 11, 2026
Merged

test(gui): add vfs tests#815
saw-jan merged 7 commits intomainfrom
test/add-vfs-tests

Conversation

@saw-jan
Copy link
Contributor

@saw-jan saw-jan commented Feb 18, 2026

Add vfs tests to hydrate and dehydrate files and folders:
Test cases:

  • hydrate file by opening it
  • hydrate file (file explorer action: Always keep on this device)
  • dehydrate file (file explorer action: Free up space)
  • hydrate folder (file explorer option)
  • add files/folders inside hydrated folder locally
  • add files/folders inside hydrated folder from server
  • add files/folders inside dehydrated folder locally
  • add files/folders inside dehydrated folder from server
  • dehydrate folder (file explorer action)

@saw-jan saw-jan self-assigned this Feb 18, 2026
@saw-jan saw-jan force-pushed the test/add-vfs-tests branch 4 times, most recently from 47738e9 to 4f012eb Compare February 24, 2026 11:43
@saw-jan saw-jan marked this pull request as ready for review February 25, 2026 10:40
@saw-jan saw-jan force-pushed the test/add-vfs-tests branch from 3269230 to 5ef7472 Compare March 6, 2026 11:00
@saw-jan saw-jan requested a review from anon-pradip March 6, 2026 11:03
saw-jan added 7 commits March 10, 2026 11:42
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
@saw-jan saw-jan force-pushed the test/add-vfs-tests branch from 5ef7472 to 6479f6c Compare March 10, 2026 05:57
@saw-jan saw-jan requested a review from ScharfViktor March 11, 2026 08:46
And user "Alice" reads the content of file "parent/lorem.txt"
Then the file "testFile.txt" should be downloaded
And the file "parent/lorem.txt" should be downloaded
And the placeholder file "parent/epsum.txt" should exist on the file system
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confused if we need to check:
And the placeholder file "parent/epsum.txt" should exist on the file system because we have not touched this in "# Hydrate some files by reading the content" and also we already checked placeholder of file parent/epsum.txt in L75
?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is to check that the action is one file doesn't affect others. kind of edge case so kept the checks to minimal

@saw-jan saw-jan requested a review from anon-pradip March 11, 2026 10:30
Copy link
Contributor

@anon-pradip anon-pradip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ 👍 LGTM

@saw-jan saw-jan merged commit ab8d1d6 into main Mar 11, 2026
12 checks passed
@saw-jan saw-jan deleted the test/add-vfs-tests branch March 11, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants