Improve test message: replace study_id -> study_name

This commit is contained in:
porink0424
2024-04-10 10:43:51 +09:00
parent 2f135bec01
commit de0accd7a3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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}`)
+1 -1
View File
@@ -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}`)