Pular para o conteúdo principal

SafeID Desktop test routines

Before each release, the routines below are run manually with the production build, on every environment. Record the screen while running them: the recording is the evidence that the routine was performed.

The SafeID Desktop interface is in Portuguese, so the labels below are quoted as they appear on screen, followed by their meaning.

Environments​

SystemArchitecture
macOSApple Silicon (ARM)
macOSIntel
Windowsx64
WindowsARM64

Preparation​

warning

Before starting the tests, uninstall the app and clear the user data folder, to simulate a clean install.

On macOS:

rm -r ~/Library/Application\ Support/SafeID\ Desktop

On Windows (PowerShell):

Remove-Item "$env:APPDATA\SafeID Desktop\*" -Recurse -Force
note

To show the processor and operating system details of the machine:

  • macOS: Apple menu → About This Mac.
  • Windows: Settings → System → About.

Full validation​

Install and pairing​

  1. Show the processor and operating system details of the machine.
  2. Start SafeID Desktop.
  3. Confirm that the app opens on the Bem-vindo (Welcome) screen.
  4. Check Li e concordo (I have read and agree).
  5. Pair the device.
  6. Install the certificate.
  7. Open the Web PKI test site and show that the certificate is available.

Unpairing and pairing again​

  1. Go to Meus dispositivos (My devices).
  2. Unpair the device. The confirmation dialog must appear.
  3. Confirm the unpairing.
  4. On the test site, show that the certificate is gone.
  5. Go to Meus dispositivos, then to Associar novo dispositivo (Pair a new device).
  6. Complete the pairing.
  7. Go back to the test site and show the certificate.

Signing with the app open, in the tray and closed​

  1. Request a signature.
  2. On the mobile device, reject the signature. The error dialog must show the text "Pedido de autorização rejeitado." (Authorization request rejected.)
  3. Close the app and confirm that it went to the tray.
  4. Request the signature again and confirm that the countdown window opens.
  5. On the mobile device, reject the signature.
  6. Close the app again, and this time also quit it from the tray (Encerrar, Quit).
  7. Request the signature again. Confirm that the app starts automatically, opens the countdown window and sends the request to the mobile device.
  8. On the mobile device, approve the signature.
  9. Check that the signature succeeded.

PJe Office with the PKCS#11 module​

  1. Show the version details of the installed PJe Office.
  2. Open the PJe Office options from the tray.
  3. Open the PJe Office certificates window and, if any certificate is configured, remove it.
  4. Add the SafeID PKCS#11 module again:
    • Windows: C:\Windows\System32\safeid-p11.dll
    • macOS: /Applications/SafeID Desktop.app/Contents/Resources/libsafeid-p11.dylib
  5. Go to https://pje.tjdft.jus.br/ and select CERTIFICADO DIGITAL (digital certificate).
  6. Confirm on the site that the access was authorized by the certificate.

Short validation of PJe​

  1. Show the processor and operating system details of the machine.
  2. Show the version details of the installed PJe Office.
  3. Start SafeID Desktop.
  4. Pair the device and install the certificate.
  5. Open the PJe Office options from the tray.
  6. Open the PJe Office certificates window and, if any certificate is configured, remove it.
  7. Configure the certificate by adding the SafeID PKCS#11 module:
    • Windows: C:\Windows\System32\safeid-p11.dll
    • macOS: /Applications/SafeID Desktop.app/Contents/Resources/libsafeid-p11.dylib
  8. Go to https://pje.tjdft.jus.br/ and select CERTIFICADO DIGITAL (digital certificate).
  9. On the phone, authorize the access.
  10. Confirm on the site that the access was authorized by the certificate.
View as Markdown