From de0accd7a3705541fc06e664bdd472bd5202ed00 Mon Sep 17 00:00:00 2001 From: porink0424 Date: Wed, 10 Apr 2024 10:43:51 +0900 Subject: [PATCH] Improve test message: replace study_id -> study_name --- tslib/react/test/PlotHistory.test.tsx | 2 +- tslib/react/test/TrialTable.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tslib/react/test/PlotHistory.test.tsx b/tslib/react/test/PlotHistory.test.tsx index b235ec56..71235baf 100644 --- a/tslib/react/test/PlotHistory.test.tsx +++ b/tslib/react/test/PlotHistory.test.tsx @@ -24,7 +24,7 @@ describe("PlotHistory Tests", async () => { } for (const study of window.mockStudies) { - test(`PlotHistory (studyId: ${study.study_id})`, () => { + test(`PlotHistory (study name: ${study.study_name})`, () => { setup({ study, dataTestId: `plot-history-${study.study_id}` }) expect( screen.getByTestId(`plot-history-${study.study_id}`) diff --git a/tslib/react/test/TrialTable.test.tsx b/tslib/react/test/TrialTable.test.tsx index 992bf0ed..0ce0e206 100644 --- a/tslib/react/test/TrialTable.test.tsx +++ b/tslib/react/test/TrialTable.test.tsx @@ -24,7 +24,7 @@ describe("TrialTable Tests", async () => { } for (const study of window.mockStudies) { - test(`TrialTable (studyId: ${study.study_id})`, () => { + test(`TrialTable (study name: ${study.study_name})`, () => { setup({ study, dataTestId: `trial-table-${study.study_id}` }) expect( screen.getByTestId(`trial-table-${study.study_id}`)