![]() this commit includes the following enhancements: * broken course card images are detected * deleted flickr images (redirects to image_unavailable.png) are treated as broken * the type and icon for each resource that has broken links are included in the list * broken links in each resource are grouped by the type of brokenness, with explanatory text * broken external URL items in modules are grouped by module * link text for bad links is shown, rather than just the URL test plan: - add the following to various objects in a course: - a flickr image (that isn't deleted or broken) - a flickr image where the name part of the URL has been changed (so it redirects to an "image_unavailable.png") - an image with an invalid hostname (so it is unreachable) - a broken image of some sort as the course card image - links to an unpublished item - some external URL module items in multiple modules with broken URLs - run the Course Link Validator (from Course Settings, right sidebar; ensure jobs are running) - make sure the good flickr image isn't reported as broken - make sure the broken flickr image is - make sure the results include the course card image - make sure the unpublished item appears when the "Show links to unpublished content" is checked - make sure the broken external URL module items appear under their corresponding modules closes ADMIN-2280 Change-Id: Ia30d128eb19244cca34f64dc716d7c6f5ef1cdf8 Reviewed-on: https://gerrit.instructure.com/173440 Reviewed-by: Carl Kibler <ckibler@instructure.com> Tested-by: Jenkins QA-Review: Anju Reddy <areddy@instructure.com> Product-Review: Christi Wruck |
||
---|---|---|
.. | ||
lib | ||
spec | ||
Gemfile | ||
Rakefile | ||
canvas_http.gemspec | ||
test.sh |