Skip to content

Commit

Permalink
Merge pull request #392 from MeasureAuthoringTool/chicago_hotfix_MAT-…
Browse files Browse the repository at this point in the history
…7100-99

Chicago hotfix mat 7100 7099
  • Loading branch information
ethankaplan authored Dec 2, 2024
2 parents f498c01 + 1c6c597 commit 3558622
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ export default function ResultsSection({
))
)}
</tbody>
<ControlPointIcon color="primary" />
</table>
<EditCodeDetailsDialog
selectedCodeDetails={selectedCodeDetails}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ describe("Saved Codes section component", () => {
const editButton = getByTestId(`edit-code-0`);
expect(editButton).toBeInTheDocument();

const removeButton = getByTestId(`remove-code-0`);
const removeButton = getByTestId(`delete-code-0`);
expect(removeButton).toBeInTheDocument();

userEvent.click(editButton);
Expand Down Expand Up @@ -218,7 +218,7 @@ describe("Saved Codes section component", () => {
const editButton = getByTestId(`edit-code-0`);
expect(editButton).toBeInTheDocument();

const removeButton = getByTestId(`remove-code-0`);
const removeButton = getByTestId(`delete-code-0`);
expect(removeButton).toBeInTheDocument();

userEvent.click(removeButton);
Expand Down Expand Up @@ -251,7 +251,7 @@ describe("Saved Codes section component", () => {
);
await checkRows(2);

const removeButton = getByTestId(`remove-code-0`);
const removeButton = getByTestId(`delete-code-0`);
expect(removeButton).toBeInTheDocument();

userEvent.click(removeButton);
Expand Down Expand Up @@ -279,7 +279,7 @@ describe("Saved Codes section component", () => {
);
await checkRows(2);

const removeButton = getByTestId(`remove-code-0`);
const removeButton = getByTestId(`delete-code-0`);
expect(removeButton).toBeInTheDocument();

userEvent.click(removeButton);
Expand Down Expand Up @@ -313,7 +313,7 @@ describe("Saved Codes section component", () => {
);
await checkRows(2);

const removeButton = getByTestId(`remove-code-0`);
const removeButton = getByTestId(`delete-code-0`);
expect(removeButton).toBeInTheDocument();

userEvent.click(removeButton);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ export default function SavedCodesSubSection({
{canEdit ? (
<>
<ToolTippedIcon
tooltipMessage="Remove"
tooltipMessage="Delete"
buttonProps={{
"data-testid": `remove-code-${row.cell.row.id}`,
"aria-label": `remove-code-${row.cell.row.id}`,
"data-testid": `delete-code-${row.cell.row.id}`,
"aria-label": `delete-code-${row.cell.row.id}`,
size: "small",
onClick: (e) => {
setSelectedCodeDetails(
Expand Down

0 comments on commit 3558622

Please sign in to comment.