test plan:
* enable page views
* create a course
* add an inlineable file (such as *.html)
* add a module item referencing the file
* as a course user, visit the module item (which
should display the file in an iframe)
* inspect the iframe element and note the address
* visit the address in a browser without the same
user session (e.g. in incognito mode)
(NOTE: this is to simulate prod behavior, where
it redirects to another domain where the user would not
normally be logged in)
* visit the course user access report
* should have logged access to the file
* add a previewable file to the course (such as an image)
* in new files, click on the file to show a preview
* should also have logged access to the file in the
user access report
closes #CNVS-17697
Change-Id: I0746a417be10ad3d446741d199e942b60490d766
Reviewed-on: https://gerrit.instructure.com/46613
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>