-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Migrated agg table karma tests to jest #71224
Conversation
@elasticmachine merge upstream |
@elasticmachine merge upstream |
Pinging @elastic/kibana-app (Team:KibanaApp) |
@elasticmachine merge upstream |
$cellContent = $cell.find('[data-cell-content]'); | ||
// in jest tests 'angular' is using jqLite. In jqLite the method find lookups only by tags. | ||
// Because of this, we should change a way how we get cell content so that tests will pass. | ||
$cellContent = angular.element($cell[0].querySelector('[data-cell-content]')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as an alternative to your solution, we can use a not-so-popular tag (e.g. <section>
) for an [data-cell-content]
element
But I'm ok with this solution too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
* Migrated karma tests to jest * Add comment Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Migrated karma tests to jest * Add comment Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Part of #57813
Summary
Migrated agg table karma tests to jest
Checklist
Delete any items that are not applicable to this PR.
For maintainers