← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Bug 1406988] Re: Autopilot tests for SDCard support

 

** Tags removed: needs-autopilot-test
** Tags added: needs-autopilot-tests

-- 
You received this bug notification because you are a member of Ubuntu
File Manager Developers, which is subscribed to Ubuntu File Manager App.
Matching subscriptions: File Manager App Bugmail
https://bugs.launchpad.net/bugs/1406988

Title:
  Autopilot tests for SDCard support

Status in File Manager application for Ubuntu devices:
  New

Bug description:
  Autopilot tests are needed for merge proposal (after it has been
  approved at least):

  https://code.launchpad.net/~ajalkane/ubuntu-filemanager-app/sdcard-
  support/+merge/245483

  Basically the test cases should be something like:

   - Existing SDCard that is mounted under /mount/$USER (for example /mount/$USER/SDCard) will be displayed in Places when FileManager is started.
   - Mounting SDCard under /mount/$USER (for example /mount/$USER/SDCard) will be displayed in Places when FileManager is running.
   - Unmounting SDCard from /mount/$USER (for example /mount/$USER/SDCard) will be displayed in Places

  Optional (as I'm not sure how easily these can be done):
   - If no full access (ie. PIN/password required to view all files), then files inside the SDCard directory can not be seen before unlocking full access.
   - If no full access required, then files inside the SDCard directory can be seen.

  If doing real SDCard mounting is not possible, tests can perhaps be
  written to simulate it for example by mounting and unmounting some
  directory to the correct path:

  # fakesdcarddev and SDCard directories must exist
  sudo mount --bind /tmp/fakesdcarddev /media/$USER/SDCard
  # Unmounting:
  sudo umount /media/$USER/SDCard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-filemanager-app/+bug/1406988/+subscriptions