- Direct Known Subclasses:
- TestCriticalCSS, TestCriticalJS
public abstract class AbstractTestCriticalResources
extends BaseJiraWebTest
Abstract test class for detecting whether resources loaded during page load are in fact used. This class helps to
prevent adding unnecessary stylesheets and javascript files to HEAD section of document.
On test failure, a developer can either fix it by deferring resource loading
or adding an entry to the appropriate exempt resource list file. Instructions for either option
are listed in the test failure message.
- Since:
- 7.0