Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAT-7100a change remove to delete #391

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading