Skip to content

Commit

Permalink
[workspace] Add test id for workspace multi-deletion button (#8833)
Browse files Browse the repository at this point in the history
* add test id for workspace deleteion button

Signed-off-by: Qxisylolo <[email protected]>

* Changeset file for PR #8833 created/updated

---------

Signed-off-by: Qxisylolo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
Qxisylolo and opensearch-changeset-bot[bot] authored Nov 11, 2024
1 parent bdb2953 commit 995d986
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/8833.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Adds test id for workspace multi-deletion button ([#8833](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8833))
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,13 @@ export const WorkspaceListInner = ({
return (
isDashboardAdmin && (
<>
<EuiButton color="danger" iconType="trash" onClick={onClick} size="s">
<EuiButton
color="danger"
iconType="trash"
onClick={onClick}
size="s"
data-test-subj="multi-deletion-button"
>
Delete {selection.length} Workspace
</EuiButton>
{deletedWorkspaces && deletedWorkspaces.length > 0 && (
Expand Down

0 comments on commit 995d986

Please sign in to comment.