fix failures in webplatform docs tests
Merge pull request #4616 from adobe/jasonsanjose/webplatformdocs-unittests

fix failures in webplatform docs tests