public class TestCriticalJS extends AbstractTestCriticalResources
In case this test fails for you, defer loading of offending resource, exceptions can be added to appropriate text file.
Check CriticalResources
for more details on how unused resources are detected.
COMMON_CSS, COMMON_JS
jiraWebTestClassRules, webTestRule
backdoor, jira, logger, mailHelper, pageBinder
Constructor and Description |
---|
TestCriticalJS() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpClass() |
void |
tearDown() |
static void |
tearDownClass() |
void |
testCommonResources()
Visits almost empty page which pulls in common resources.
|
void |
testDashboardResources() |
void |
testIssueSearchResources() |
void |
testViewIssueResources() |
assertCriticalNetworkRequests, assertNoErrors, getCommonPageURL, setProperty, unsetProperty, verifyResources, verifyResources, visitPage
getBackdoor, getBaseClassRule, getBaseRule
public void testViewIssueResources() throws IOException
IOException
public void testIssueSearchResources() throws IOException
IOException
public void testDashboardResources() throws IOException
IOException
public void testCommonResources() throws IOException
IOException
Copyright © 2002-2024 Atlassian. All Rights Reserved.