Alerting: Fix typo ('Alert manager' -> 'Alertmanager') (#86608)

* Alerting: Fix typo ('Alert manager' -> 'Alertmanager')

* fix front-end test
This commit is contained in:
Santiago 2024-04-19 20:53:51 +02:00 committed by GitHub
parent 86a9533863
commit 9ed616a7b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ export function AlertManagerManualRouting({ alertManager }: AlertManagerManualRo
<Stack direction="row" alignItems="center">
<div className={styles.firstAlertManagerLine}></div>
<div className={styles.alertManagerName}>
Alert manager:
Alertmanager:
<img src={alertManager.imgUrl} alt="Alert manager logo" className={styles.img} />
{alertManagerName}
</div>

View File

@ -42,8 +42,8 @@ const ui = {
routeMatchingInstances: byTestId('route-matching-instance'),
loadingIndicator: byText(/Loading/),
previewButton: byRole('button', { name: /preview routing/i }),
grafanaAlertManagerLabel: byText(/alert manager:grafana/i),
otherAlertManagerLabel: byText(/alert manager:other_am/i),
grafanaAlertManagerLabel: byText(/alertmanager:grafana/i),
otherAlertManagerLabel: byText(/alertmanager:other_am/i),
seeDetails: byText(/see details/i),
details: {
title: byRole('heading', { name: /routing details/i }),

View File

@ -48,7 +48,7 @@ function NotificationPreviewByAlertManager({
<div className={styles.firstAlertManagerLine}></div>
<div className={styles.alertManagerName}>
{' '}
Alert manager:
Alertmanager:
<img src={alertManagerSource.imgUrl} alt="" className={styles.img} />
{alertManagerSource.name}
</div>