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

[ciGroup6 fix] add data-test-subj for refresh data button in discover #8782

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

ananzh
Copy link
Member

@ananzh ananzh commented Nov 1, 2024

Description

ciGroup6 sometimes failed to find refresh data button though this element is on DOM.

Screenshot 2024-10-31 at 7 58 20 PM

I tried a different way to find the element opensearch-project/opensearch-dashboards-functional-test#1615 but seems still flaky. Among 3 times running, see 1 failure and 2 success. Seems the ultimate robust way to fix it is to add data-test-subj. I also test 3 times, all success.

Issues Resolved

NA

Screenshot

Testing the changes

Changelog

  • skip

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@github-actions github-actions bot added the Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry label Nov 1, 2024
@ananzh ananzh removed the Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry label Nov 1, 2024
Copy link

codecov bot commented Nov 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.77%. Comparing base (3381dcd) to head (bbd6d56).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8782      +/-   ##
==========================================
+ Coverage   60.75%   60.77%   +0.01%     
==========================================
  Files        3798     3798              
  Lines       90690    90690              
  Branches    14277    14277              
==========================================
+ Hits        55101    55115      +14     
+ Misses      32090    32076      -14     
  Partials     3499     3499              
Flag Coverage Δ
Linux_1 29.05% <ø> (ø)
Linux_2 56.39% <ø> (ø)
Linux_3 37.61% <ø> (ø)
Linux_4 29.82% <ø> (ø)
Windows_1 29.09% <ø> (+0.01%) ⬆️
Windows_2 56.34% <ø> (ø)
Windows_3 37.61% <ø> (ø)
Windows_4 29.83% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ruanyl ruanyl merged commit 758e4fb into opensearch-project:main Nov 5, 2024
78 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 5, 2024
Signed-off-by: Anan Zhuang <[email protected]>
(cherry picked from commit 758e4fb)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Hailong-am pushed a commit that referenced this pull request Nov 7, 2024
(cherry picked from commit 758e4fb)

Signed-off-by: Anan Zhuang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants