mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 02:12:36 +02:00
Mirror RELEASE.md text in qa.py
qa.py should be in sync with RELEASE.md, or else it fails with $ ./dev_scripts/qa.py --check-refs This was accidentally introduced in https://github.com/freedomofpress/dangerzone/pull/583/files
This commit is contained in:
parent
8dc8372998
commit
39fe539b2e
1 changed files with 22 additions and 2 deletions
|
@ -92,6 +92,8 @@ prompt the user to start Docker Desktop.
|
||||||
|
|
||||||
#### 3. Dangerzone successfully installs the container image
|
#### 3. Dangerzone successfully installs the container image
|
||||||
|
|
||||||
|
_(Not for Qubes)_
|
||||||
|
|
||||||
Remove the Dangerzone container image from Docker/Podman. Then run Dangerzone.
|
Remove the Dangerzone container image from Docker/Podman. Then run Dangerzone.
|
||||||
Danerzone should install the container image successfully.
|
Danerzone should install the container image successfully.
|
||||||
|
|
||||||
|
@ -107,6 +109,9 @@ Run Dangerzone and convert the `tests/test_docs/sample_bad_pdf.pdf` document.
|
||||||
Dangerzone should fail gracefully, by reporting that the operation failed, and
|
Dangerzone should fail gracefully, by reporting that the operation failed, and
|
||||||
showing the last error message.
|
showing the last error message.
|
||||||
|
|
||||||
|
_(Only for Qubes)_ The only message that the user should see is: "The document
|
||||||
|
format is not supported", without any untrusted strings.
|
||||||
|
|
||||||
#### 6. Dangerzone succeeds in converting multiple documents
|
#### 6. Dangerzone succeeds in converting multiple documents
|
||||||
|
|
||||||
Run Dangerzone against a list of documents, and tick all options. Ensure that:
|
Run Dangerzone against a list of documents, and tick all options. Ensure that:
|
||||||
|
@ -114,7 +119,7 @@ Run Dangerzone against a list of documents, and tick all options. Ensure that:
|
||||||
* Attempting to close the window while converting asks the user if they want to
|
* Attempting to close the window while converting asks the user if they want to
|
||||||
abort the conversions.
|
abort the conversions.
|
||||||
* Conversions are completed successfully.
|
* Conversions are completed successfully.
|
||||||
* Conversions show individual progress.
|
* Conversions show individual progress in real-time (double-check for Qubes).
|
||||||
* _(Only for Linux)_ The resulting files open with the PDF viewer of our choice.
|
* _(Only for Linux)_ The resulting files open with the PDF viewer of our choice.
|
||||||
* OCR seems to have detected characters in the PDF files.
|
* OCR seems to have detected characters in the PDF files.
|
||||||
* The resulting files have been saved with the proper suffix, in the proper
|
* The resulting files have been saved with the proper suffix, in the proper
|
||||||
|
@ -135,7 +140,22 @@ _(Only for Windows and MacOS)_
|
||||||
Go to a directory with office documents, right-click on one, and click on "Open
|
Go to a directory with office documents, right-click on one, and click on "Open
|
||||||
With". We should be able to open the file with Dangerzone, and then convert it.
|
With". We should be able to open the file with Dangerzone, and then convert it.
|
||||||
|
|
||||||
#### 9. Updating Dangerzone handles external state correctly.
|
#### 9. Dangerzone shows helpful errors for setup issues on Qubes
|
||||||
|
|
||||||
|
_(Only for Qubes)_
|
||||||
|
|
||||||
|
Check what errors does Dangerzone throw in the following scenarios. The errors
|
||||||
|
should point the user to the Qubes notifications in the top-right corner:
|
||||||
|
|
||||||
|
1. The `dz-dvm` template does not exist. We can trigger this scenario by
|
||||||
|
temporarily renaming this template.
|
||||||
|
2. The Dangerzone RPC policy does not exist. We can trigger this scenario by
|
||||||
|
temporarily renaming the `dz.Convert` policy.
|
||||||
|
3. The `dz-dvm` disposable Qube cannot start due to insufficient resources. We
|
||||||
|
can trigger this scenario by temporarily increasing the minimum required RAM
|
||||||
|
of the `dz-dvm` template to more than the available amount.
|
||||||
|
|
||||||
|
#### 10. Updating Dangerzone handles external state correctly.
|
||||||
|
|
||||||
_(Applies to Linux/Windows/MacOS. For MacOS/Windows, it requires an installer
|
_(Applies to Linux/Windows/MacOS. For MacOS/Windows, it requires an installer
|
||||||
for the new version)_
|
for the new version)_
|
||||||
|
|
Loading…
Reference in a new issue