Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#19402 closed task (fixed)

Create a test for checking that PDF downloads work

Reported by: gk Owned by: cypherpunks
Priority: Medium Milestone:
Component: Applications/Quality Assurance and Testing Version:
Severity: Normal Keywords:
Cc: boklm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by gk)

As we hit #19401 and remembering issues in the past with our pdfjs patching we should write a test that verifies that PDF files can be downloaded by clicking on the download button in the PDF viewer.

Child Tickets

Change History (3)

comment:1 Changed 3 years ago by gk

Cc: boklm added
Description: modified (diff)

comment:2 Changed 3 years ago by boklm

Resolution: fixed
Status: newclosed

This is done in commit 9696f8c9e92304fcf5e77cf8c8db86693ca983a9 adding a download_pdf test. In this test we open a PDF file, click on the download button and check that it opens a pop-up window mentioning Tails.

comment:3 Changed 3 years ago by boklm

On our Windows test server, this test failed because the resolution used on the server is low, and the download button is not displayed when the window is not large enough. Commit 70a7669a8e36b7a73390bb8711962c8306fe343d fix that by resizing the window to make it large enough.

Note: See TracTickets for help on using tickets.