(CPP-42240) More exclusions for tests :(

(cherry picked from commit bca7330c65a30d2813d0b7c0800bb8c1f0bf5b5f)

IJ-CR-150195

GitOrigin-RevId: 97f494187a5cae0e687ba590950e6e5fb4303731
This commit is contained in:
Ivan Migalev
2024-11-24 21:57:52 +01:00
committed by intellij-monorepo-bot
parent e74dc0f2f0
commit 3653c3862b

View File

@@ -67,7 +67,8 @@ internal class WhatsNewShowOnStartCheckService(private val environment: WhatsNew
val whatsNewAction = environment.findAction()
if (whatsNewAction != null) {
if (!PlatformUtils.isPyCharm() // PY-77622
&& !PlatformUtils.isPhpStorm() /* WI-79830 */) {
&& !PlatformUtils.isPhpStorm() /* WI-79830 */
&& !application.isUnitTestMode /* unit test env has non-null URL, known fact, not an issue */) {
val urls = ExternalProductResourceUrls.getInstance()
if (urls.whatIsNewPageUrl != null) {
logger.error("ExternalProductResourceUrls::whatIsNewPageUrl is not null. Vision-based What's New is not supported and will be disabled.")