From e72f95ea3abd56e6f7062dfa5b1824d3de4eac0e Mon Sep 17 00:00:00 2001 From: Shun Miyazawa Date: Fri, 9 Aug 2024 06:49:34 +0000 Subject: [PATCH] test ci --- apps/app/playwright/30-search/search.spec.ts | 2 +- .../Admin/ElasticsearchManagement/StatusTable.jsx | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/app/playwright/30-search/search.spec.ts b/apps/app/playwright/30-search/search.spec.ts index 4b0e1af1d91..8175e69c5be 100644 --- a/apps/app/playwright/30-search/search.spec.ts +++ b/apps/app/playwright/30-search/search.spec.ts @@ -5,7 +5,7 @@ test('Successfully rebuild index', async({ page }) => { await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); - await expect(page.getByTestId('connection-status-badge-connected')).toHaveText('CONNECTED'); + await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); // await page.getByTestId('rebuild-index-button').click(); diff --git a/apps/app/src/client/components/Admin/ElasticsearchManagement/StatusTable.jsx b/apps/app/src/client/components/Admin/ElasticsearchManagement/StatusTable.jsx index 3160597af29..315357bef35 100644 --- a/apps/app/src/client/components/Admin/ElasticsearchManagement/StatusTable.jsx +++ b/apps/app/src/client/components/Admin/ElasticsearchManagement/StatusTable.jsx @@ -148,7 +148,11 @@ class StatusTable extends React.PureComponent { {t('full_text_search_management.connection_status')} - { isInitialized ? this.renderConnectionStatusLabels() : this.renderPreInitializedLabel() } + { isInitialized ? this.renderConnectionStatusLabels() : this.renderPreInitializedLabel() } + {t('full_text_search_management.indices_status')}