Testing the manifest
APPNAME / SHORT NAME - Across devices
ICONS - Across devices
LAUNCH URL - Across devices and browsers
INSTALLATION - Options. Cached data and limits // across devices
LOOK AND FEEL - Background. Colour scheme // across devices and browsers
ENTRY & EXIT - URLs // across browsers
The Security “bit”
Internetfacing Service workers can only be deployed over HTTPS
This is good
Deploy them locally without a TLS certificate for testing (http)
! Repeat testing over HTTPS
Testing the serviceworkers
Installs - interrupt them!
Caching - verify static assets
Activations / Updates - attempt an update with SW in use
States - Ensure memory saving termination
DevTools - Fetch new dynamic content!
Testing Accessibility
Using Audittools such as
Lighthouse, Axe or WAVE.
Running an accessibility audit using
the WCAG 2.1 criteria.
Progressive web apps have a far reach and are accessible to all.
21.
Lighthouse can berun from the dev tools or as part of the CI to
provide an accessibility score.
Axe can be run from the browser to identify
specific issues and highlight them on the screen.
WAVE run from the browser highlights issues on screen and can
be used to strip the CSS from a site.
Android -
WebAPK file
generated
iOS-
Light version of Safari
is installed
desktop - No
tabs or address
bar. Full window
width.
Touchscreen
- Invisible
elements
not
selectable
Device-iveness
27.
Testing for specificdevices
App launcher and settings
Application Pack Updates
Intent filters
Hardware permissions
Murder most foul!
Keep your usersin mind
> 3G - Ukraine and Guyana
- Estimated 4bn people offline
- Not every browser is supported
Point in time truth:
https://jakearchibald.github.io/isserviceworkerready/index.html#moar
30.
Any questions?
Special TYto the awesome SlidesCarnival people who created this slides template
Ask them