Skip to content
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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## [`main`](https://github.com/elastic/eui/tree/main)

No public interface changes since `48.1.0`.
- Added a `data-test-subj` attribute to `EuiDataGrid` cell expansion buttons ([#5643](https://github.com/elastic/eui/pull/5643))
- Added a `data-test-selected` attribute to `EuiSelectable` list options ([#5643](https://github.com/elastic/eui/pull/5643))

## [`48.1.0`](https://github.com/elastic/eui/tree/v48.1.0)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ describe('EuiDataGridCellActions', () => {
aria-hidden={true}
className="euiDataGridRowCell__actionButtonIcon"
color="primary"
data-test-subj="euiDataGridCellExpandButton"
display="fill"
iconSize="s"
iconType="expandMini"
Expand Down
1 change: 1 addition & 0 deletions src/components/datagrid/body/data_grid_cell_actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const EuiDataGridCellActions = ({
<EuiButtonIcon
display="fill"
className="euiDataGridRowCell__actionButtonIcon"
data-test-subj="euiDataGridCellExpandButton"
color="primary"
iconSize="s"
iconType="expandMini"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ exports[`EuiSelectable custom options with data 1`] = `
aria-selected="false"
aria-setsize="3"
class="euiSelectableListItem euiSelectableListItem--paddingSmall"
data-test-selected="false"
id="generated-id_option-0"
role="option"
style="position:absolute;left:0;top:0;height:32px;width:100%"
Expand Down Expand Up @@ -57,6 +58,7 @@ exports[`EuiSelectable custom options with data 1`] = `
aria-selected="false"
aria-setsize="3"
class="euiSelectableListItem euiSelectableListItem--paddingSmall"
data-test-selected="false"
id="generated-id_option-1"
role="option"
style="position:absolute;left:0;top:32px;height:32px;width:100%"
Expand Down Expand Up @@ -84,6 +86,7 @@ exports[`EuiSelectable custom options with data 1`] = `
aria-selected="false"
aria-setsize="3"
class="euiSelectableListItem euiSelectableListItem--paddingSmall"
data-test-selected="false"
id="generated-id_option-2"
role="option"
style="position:absolute;left:0;top:64px;height:32px;width:100%"
Expand Down Expand Up @@ -168,6 +171,7 @@ exports[`EuiSelectable errorMessage prop does not render the message when not de
aria-selected="false"
aria-setsize="3"
class="euiSelectableListItem euiSelectableListItem--paddingSmall"
data-test-selected="false"
data-test-subj="titanOption"
id="generated-id_option-0"
role="option"
Expand Down Expand Up @@ -196,6 +200,7 @@ exports[`EuiSelectable errorMessage prop does not render the message when not de
aria-selected="false"
aria-setsize="3"
class="euiSelectableListItem euiSelectableListItem--paddingSmall"
data-test-selected="false"
id="generated-id_option-1"
role="option"
style="position:absolute;left:0;top:32px;height:32px;width:100%"
Expand Down Expand Up @@ -223,6 +228,7 @@ exports[`EuiSelectable errorMessage prop does not render the message when not de
aria-selected="false"
aria-setsize="3"
class="euiSelectableListItem euiSelectableListItem--paddingSmall"
data-test-selected="false"
id="generated-id_option-2"
role="option"
style="position:absolute;left:0;top:64px;height:32px;width:100%"
Expand Down
Loading