Acceptance Criteria

  • Info about supported devices/browsers checked in pwa docs (https://www.drupal.org/project/pwa).
  • Supporting of PWA for different devices and browsers was checked using browserstack.
  • List of supported devices/browser was defined and added into ANU LMS docs.
  • The case when PWA is enabled, but browser/device doesn't support it is properly handled by ANU LMS. No offline functionality was displayed.
  • Test the case with "add app icon to home screen" on real mobile device with disabled network was passed, nothing broke (otherwise a story for it was created).
  • New docs section in ANU LMS "How easily is to configure PWA" is added.
  • Test the case for courses with linear progress in offline mode was passed, nothing broke (otherwise a story for it was created).
  • Test the cases for submitting assessments / lessons contain questions in offline mode were passed, nothing broke (otherwise a story for it was created).
  • Checked that big courses (50+ lessons) are working fine.
  • Sub-stories for all detected problems/bugs were created.

Issue fork anu_lms-3315710

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

beloglazov91 created an issue. See original summary.

beloglazov91’s picture

A brief list of browsers that support Service Worker and Manifest (from PWA):

Chrome/Opera
Firefox
Edge 17+
Safari macOS 11.1 / iOS 11.3+
UC Browser 11.8+
Samsung Internet 4+

beloglazov91’s picture

Tested with browserstack.com

Desktop Platforms:
Firefox 70+
Chrome 69+
Opera 55+
Edge 80+

Mobile Platforms:
Iphone X+
Ipad 8+

Error: .flatMap isn't function in earlier versions of browsers.

beloglazov91’s picture

Test the case with "add app icon to home screen" on real mobile device with disabled network was passed, nothing broke (otherwise a story for it was created).

That working fine.

beloglazov91’s picture

Test the cases for submitting assessments / lessons contain questions in offline mode were passed, nothing broke (otherwise a story for it was created).

That working fine, anu doesn't allow submit answers in offline mode ("You can't submit quizzes while offline")

beloglazov91’s picture

Test the case for courses with linear progress in offline mode was passed, nothing broke (otherwise a story for it was created).

That working fine.

beloglazov91’s picture

Checked that big courses (50+ lessons) are working fine.

Couldn't reproduce any problems with 65 lessons.

beloglazov91’s picture

Assigned: beloglazov91 » Unassigned
Status: Active » Needs review

spleshka’s picture

Status: Needs review » Fixed

Great job, thanks Alexey!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.