Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.
Julian Gruber edited this page Jun 1, 2017 · 17 revisions

In order to verify dat-desktop works as expected.


todos

For each of supported OS:

  • macOS
  • ubuntu

downloading/installation

  • verify http://datproject.org/ has instructions to download the correct latest release
  • verify the nice 'disk image' designed background comes up when you open the .dmg
  • verify you can drag to applications folder and double click the app to open first try (no right click open)

onboarding

  • intro screen should show every time you open the app as long as you have no dats
  • you can click through the whole intro
  • you can also press skip intro
  • you can also skip via pressing ESC
  • make sure you can minimize, full screen, resize, and move the window
  • after clicking away intro screen you should see an empty list with download and share folder

importing and creating dats

  • click share folder and share a local folder, you should see a new item in the list
  • the item's title should be the item's folder name
  • click download, enter dat://64375abb733a62fa301b1f124427e825d292a6d3ba25a26c9d4303a7987bec65 and press enter
  • verify it opened the download dialog and after some delay displays all the archive's info
  • click cancel and it should be dismissed
  • repeat the download process and click "download", you now should have a new dat in the list
  • there should have been a green highlight for a short period behind the dat
  • the progress bar should correctly show how much progress you have downloaded
  • check that network (number of peers) is correct
  • check that title is Densho Names Registry
  • check that author is Densho Digital Repository
  • restart the app and check everything is still in place
  • try to download the same dat again and verify you see a warning modal
  • once the dat has finished downloading, there should be a notification

working with dats

  • click the link icon and it should show a modal and copy the dat link to your clipboard on button click
  • click the open in finder icon and it should open the folder in Finder.app
  • click the delete icon and it should pop up a confirmation dialog to remove it
  • click the cancel button on the delete dialog and check if it cancels the dialog
  • click the pause button and verify all network activity halts
  • click the resume button and verify it is resumed completely
  • click the title of a non editable dat and nothing happens
  • click the title of an editable dat and you get an input field with the current title selected
  • clicking outside the input field or pressing ESC should dismiss it and not change the title
  • saving a new title should update the dat in the list
  • verify after a restart the title is still updated

advanced use cases

  • share a dat using Dat CLI and try to import it into the desktop
  • create new dat in desktop and clone it using Dat CLI
  • share dat on another machine using Dat Desktop and import it to your local desktop app
  • create new dat in local Dat Desktop and import it on Dat Desktop running on a remote machine
  • open a dat:// link and it should show the download screen

app progress indicator

  • there is no progress indicator by default
  • while downloading dats, their cummulative progress set the app's progress indicator
  • having paused and unfinished dats in the list doesn't keep the progress indicator active
  • once all downloads finished, the progress indicator is cleared again