diff --git a/eq-author/src/App/dataSettings/SupplementaryDataPage/index.js b/eq-author/src/App/dataSettings/SupplementaryDataPage/index.js index 4c3f7cdba8..e1694d7832 100644 --- a/eq-author/src/App/dataSettings/SupplementaryDataPage/index.js +++ b/eq-author/src/App/dataSettings/SupplementaryDataPage/index.js @@ -220,16 +220,17 @@ const SupplementaryDataPage = () => { {!tableData && ( <> - Select a supplementary dataset to link to + Select a supplementary dataset schema to link to - Linking to a supplementary dataset will allow you - to pipe data that respondents have provided in - previous questionnaires into question titles or - percentage answer type labels. + Linking to a supplementary dataset schema will + allow you to pipe data that respondents have + provided in previous questionnaires into question + titles or percentage answer type labels. - Only one dataset can be linked per questionnaire. + Only one dataset schema can be linked per + questionnaire. Select a survey ID { user, mocks ); - expect(getByText("Select a supplementary dataset to link to")).toBeTruthy(); expect( - getByText("Only one dataset can be linked per questionnaire.") + getByText("Select a supplementary dataset schema to link to") + ).toBeTruthy(); + expect( + getByText("Only one dataset schema can be linked per questionnaire.") ).toBeTruthy(); }); @@ -166,7 +168,7 @@ describe("Supplementary dataset page", () => { const select = getByTestId("list-select"); fireEvent.change(select, { target: { value: "121" } }); await waitFor(() => { - expect(getByText("Datasets for survey ID 121")).toBeTruthy(); + expect(getByText("Dataset schemas for survey ID 121")).toBeTruthy(); expect(getByTestId("datasets-table")).toBeTruthy(); expect(findAllByText("Date created")).toBeTruthy(); expect(getAllByTestId("dataset-row")).toBeTruthy(); diff --git a/eq-author/src/App/dataSettings/SupplementaryDataPage/schemaVersionsTable.js b/eq-author/src/App/dataSettings/SupplementaryDataPage/schemaVersionsTable.js index 0cd8bb6a3e..ffd3f02e5a 100644 --- a/eq-author/src/App/dataSettings/SupplementaryDataPage/schemaVersionsTable.js +++ b/eq-author/src/App/dataSettings/SupplementaryDataPage/schemaVersionsTable.js @@ -68,7 +68,7 @@ const SchemaVersionTable = ({ surveyId, linkSupplementaryData }) => { return ( <> - Datasets for survey ID {surveyId} + Dataset schemas for survey ID {surveyId} @@ -77,7 +77,7 @@ const SchemaVersionTable = ({ surveyId, linkSupplementaryData }) => { Date created - Link dataset + Link dataset schema