fix: Adds testId for context menu items and ids to some components.

Needed to revive the lobby tests.
This commit is contained in:
Дамян Минков
2022-04-08 14:11:37 -05:00
parent fcc8e98aad
commit 930852cd88
3 changed files with 9 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ class Notification extends AbstractNotification<Props> {
description = { this._renderDescription() }
icon = { this._mapAppearanceToIcon() }
id = { uid }
testId = { titleKey }
testId = { titleKey || this._getDescriptionKey() }
title = { title || t(titleKey, titleArguments) } />
);
}