chromium

Description

This is a test plan for chromium as used by Ubuntu Desktop.

Initial set up

  • Install latest Ubuntu Desktop development release
  • Install chromium from -proposed

Autopkgtests

Verify that autopkgtests all pass. Chromium is built on amd64, i386, arm64 and armhf. Other architectures should be ignored.

Manual Tests

About

  • Browse to chrome://version and verify that the version number, user-agent string and profile directory are as expected

  • Browse to chrome://gpu and check the status of GPU support (in particular, if running on real hardware, as opposed to inside a virtual machine, Canvas, WebGL and WebGL2 should be hardware-accelerated)

Referral

  • Type any word in the omnibox and press enter to search it with the default search engine. Verify that the referral code has been added to the search URI:
    • with Google: &client=ubuntu

    • with DuckDuckGo: &t=canonical

Default browser

  • Open the system settings on the default applications panel (gnome-control-center default-apps) and verify that chromium is not the default browser (by default it is firefox)

  • Browse to chrome://settings/defaultBrowser and click the button to make chromium the default browser, then switch to the settings app, change panels and back to the default applications panel, and verify that now chromium is the default browser

  • In the settings app, change the default web browser back to firefox, then refresh the chrome://settings/defaultBrowser tab in chromium and verify that the button to make chromium the default browser is visible again

  • In the settings app, change the default web browser to chromium, then refresh the chrome://settings/defaultBrowser tab in chromium and verify that the button to make chromium the default browser is hidden

Rendering

  • Browse to https://html5test.com and verify that the browser was correctly detected and that the score is as expected (currently 533/555 for chromium 72)

  • Browse to https://html5demos.com/geo and verify that you get prompted to allow/deny geolocation access. Allow it and verify that your approximate location is found

  • Browse to http://webglsamples.org/aquarium/aquarium.html and verify that, on real hardware, you get a good FPS (60) with the default number of sprites (500 fishes)

Safe Browsing

Downloads

  • Browse to https://kernel.org and click the big yellow button to download the latest kernel. Open the downloads view with Ctrl+J and verify that the file is fully downloaded, that you can display its parent folder (this should open nautilus or your default file manager) and that you can open the downloaded file (should open in file-roller)

  • Search "sample doc" in the omnibox and click the first search result, which should download a .doc file. Verify that the file is fully downloaded, that you can display its parent folder and that you can open the downloaded file

  • Search "sample pdf" in the omnibox and click the first search result, which should open and render a PDF file in the current tab. Verify that you can scroll through the pages, zoom/unzoom, and save (download) the file to disk

Video playback

  • Browse to https://www.youtube.com/ and watch any video. Verify that you can pause/unpause, enter/exit fullscreen, and that while the video is playing the screensaver or screen blanking is inhibited

  • Watch any 360° video on youtube (for instance https://www.youtube.com/watch?v=wczdECcwRw0) and verify that you can pan with the mouse to move around in the scene while it's playing back

Widevine CDM (only on amd64)

Chromecast

  • On real hardware, connect to a google account and watch any video on youtube. Use the burger menu to start casting it to an existing chromecast device that's connected to e.g. a TV and verify that the video plays there (reference: bug #1621753)

Flash plugin support (deprecated, only on amd64)

  • Install the pepper plugin with sudo apt install pepperflashplugin-nonfree, browse to https://get.adobe.com/flashplayer/about/, and verify that you can activate the flash plugin by clicking on the puzzle piece on the page and that this displays information about the current version of the plugin

Password storage

  • Browse to https://mdn.mozillademos.org/en-US/docs/Web/HTML/Element/input/password$samples/A_simple_password_input, input any word in the password field, and verify there's a little key icon in the omnibox, next to the bookmark (star) icon. Click the key, input a username, and press Enter.

  • Browse to chrome://settings/passwords and verify that there is an entry for mdn.mozillademos.org with the corresponding username and password (obfuscated by default).

  • Open seahorse (the default system keyring application), and under the Connexion keyring verify that there's an entry called "Chromium Safe Storage".

Process/Merges/TestPlans/chromium (last edited 2019-08-02 07:34:16 by osomon)