Add @IJIgnore annotation to 'SearchEverywhereTest.test top hit priority' test to exclude it from the Aggregator

GitOrigin-RevId: 5b499c27ba8f376735142d6f864a01d0a86d73e0
This commit is contained in:
Nikolay Sandalov
2023-12-11 12:59:32 +00:00
committed by intellij-monorepo-bot
parent 5147f4eab6
commit ea30bbf4d2
@@ -3,6 +3,7 @@ package com.intellij.java.navigation
import com.intellij.ide.actions.searcheverywhere.*
import com.intellij.ide.util.gotoByName.GotoActionTest
import com.intellij.idea.IJIgnore
import com.intellij.openapi.actionSystem.AbbreviationManager
import com.intellij.openapi.actionSystem.ActionManager
import com.intellij.openapi.actionSystem.AnAction
@@ -136,7 +137,7 @@ class SearchEverywhereTest : LightJavaCodeInsightFixtureTestCase() {
}
}
@IJIgnore(issue = "IDEA-336671")
fun `test top hit priority`() {
mixingResultsFlag.set(true)
@@ -170,7 +171,8 @@ class SearchEverywhereTest : LightJavaCodeInsightFixtureTestCase() {
future = ui.findElementsForPattern("bravo")
bravoResult = waitForFuture(future, SEARCH_TIMEOUT)
assertEquals(listOf(action2, class1, matchedAction1, class2), bravoResult.filter { it in testElements })
} finally {
}
finally {
actions.forEach { (key, _) -> actionManager.unregisterAction(key) }
abbreviationManager.removeAllAbbreviations("ia2")
}