Skip to content

[9.2] [Unified Data Table] Split test into 3 smaller tests (#245045)#245200

Merged
AlexGPlay merged 2 commits into
elastic:9.2from
AlexGPlay:backport/9.2/pr-245045
Dec 5, 2025
Merged

[9.2] [Unified Data Table] Split test into 3 smaller tests (#245045)#245200
AlexGPlay merged 2 commits into
elastic:9.2from
AlexGPlay:backport/9.2/pr-245045

Conversation

@AlexGPlay
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

## Summary

Closes elastic#234829

Right now we have the `should show the reset width button only for
absolute width columns, and allow resetting to default width` test that
is asserting 3 different things:
- When resetting the width of the time column from absolute it goes back
to the default
- When resetting the width of a column that isn't the time column from
absolute it goes back to the default
- A column without absolute width can't be reset

This means that we can split the test into 3 smaller and more focused
tests for each of those scenarios. This should help with the timeout as
we are no longer waiting for a big one.

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit f7266e7)

# Conflicts:
#	src/platform/packages/shared/kbn-unified-data-table/src/components/data_table.test.tsx
@AlexGPlay AlexGPlay added the backport This PR is a backport of another PR label Dec 4, 2025
@AlexGPlay AlexGPlay enabled auto-merge (squash) December 4, 2025 08:33
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #30 / Cases - group 1 View case Assignees field logs in with default user and creates case before each removes an assigned user

Metrics [docs]

✅ unchanged

History

@AlexGPlay AlexGPlay merged commit 53065f4 into elastic:9.2 Dec 5, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants