Background
We would like to go through the full set of test cases for the Chromium renderer as well as ensure that bugs open in Electron are not replicated in the renderer
Testing criteria
- go through https://docs.google.com/spreadsheets/d/1CdHhFDoTOfbLDCuwVViAWSFlduNE88h3mCbSKIRbKcs/edit#gid=148822681 and ensure all PDF-related test cases function correctly.
- go through the tracking column of https://phabricator.wikimedia.org/tag/proton/ and ensure all tasks are not reproducible on the Chromium renderer. Comment on each task with results.
- perform exploratory testing on the chromium renderer
- note each issue as a comment in this task with replication steps, browser/OS, and screenshot
Accessing the service
Currently, service is not accessible via any nice frontend. In order to generate the PDF you have to send the request to the:
https://proton-beta.wmflabs.org/{WIKI}/v1/pdf/{ARTICLE}/{SIZE}/{TYPE}) URL, where:
- WIKI -> one of wikis, for example en.wikipedia.org, pl.wikipedia.org, jp.wikipedia.org
- ARTICLE -> the Article title
- SIZE -> PDF size, one of a4, legal, letter
- TYPE -> PDF type, one of desktop, mobile
Examples
- to create a PDF for a Book article from English Wikipedia in A4 format using mobile view please visit https://proton-beta.wmflabs.org/en.wikipedia.org/v1/pdf/Book/a4/mobile.
- to create a PDF for a Warszawa article from Polish Wikipedia in letter format using desktop view please visit https://proton-beta.wmflabs.org/pl.wikipedia.org/v1/pdf/Warszawa/letter/desktop